/* SOCIAL */
.footer-social {
    line-height: 1;
    background: var(--color-grey-light);
    padding: 32px 0;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 50px;
    background: var(--color-white);
    border-radius: 0 0 50% 50%;
}

.footer-social-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-wrapper a {
    display: block;
    margin: 0 15px;
}

.footer-social-wrapper a:hover,
.footer-social-wrapper a:focus {
    opacity: 0.75;
}

.footer-social-wrapper img {
    width: auto;
    height: 20px;
    object-fit: contain;
}

/* /SOCIAL */


/* MAIN FOOTER */
section.main-footer {
    background: var(--color-primary);
    padding: 32px 0 24px;
}

.main-footer-widgets {
    display: flex;
    flex-wrap: wrap;
    /* margin: 100px -15px 60px; */
}

.footer-widget {
    width: calc(20% - 30px);
    padding: 15px;
}

.footer-links-heading {
    font-size: var(--font-rg);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin: 0 0 10px;
    line-height: 1;
}

.footer-links-heading a {
    color: inherit;
    cursor: pointer;
}

.footer-links-heading a:hover {
    opacity: 0.8;
}

.footer-links-subheading {
    font-size: var(--font-rg);
    font-weight: var(--font-extrabold);
    color: var(--color-white);
    margin-bottom: 10px;
}

.footer-widget .menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-widget .menu-item > a {
    display: inline-block;
    font-size: var(--font-rg);
    line-height: 1.5;
    color: var(--color-white);
    font-weight: var(--font-thin);
    margin-bottom: 0;
}

.footer-widget .footer-contact,
.footer-widget .footer-contact a {
    display: block;
    font-size: var(--font-rg);
    color: var(--color-white);
    word-break: break-word;
    margin-bottom: 10px;
    font-weight: var(--font-thin);
}

.footer-widget .menu-item>a:hover,
.footer-widget .menu-item>a:focus,
.footer-widget .footer-contact a:hover,
.footer-widget .footer-contact a:focus {
    opacity: 0.75;
}

.footer-widget .footer-contact p {
    margin: 0;
}

.footer-widget .footer-contact strong {
    display: block;
    font-size: var(--font-rg);
    color: var(--color-white);
    word-break: break-word;
    margin: 10px 0;
}

.footer-widget .footer-contact br {
    display: none;
}

@media (max-width: 768px) {
    section.main-footer {
        padding-bottom: 10px;
    }

    .footer-links-heading,
    .footer-widget .menu-item > a,
    .footer-widget .footer-contact,
    .footer-widget .footer-contact a,
    .footer-widget .footer-contact strong {
        font-size: var(--font-xs);
    }

    .footer-widget .footer-contact a {
        margin-bottom: 2px;
    }
}

/* /MAIN FOOTER */

/* NEWSLETTER*/

section.footer-newsletter {
    margin-block: 2rem;
}

.footer-newsletter-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

span.footer-newsletter-text {
    color: var(--color-primary);
    font-weight: var(--font-bold);
    font-size: var(--font-rg);
}

.footer-newsletter-btn.button {
    min-width: 150px;
    border-radius: var(--border-radius-md);
    text-align: center;
}

@media screen and (max-width:768px) {
    section.footer-newsletter {
        margin-block: 2.5rem;
    }

    .footer-newsletter-wrapper {
        gap: 15px;
    }
    
    .footer-newsletter-btn.button {
        min-width: 80px;
    }
}

/* INFO FOOTER */
.footer-info {
    font-size: var(--font-sm);
    margin-bottom: 32px;
}

.footer-agreement {
    text-align: center;
    color: var(--color-text);
    font-weight: var(--font-thin);
}

.footer-agreement p {
    margin: 0;
}

.footer-agreement a {
    color: inherit;
    font-weight: var(--font-bold);
}

.footer-agreement a:hover,
.footer-agreement a:focus {
    opacity: 0.75;
}

/* /INFO FOOTER */


/* FOOTER BOTTOM */
.footer-bottom {
    background-color: var(--color-grey-light);
    /* color: var(--color-highlight); */
}

.footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -20px;
}

.footer-bottom-col {
    padding: 10px 0;
}

.footer-bottom-col:not(:last-of-type) .footer-bottom-text::after {
    content: "";
    width: 2px;
    height: 30%;
    background: var(--color-primary);
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    top: 50%;
}

