.wp-footer-widgets {
    padding-top: var(--wp--custom--spacing--block-footer-gap);
    padding-bottom: var(--wp--custom--spacing--block-footer-gap);

    .wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
        position: relative;
        padding: 5px 0;


    }
}

.wp-block-footer.wp-block-site-generator {
    font-size: var(--wp--preset--font-size--extra-small);
    margin-top: 0;
    padding-top: var(--wp--custom--spacing--block-footer-gap);
    position: relative;

    &:before {
        content: "";
        background: var(--wp--preset--color--dark-color);
        height: 1px;
        left: 0;
        opacity: 0.1;
        position: absolute;
        top: 0;
        width: 100%;
    }
}

.wp-block-footer.wp-block-site-generator a {
    text-decoration: none;

    &:hover,
    &:focus {
        color: var(--wp--preset--color--link-color);
    }
}

.wp-block-footer .wp-block-widget:not(:last-child),
.wp-block-footer .wp-block-widget>*:not(:last-child),
.wp-block-footer .wp-block-latest-posts__list>li:not(:last-child) {
    margin-bottom: var(--wp--custom--spacing--extra-small);
}

.wp-block-widget-area .wp-block-widget figure {
    line-height: 0;
    margin-bottom: 0;
}

.wp-footer-widgets .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    color: var(--wp--preset--color--title);
}

.wp-footer-widgets .wp-block-navigation {
    margin-block-start: 0.5rem;

    &.is-vertical {
        gap: 0.45rem;
    }

    &.is-horizontal {
        gap: 2.45rem;

    }
}

.wp-block-html .newsletter-form .wp-block-button button.wp-block-button__link {
    background-color: var(--wp--preset--color--footer-button) !important;
    color: var(--wp--preset--color--light) !important;
}

.wp-block-newsletter {
    form {
        display: flex;

        input {
            background-color: var(--wp--preset--color--secondary-text);
            border: 1px solid var(--wp--preset--color--secondary-text);
            color: var(--wp--preset--color--light);
            border-radius: 0;
            height: 50px;

            &::placeholder {
                color: var(--wp--preset--color--light);
                opacity: 0.3;
            }
        }

        button {
            background-color: var(--wp--preset--color--footer-button) !important;
            color: var(--wp--preset--color--light);
            border: none;
            border-radius: 0;
            height: 50px;
            min-width: 120px;
            font-size: 14px;
            text-transform: uppercase;
            cursor: pointer;
        }
    }
}

.wp-block-footer:not(.bottom-footer).wp-block-site-generator>div {
    gap: 0.25rem 0.5rem;
}

.block-editor-block-list__block .back-to-top .wp-block-button .wp-block-button__link {
    padding: 27px 3px 4px 14px;
}

.wp-block-footer-phone,
.wp-block-footer-location {
    display: flex;

    svg {
        width: 38px;
        flex-shrink: 0;
        margin-right: 21px !important;
        height: 38px;

    }

    .wp-text-group {
        flex: 1;
        margin: 0;
    }
}

.wp-block-footer-phone svg {
    position: relative;
    top: -4px
}

.wc-block-components-sidebar .wp-block-footer-payment {
    justify-content: center;
    margin: 42px 0 14px;
}