
.mega-menus-footer__wrapper {
    min-height: 464px;
    display: flex;
    gap: 30px;
}

.mega-menus-footer__heading {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    display: block;
    text-align: left;
}

.mega-menus-footer__wrapper ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.mega-menus-footer__wrapper > div {
    flex-basis: calc((100% - 120px) / 4);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer .menu-item:has(.sub-menu)::after {
    display: none;
}

.footer .menu-item {
     z-index: unset;
    cursor: pointer;
}

@media screen and (max-width: 1199.98px) {
    .mega-menus-footer__wrapper {
        padding: 0 0 20px 0;
        min-height: 200px;
    }

    .mega-menus-footer__heading {
        margin-bottom: 15px;
    }

    .mega-menus-footer__wrapper ul {
        gap: 10px;
    }

    .header__navigation ul.sub-menu li a {
        font-weight: 400;
        font-size: 17px;
        line-height: 150%;
        color: #393939;
    }

    .mega-menus-footer__heading {
        font-weight: 600;
        font-size: 18px;
        line-height: 140%;
        color: #0b0b0b;
    }
}

@media screen and (max-width: 1023.98px) {
    .mega-menus-footer__columns{
        padding: 16px 15px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .mega-menus-footer__columns:last-child{
        margin-bottom: 0;
    }

    .mega-menus-footer__accordion-header {
        width: 100%;
        border: none;
        text-align: left;
        cursor: pointer;
        transition: background 0.3s;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 0;
    }

    .mega-menus-footer__header-name {
        flex-basis:fit-content;
        font-size: 18px;
        line-height: 110%;
    }


    .mega-menus-footer__accordion-svg{
        width: 30px;
        height: 30px;
        border: 1px solid #BDBABA;
        border-radius: 5px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mega-menus-footer__accordion-header svg {
        transition: all ease 0.3s;
        transform: rotate(0deg);
        display: flex;
        flex-shrink: 0;
    }


    .acc-open .mega-menus-footer__accordion-svg svg{
        transform: rotate(180deg);
        transition: all ease 0.3s;
    }

    .mega-menus-footer__accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .mega-menus-footer__accordion-content a {
        font-size: 15px;
        display: flex;
        margin-bottom: 11px;
        line-height: 140%;
    }

    .mega-menus-footer__accordion-content.open {
        padding-top: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 16px;
    }

    .accordion__svg-back.mega-menus-footer__accordion-svg {
        width: 30px;
        height: 30px;
    }

    .mega-menus-footer__accordion-svg .border-logo__back {
        height: 100%;
    }

    .mega-menus-footer__header-name a {
        margin: 0;
    }
}




