body {
    padding: 0;
    margin: 0;
    width: 100%;
    -webkit-text-size-adjust: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

* {
    box-sizing: border-box;

    &:after {
        box-sizing: border-box;
    }

    &:before {
        box-sizing: border-box;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
    padding: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-light {
    background-color: #212121;
    color: #ffffff;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    gap: 90px;
    font-size: 15px;
}

.footer-light > div {
    max-width: 1264px;
    width: 100%;
    margin: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-left {
    max-width: 320px;
}

.footer-right {
    max-width: 56%;
    width: 56%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row dense;
    row-gap: 40px;
    column-gap: 50px;
}

.footer-left,
.footer-right {
    min-width: 200px;
}

.footer-logo svg {
    display: block;
    width: 188px;
    margin-bottom: 36px;
}

.footer-logo img {
    width: 188px;
    height: auto;
}

.footer-socials {
    margin: 42px 0;
}

.footer-socials a {
    margin-right: 12px;
    transition: opacity 0.3s;
}

.footer-socials a:hover {
    opacity: 0.75;
}

.footer-contacts a {
    display: block;
    color: #a6a6a6;
    font-size: 16px;
    margin-bottom: 9px;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: #007aff;
}

.footer-bottom {
    display: flex;
    align-items: self-start;
    justify-content: space-between;
    gap: 24px;
}

.footer-payment-methods-desk {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 52px));
    align-content: center;
    gap: 12px;
    margin-bottom: 60px;
    margin-top: 120px;
}

.footer-payment-methods {
    display: none;
}

.footer-payment-methods img,
.footer-payment-methods-desk img {
    width: 52px;
}

.footer-info,
.footer-info-desk,
.footer-copyright {
    font-size: 15px !important;
    color: #595959;
    margin-top: 12px;
    max-width: 350px;
}

.footer-info {
    display: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Adjust as needed */
}

.menu-link {
    display: block;
    font-size: 16px; /* Adjust as needed */
    line-height: 1.428571; /* Adjust as needed */
    padding-top: 6px; /* Adjust as needed */
    padding-bottom: 6px; /* Adjust as needed */
    color: rgba(166, 166, 166, 0.9); /* Assuming cGreyLight is #A6A6A6 */
    transition: color 0.3s;
}

.menu-link:hover {
    color: #007aff;
}

/* MenuSection styles */
.menu-section {
    margin-bottom: 0;
    width: 100%;
}

.menu-section-2 {
    grid-row: span 2;
}
.menu-section-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
}

.menu-section-title {
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5625;
    margin-bottom: 8px;
    min-height: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-section-links {
    padding-right: 20px;
    display: block;
    height: auto;
}

.menu-section-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-section-link {
    display: block;
    font-size: 16px;
    line-height: 1.428571;
    padding: 6px 0;
    color: rgba(166, 166, 166, 0.9);
    transition: color 0.3s;
}

.menu-section-link:hover {
    color: #007aff;
}

.free-badge,
.new-badge {
    padding: 4px 6px;
    border-radius: 10px;
    height: 16px;
    color: #ffffff;
    font-size: 9px;
    line-height: 8px;
    font-weight: bold;
}

.free-badge {
    background-color: #0abf68;
}

.new-badge {
    background-color: #007aff;
}

.arrow {
    transition: transform 0.3s;
    display: none;
}

.arrow.active {
    transform: rotate(180deg);
}

.arrow-svg {
    width: 24px;
    height: 24px;
    transition: fill 0.3s;
}

.arrow-svg:hover {
    opacity: 0.7;
}

.bottom-right {
    width: 56%;
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

/* Responsive Styles */

/* Small screens and up */
@media (min-width: 520px) {
    .menu-section {
        width: 50%;
    }
}

/* Medium screens and up */
@media (min-width: 760px) {
    .menu-section {
        width: auto;
    }
}
/* Max-width for XL */
@media (max-width: 1239px) {
    .footer-light {
        gap: 120px;
    }
    .footer-light > div {
        max-width: 1024px;
    }
    .bottom-right {
        width: 100%;
    }

    .footer-copyright {
        max-width: 100%;
    }
    .footer-payment-methods {
        display: grid;
        grid-template-columns: repeat(9, minmax(0, 52px));
        gap: 12px;
        margin-bottom: 60px;
    }

    .footer-payment-methods-desk,
    .footer-info-desk {
        display: none;
    }

    .footer-info {
        display: block;
    }
    .footer-bottom {
        align-items: start;
        flex-direction: column;
        margin-top: 24px;
    }
    .footer-right {
        column-gap: 36px;
        width: 100%;
        max-width: 100%;
    }
    /* .footer-info,
    .footer-copyright {
      text-align: center;
    } */
    .footer-content {
        flex-direction: column-reverse;
        align-items: start;
    }
}

/* Max-width for LG */
@media (max-width: 999px) {
    .footer-light {
        padding: 40px 16px;
        gap: 24px;
    }
}

/* Max-width for MD */
@media (max-width: 759px) {
    .footer-light {
        padding: 16px;
    }
    .footer-light > div {
        max-width: 764px;
        width: calc(100vw - 64px);
    }
    .footer-logo img {
        width: 188px;
    }
    .footer-payment-methods {
        grid-template-columns: repeat(3, minmax(0, 52px));
        margin-bottom: 32px;
    }
    .menu-section-links {
        padding-right: 20px;
        transition: all 0.3s linear;
        display: none;
        height: 0;
    }

    .menu-section-links.active {
        display: block;
        height: auto;
    }
    .arrow {
        display: block;
    }
    .bottom-right {
        flex-direction: column;
        width: 100%;
        gap: 40px;
    }
    .footer-right {
        row-gap: 24px;
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .footer-info,
    .footer-copyright {
        text-align: left;
    }

    .footer-copyright {
        color: rgba(166, 166, 166, 0.9);
    }
}

/* Max-width for SM */
@media (max-width: 519px) {
    .footer-light > div {
        max-width: 512px;
        width: calc(100vw - 32px);
    }
    .footer-content {
        padding: 12px;
    }
}

.footer-logo {
    width: 268px;
    height: 65px;
}

#footer-mount .menu-section-header {
    cursor: auto;
}
img{
    display: inline-block;
}
