.footer-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

    margin: 60px auto 60px;
}

.footer-banners-title + .footer-banners {
    margin-top: 0;
}

.footer-banners::before, .footer-banners::after {
    content: none;
}

.footer-banner {
    display: flex;
    align-items: stretch;

    position: relative;
    float: none;
    width: calc(33.333% - 13.333px);
    padding: 0;
    background-color: #D1E4F0;
}

.footer-banners-title {
    margin: 60px auto 42px;
}

.footer-banners-title h2 {
    margin: 0;

    font-size: 28px;
    font-weight: 600;
    text-align: center;
}

.footer-banner .extended-banner-texts {
    display: block;

    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    padding: 30px;
}

.footer-banner .extended-banner-text {
    position: relative;
    bottom: auto;
    left: auto;
    max-width: 100%;

    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.footer-banner .extended-banner-text ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 6px;

    padding: 0;
    margin: 0;

    font-size: 14px;
    list-style: none;
}

.footer-banner .extended-banner-text ul li a {
    display: inline-flex;
    align-items: center;
    column-gap: 12px;

    color: var(--color-primary);
    text-decoration: underline;
}

.footer-banner .extended-banner-text ul li a:hover {
    text-decoration: none;
}

.footer-banner .extended-banner-text ul li a::before {
    display: inline-block;

    position: relative;
    content: "";
    width: 13px;
    height: 7px;
    background-image: url("/user/documents/upload/kodovani/arrow-right.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-banner .extended-banner-title {
    display: block;

    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 12px;

    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

.footer-banner-title {
    display: block;
}

.footer-banner a:hover img {
    transform: none;
}

.footer-banner .img-wrapper {
    display: block;
    flex-shrink: 0;

    max-width: 160px;
}

.footer-banner .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#cart-wrapper .footer-banners-title, #cart-wrapper .footer-banners {
    padding-inline: 10px;
}

@media (max-width: 1439px) {
    .footer-banner .img-wrapper {
        max-width: 140px;
    }
}

@media (max-width: 1199px) {
    .footer-banner {
        width: calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .footer-banners-title h2 {
        text-align: left;
    }

    .footer-banner {
        width: 100%;

        border-radius: 4px;
    }

    .footer-banner .extended-banner-texts {
        padding: 0;
        width: 100%;
    }

    .footer-banner .extended-banner-text {
        display: none;
        padding-bottom: 20px;
    }

    .footer-banner .extended-banner-texts.open .extended-banner-text {
        display: block;
    }

    .footer-banner.open .extended-banner-text {
        display: block;
    }

    .footer-banner .img-wrapper {
        position: absolute;
        left: 10px;
        top: 0;
        height: 48px;
        width: 38px;
    }

    .footer-banners {
        gap: 12px;
        margin-inline: 0 !important;
        padding: 0;
    }

    .footer-banner .footer-toggler {
        display: flex;
        column-gap: 12px;
        width: 100%;
        min-height: 48px;
        align-items: center;
        padding-left: 52px;
    }

    .footer-banner .footer-banner-title span {
        flex-grow: 1;
        margin: 0;
    }

    .footer-banner .footer-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-grow: 1;
        height: 48px;
        user-select: none;
        touch-action: manipulation;
    }

    .footer-banner .footer-toggle::after {

        content: "";
        width: 16px;
        height: 16px;
        mask-image: url("/user/documents/upload/kodovani/chevron-right.svg");
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: contain;
        -webkit-mask-image: url("/user/documents/upload/kodovani/chevron-right.svg");
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
        -webkit-mask-size: contain;
        background-color: var(--color-secondary);
        transform: rotate(90deg);
        transition: transform ease 300ms;
    }

    .footer-banner .extended-banner-texts.open .footer-toggle::after {
        transform: rotate(270deg);
    }

    .footer-banner .extended-banner-text ul {
        margin-left: 52px;
    }

    .footer-banners-title {
        padding: 0;
        margin-bottom: 20px;
    }
}