.mcx-wrap { width: 100%; }
.mcx-item { border-bottom: 1px solid #eee; }

/* Name on the left, arrow on the right, centered vertically for any name length */
.mcx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mcx-link {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    padding: 12px 8px 12px 15px;
    font-size: 14px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
}
.mcx-link-sub { text-transform: none; padding-left: 15px; }
.mcx-link-child { text-transform: none; padding: 9px 15px 9px 30px; font-size: 13px; color: #555; }

.mcx-btn {
    flex: 0 0 44px;
    width: 44px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    color: #666;
    cursor: pointer;
}
.mcx-btn svg { transition: transform .2s; }
.mcx-item.mcx-open > .mcx-row .mcx-btn svg { transform: rotate(180deg); }

/* Subcategories hidden until opened */
.mcx-sub { display: none; padding-left: 12px; background: #fafafa; }
.mcx-item.mcx-open > .mcx-sub { display: block; }