.emc-footer {
    display: grid;
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    align-items: start;
    column-gap: 64px;
    row-gap: 40px;
    width: 100%;
    background: transparent;
    color: inherit;
}

.emc-footer-brand,
.emc-footer-cats,
.emc-footer-logo,
.emc-footer-contact,
.emc-footer-cat-col {
    background: transparent;
}

.emc-footer-brand,
.emc-footer-cats {
    min-width: 0;
}

.emc-footer-logo {
    display: inline-flex;
    margin-bottom: 22px;
}

.emc-footer-logo a {
    display: inline-flex;
    line-height: 0;
}

.emc-footer-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 220px;
}

.emc-footer-address {
    margin: 0;
    max-width: 280px;
    line-height: 1.65;
    font-size: 14px;
}

.emc-footer-contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
    margin-top: 28px;
}

.emc-footer-contact-label {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.emc-footer-contact-value {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.emc-footer-contact-value a {
    text-decoration: none;
}

.emc-footer-cats {
    display: grid;
    grid-template-columns: repeat(var(--emc-footer-cat-cols, 3), minmax(0, 1fr));
    gap: 28px 40px;
    width: 100%;
}

.emc-footer-cat-col {
    min-width: 0;
}

.emc-footer-cat-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.emc-footer-cat-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    cursor: default;
}

.emc-footer-cat-title {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.emc-footer-cat-summary .emc-footer-cat-title {
    margin: 0;
    min-width: 0;
}

.emc-footer-cat-title-text {
    display: none;
}

.emc-footer-cat-title a,
.emc-footer-cat-title-link {
    text-decoration: none;
}

.emc-footer-cat-chevron {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
}

.emc-footer-cat-chevron::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.emc-footer-cat-all {
    display: none;
}

.emc-footer-cat-children {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.emc-footer-cat-children li {
    margin: 0;
}

.emc-footer-cat-children a {
    display: inline-block;
    padding: 5px 0;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .emc-footer-cat-summary {
        pointer-events: none;
    }

    .emc-footer-cat-summary .emc-footer-cat-title-link {
        pointer-events: auto;
    }

    .emc-footer-cat-children {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .emc-footer {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: minmax(0, 1fr) !important;
        column-gap: 0 !important;
        width: 100%;
    }

    .emc-footer-brand,
    .emc-footer-cats {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto;
    }

    .emc-footer-address {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .emc-footer {
        row-gap: 28px;
    }

    .emc-footer-brand,
    .emc-footer-logo,
    .emc-footer-address,
    .emc-footer-contacts,
    .emc-footer-contact,
    .emc-footer-cats,
    .emc-footer-cat-col,
    .emc-footer-cat-summary,
    .emc-footer-cat-children {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .emc-footer-contacts {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 18px;
        margin-top: 22px;
    }

    .emc-footer-cats {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .emc-footer-cat-col {
        flex: 0 0 auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .emc-footer-cat-col:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .emc-footer-cat-summary {
        min-height: 48px;
        margin: 0;
        padding: 12px 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .emc-footer-cat-title,
    .emc-footer-cat-summary .emc-footer-cat-title {
        font-size: 15px;
        font-weight: 500;
    }

    .emc-footer-cat-title-link {
        display: none !important;
    }

    .emc-footer-cat-title-text {
        display: block;
    }

    .emc-footer-cat-chevron {
        display: block;
    }

    .emc-footer-cat-col--accordion .emc-footer-cat-children {
        display: none;
        padding: 0 0 14px;
    }

    .emc-footer-cat-check:checked ~ .emc-footer-cat-children {
        display: block;
    }

    .emc-footer-cat-check:checked ~ .emc-footer-cat-summary .emc-footer-cat-chevron::before {
        top: 4px;
        transform: rotate(-135deg);
    }

    .emc-footer-cat-children a {
        display: block;
        padding: 8px 0;
    }

    .emc-footer-cat-all {
        display: list-item;
    }

    .emc-footer-cat-col:not(.emc-footer-cat-col--accordion) .emc-footer-cat-title {
        display: flex;
        align-items: center;
        min-height: 48px;
        margin: 0;
        padding: 12px 0;
    }
}
