/* === Загальний блок футера === */
.footer {
    font-family: "Arsenal", Helvetica, sans-serif;
    color: #363636;
    font-size: 14px;
    line-height: 1.5;
    background-color: #eeeae5;
}

/* === Верхній блок: соцмережі, головне меню, платіжки === */
.footer-top {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-socials a {
    display: inline-block;
    margin-right: 12px;
}

.footer-socials img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* Головне меню */
.footer-main-menu {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-main-menu li a {
    font-family: "Arsenal", Helvetica;
    font-weight: 400;
    color: #363636;
    font-size: 18px;
    line-height: normal;
    text-decoration: none;
}

.footer-main-menu li a:hover {
    text-decoration: underline;
}

/* Платіжки */
.footer-payments img {
    width: 42px;
    height: auto;
    margin-left: 12px;
}

/* === Меню доставки === */
.footer-delivery {
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.footer-delivery-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-delivery-menu li a {
    font-family: "Arsenal", Helvetica;
    font-weight: 400;
    color: #363636;
    font-size: 16px;
    text-align: center;
    line-height: normal;
    text-decoration: none;
}

.footer-delivery-menu li a:hover {
    text-decoration: underline;
}

/* === Центральна частина === */
.footer-center {
    text-align: center;
    padding: 30px 0;
}

.footer-logo img {
    max-width: 160px;
    height: auto;
    margin-bottom: 15px;
}

.footer-center .btn {
    padding: 14px 40px;
    background: #fff;
    border: 1px solid #ccc;
    font-weight: 500;
    font-size: 16px;
    color: #363636;
    margin-top: 20px;
    font-family: "Montserrat", Helvetica, sans-serif;
    transition: background-color 0.3s ease;
}

.footer-center .btn:hover {
    background-color: #eee;
}

/* === Контакти === */
.footer-contacts {
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact-item {
    flex: 1 1 33%;
    padding: 10px;
}

.footer-contact-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.footer-contact-item a,
.footer-contact-item span {
    display: block;
    font-family: "Arsenal", Helvetica;
    font-weight: 400;
    color: #363636;
    font-size: 16px;
    text-decoration: none;
}

.footer-contact-item a:hover {
    text-decoration: underline;
}

/* === Низ футера === */
.footer-bottom {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer-copy {
    font-family: "Arsenal", Helvetica;
    font-weight: 400;
    color: #363636;
    font-size: 16px;
}

.footer-privacy a {
    font-family: "Arsenal", Helvetica;
    font-weight: 400;
    color: #363636;
    font-size: 16px;
    line-height: normal;
    text-decoration: none;
}

.footer-privacy a:hover {
    text-decoration: underline;
}
.footer-callback-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: #fff;
    border: 1px solid #ccc;
    font-family: "Montserrat", Helvetica, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #363636;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.footer-callback-btn:hover {
    background-color: #eee;
}

/* === Мобільна адаптація === */
@media (max-width: 767.98px) {
    .footer-top,
    .footer-delivery,
    .footer-contacts,
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-main-menu,
    .footer-delivery-menu {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }
    .footer-socials {
        justify-content: center;
        margin-bottom: 10px;
    }

    .footer-payments {
        justify-content: center;
        margin-top: 10px;
    }

    .footer-payments img {
        width: 32px;
        margin: 0 6px;
    }

    .footer-center .btn {
        width: 90%;
        max-width: 300px;
    }

    .footer-logo img {
        max-width: 120px;
    }

    .footer-copy,
    .footer-privacy {
        text-align: center;
        margin-top: 10px;
    }
}
