/* RZHomestore compact footer */

.rz-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 18px;
}
.rz-footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #343435;
    font-size: 13px;
    text-decoration: none;
}
.rz-footer-social a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.rz-footer-social svg {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.rz-site-footer {
    margin-top: 32px;
    border-top: 3px solid var(--rz-brand-red, #eb5956);
    background: #fff;
    color: var(--rz-charcoal, #343435);
}

.rz-site-footer .rz-site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px);
    padding-block: 40px;
}

.rz-site-footer__grid > * {
    min-width: 0;
}

.rz-site-footer__brand {
    align-self: center;
}

.rz-site-footer__brand .rz-site-logo {
    box-sizing: border-box;
    display: block;
    width: min(100%, 235px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.rz-site-footer__brand .rz-site-logo__image {
    display: block;
    width: 100%;
    height: auto;
}

.rz-site-footer .rz-site-footer__column h2 {
    margin: 0 0 12px;
    color: var(--rz-charcoal, #343435);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
}

.rz-site-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rz-site-footer__column li + li {
    margin-top: 2px;
}

.rz-site-footer .rz-site-footer__column a {
    display: inline-block;
    max-width: 100%;
    padding-block: 5px;
    color: #555960;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.rz-site-footer .rz-site-footer__column a:hover {
    color: var(--rz-charcoal, #343435);
    text-decoration: underline;
    text-decoration-color: var(--rz-brand-red, #eb5956);
    text-underline-offset: 4px;
}

.rz-site-footer a:focus-visible {
    outline: 2px solid var(--rz-charcoal, #343435);
    outline-offset: 4px;
}

.rz-site-footer__bottom {
    border-top: 1px solid #e5e6e8;
    background: #f7f7f8;
}

.rz-site-footer__bottom .rz-container {
    padding-block: 18px;
}

.rz-site-footer__bottom p {
    margin: 0;
    color: #62666c;
    font-size: 12px;
    line-height: 1.65;
}

.rz-site-footer__bottom p + p {
    margin-top: 3px;
}

@media (max-width: 900px) {
    .rz-site-footer .rz-site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
        padding-block: 30px;
    }

    .rz-site-footer__brand {
        grid-column: 1 / -1;
    }

    .rz-site-footer__brand .rz-site-logo {
        width: min(100%, 210px);
    }
}

@media (max-width: 560px) {
    .rz-site-footer .rz-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
    }

    .rz-site-footer__column:last-child {
        grid-column: 1 / -1;
    }

    .rz-site-footer .rz-site-footer__column a {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        min-height: 44px;
        padding-block: 8px;
    }
}