.footer-bottom .footer-bottom-text {
    display: inline-block;
    font-size: var(--font-sm);
    font-weight: var(--font-bold);
    color: var(--color-primary);
    text-align: center;
    padding: 15px 20px;
    position: relative;
}

.footer-bottom a.footer-bottom-text:hover,
.footer-bottom a.footer-bottom-text:focus {
    opacity: 0.75;
}

/* /FOOTER BOTTOM */


@media (max-width: 921px) {
    .main-footer-wrapper {
        background-size: contain;
    }

    .main-footer-widgets {
        margin: 50px -15px 30px;
    }

    .footer-widget {
        width: calc(50% - 30px);
    }

    .footer-widget:last-child {
        width: 100%;
    }

    .footer-bottom .footer-bottom-text {
        font-size: var(--font-xxs);
        padding: 15px 10px;
    }
}


@media (max-width: 768px) {
    .main-footer-widgets {
        margin-top: 15px;
    }

    .footer-newsletter-wrapper {
        flex-direction: column;
    }

    .footer-bottom-col:not(:last-of-type) .footer-bottom-text::after {
        display: none;
    }

    .footer-bottom {
        margin-bottom: 2rem;
    }
}


@media (max-width: 768px) {
    .footer-info {
        font-size: var(--font-xxs);
        margin-bottom: 2.5rem;
    }

    .footer-widget {
        padding: 10px 15px;
    }

    .footer-bottom-row {
        display: block;
        text-align: center;
        padding: 2rem 20px;
        margin-bottom: 3rem;
    }

    .footer-bottom-col {
        padding: 0;
    }

    .footer-bottom .footer-bottom-text {
        padding: 0;
    }
}

/* ===== Sticky Menu ===== */
.sticky-menu {
    position: fixed;
    z-index: 999;
    top: 50%;
    right: 0;
    /* transform: translateY(-50%); */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-menu--hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
}

@media (max-width: 768px) {
    .sticky-menu--hidden {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

.sticky-menu__list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    background-color: var(--color-primary);
    border-top-left-radius: var(--border-radius-xs);
    border-bottom-left-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.heatable-checkout .sticky-menu__list,
.heatable-thankyou .sticky-menu__list {
    background: var(--heatable-color);
}

.pacifica-checkout .sticky-menu__list,
.pacifica-thankyou .sticky-menu__list {
    background: var(--pacifica-color);
}

.theperfectfix-checkout .sticky-menu__list,
.theperfectfix-thankyou .sticky-menu__list {
    background: var(--theperfectfix-color);
}

.heatable-boiler-checkout .sticky-menu__list,
.heatable-boiler-thankyou .sticky-menu__list {
    background: var(--color-heatable-primary);
}

.sticky-menu__list li {
    margin: 0;
    position: relative;
}

.sticky-menu__list li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.75rem;
    right: 1rem;
    bottom: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.35);
}

.sticky-menu__list a {
    display: block;
    padding: 0.5rem 1rem .5rem 1.75rem;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--font-sm);
    font-weight: var(--font-semibold);
    text-decoration: none;
    white-space: nowrap;
    text-align: right;
    transition: opacity 0.2s ease;
}

.sticky-menu__list a:hover,
.sticky-menu__list a:focus,
.sticky-menu__list .current-menu-item>a {
    opacity: 0.75;
    color: var(--color-white);
}

@media (max-width: 768px) {
    .zsiq_theme1.zsiq_floatmain,
    .zsiq-float {
        bottom: 55px !important;
    }

    .sticky-menu {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        transform: none;
        max-width: none;
    }

    .sticky-menu__list {
        flex-direction: row;
        padding: 0;
        align-items: stretch;
        justify-content: space-around;
        border-radius: var(--border-radius-md) var(--border-radius-xs) 0 var(--border-radius-xs);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        width: auto;
    }

    .sticky-menu__list li {
        flex: 1;
    }

    .sticky-menu__list a {
        padding: 0.875rem 0.5rem;
        text-align: center;
        font-size: var(--font-xxs);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sticky-menu__list li:not(:last-child)::after {
        left: auto;
        right: 0;
        top: 25%;
        bottom: 25%;
        width: 1px;
        height: auto;
        background-color: rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 380px) {
    .sticky-menu__list a {
        padding: 0.75rem 0.25rem;
        font-size: var(--font-xxxs);
    }
}