/* =========================
   GE Custom Subcategories
========================= */

.category_links {
    margin-bottom: 8px;
}

.category_links__box {
    background-color: #f5f5f5;
    padding: 7px;
    border-radius: 0;
}

/* Header / toggle */
.ge-csc-group-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    margin: 0;
    padding: 0 0 14px 0;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;

    text-align: left;
    cursor: default;
}

.ge-csc-group-head:hover,
.ge-csc-group-head:focus,
.ge-csc-group-head:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.ge-csc-group-head__title {
    display: none;
    font-size: 22px;
    line-height: 1.25;
    /* font-weight: 600; */
    color: #111;
}

.ge-csc-group-head__icon {
    display: none;
}

/* Body */
.ge-csc-group-body {
    overflow: visible;
}

/* Item wrapper */
.category_links__item {
    display: block;
    width: 100%;
    margin: 10px 0;
    text-decoration: none;
}

a.category_links__item:hover .category_link__title {
    text-decoration: underline;
}

.category_link__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 40px;
    background: #fff;
}

.category_link__image_wrap {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e4e4e4;
}

.category_link__image {
    display: block;
    max-width: 34px;
    max-height: 34px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.category_link__title {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 40px;
    padding: 4px 10px;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    font-size: 14px;
    line-height: 1.2;
    color: #000;
    box-sizing: border-box;
    word-break: break-word;
}

.category_link__arrow_wrap {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-left: 0;
    transition: background .3s, color .3s;
    box-sizing: border-box;
}

.category_link__arrow {
    font-size: 20px;
    line-height: 1;
    color: #f48144;
    transition: color .3s;
}

.category_link:hover .category_link__arrow_wrap {
    background: #f48144;
}

.category_link:hover .category_link__arrow {
    color: #fff;
}

/* =========================
   Mobile accordion <576px
========================= */
@media (max-width: 575.98px) {
    .category_links {
        margin-bottom: 15px;
    }

    .category_links__box {
        padding: 0;
        overflow: hidden;
        border-radius: 0;
        border: 1px solid rgba(0, 0, 0, .125);
        background: #fff;
    }

    .ge-csc-group-head {
        display: flex;
        min-height: 48px;
        padding: 10px 8px 10px 20px;
        cursor: pointer;
        transition: background-color .25s ease;
    }

    .ge-csc-group-head:active {
        background-color: rgba(0, 0, 0, 0.02) !important;
    }

    .ge-csc-group-head__title {
        font-family: 'Open Sans', sans-serif;
        display: block;
        font-size: 15px;
        line-height: 1.25;
        padding-right: 8px;
        color: #666666;
        text-transform: uppercase;
    }

    .ge-csc-group-head__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        font-size: 30px;
        line-height: 1;
        color: #666;
        transition: transform .25s ease, opacity .2s ease;
    }

    .ge-csc-group-body {
        max-height: 0;
        overflow: hidden;
        padding: 0 9px;

        opacity: 0;
        transform: translateY(-6px);

        transition:
            max-height .38s ease,
            opacity .22s ease,
            transform .22s ease,
            padding-bottom .22s ease;
        will-change: max-height, opacity, transform;
    }

    .ge-csc-group-body.is-open {
        opacity: 1;
        transform: translateY(0);
        padding-bottom: 12px;
    }

    .ge-csc-group-head[aria-expanded="true"] .ge-csc-group-head__icon {
        transform: rotate(180deg);
    }

    .category_links__item {
        margin: 8px 0;
    }

    .category_link__inner {
        min-height: 40px;
    }

    .category_link__image_wrap {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
    }

    .category_link__image {
        max-width: 32px;
        max-height: 32px;
    }

    .category_link__title {
        min-height: 40px;
        padding: 5px 8px;
        font-size: 13px;
        line-height: 1.15;
    }

    .category_link__arrow_wrap {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
    }

    .category_link__arrow {
        font-size: 16px;
    }
}

/* =========================
   Desktop >=576px
========================= */
@media (min-width: 576px) {
    .ge-csc-group-head {
        display: none !important;
    }

    .ge-csc-group-body {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        transform: none !important;
        padding: 0 !important;
    }
}