﻿/* Sofitalib custom footer */
body.sofitalib-custom-layout .site-footer,
body.sofitalib-custom-layout footer.site-footer,
body.sofitalib-custom-layout .site-footer:not(.dynamic-footer),
body.sofitalib-custom-layout .footer-inner,
body.sofitalib-custom-layout .wp-block-template-part.footer {
    display: none !important;
}

body .sofitalib-site-footer-wrap {
    background: #fff;
    border-top: 1px solid #ececec;
    margin-top: 44px;
    width: 100%;
}

body .sofitalib-site-footer {
    color: #111;
    margin: 0 auto;
    max-width: none;
    padding: 34px clamp(14px, 2.5vw, 34px) 24px;
}

body .sofitalib-footer-upper {
    column-gap: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
}

body .sofitalib-footer-title {
    color: #111;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

body .sofitalib-footer-address {
    color: #333;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    margin: 0;
}

body .sofitalib-footer-address span {
    display: block;
}

body .sofitalib-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body .sofitalib-footer-contact-link {
    align-items: center;
    color: #111;
    display: inline-flex;
    font-size: 15px;
    font-weight: 400;
    gap: 8px;
    line-height: 1.45;
    text-decoration: none;
}

body .sofitalib-footer-contact-link.is-underlined span:last-child {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

body .sofitalib-footer-contact-link:hover {
    opacity: 0.75;
}

body .sofitalib-footer-icon {
    color: #111;
    display: inline-flex;
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

body .sofitalib-footer-icon svg {
    display: block;
    height: 16px;
    width: 16px;
}

body .sofitalib-footer-middle {
    align-items: center;
    border-top: 1px solid #ececec;
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
    padding-top: 18px;
}

body .sofitalib-footer-social {
    align-items: center;
    color: #111;
    display: inline-flex;
    height: 22px;
    justify-content: center;
    text-decoration: none;
    width: 22px;
}

body .sofitalib-footer-social svg {
    display: block;
    height: 22px;
    width: 22px;
}

body .sofitalib-footer-social:hover {
    opacity: 0.72;
}

body .sofitalib-footer-lower {
    align-items: center;
    border-top: 1px solid #ececec;
    color: #2b2b2b;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
}

body .sofitalib-footer-divider {
    color: #777;
}

body .sofitalib-whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 50%;
    bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    color: #fff;
    display: inline-flex;
    height: 62px;
    justify-content: center;
    position: fixed;
    right: 18px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    width: 62px;
    z-index: 10010;
}

body .sofitalib-whatsapp-float:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    opacity: 0.95;
    transform: translateY(-1px);
}

body .sofitalib-whatsapp-float-icon {
    display: inline-flex;
    height: 34px;
    width: 34px;
}

body .sofitalib-whatsapp-float-icon svg {
    display: block;
    height: 34px;
    width: 34px;
}

@media (max-width: 767px) {
    body .sofitalib-site-footer {
        padding: 26px 14px 18px;
    }

    body .sofitalib-footer-upper {
        grid-template-columns: 1fr;
        row-gap: 18px;
    }

    body .sofitalib-footer-title {
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    body .sofitalib-footer-contact-link,
    body .sofitalib-footer-address {
        font-size: 14px;
    }

    body .sofitalib-footer-middle {
        margin-top: 18px;
        padding-top: 14px;
    }

    body .sofitalib-footer-lower {
        font-size: 13px;
        gap: 6px;
        margin-top: 12px;
        padding-top: 12px;
    }

    body .sofitalib-whatsapp-float {
        bottom: 16px;
        height: 56px;
        right: 14px;
        width: 56px;
    }

    body .sofitalib-whatsapp-float-icon {
        height: 30px;
        width: 30px;
    }

    body .sofitalib-whatsapp-float-icon svg {
        height: 30px;
        width: 30px;
    }
}

