.mmc-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--mmc-icon-color, #111);
    text-decoration: none;
    line-height: 1;
    transition: color .2s ease;
}

.mmc-cart:hover,
.mmc-cart:focus {
    color: var(--mmc-icon-hover, #666);
    text-decoration: none;
}

.mmc-cart__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mmc-icon-size, 22px);
    height: var(--mmc-icon-size, 22px);
    line-height: 1;
}

.mmc-cart__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mmc-cart__count {
    position: absolute;
    top: -6px;
    left: calc(var(--mmc-icon-size, 22px) - 4px);
    min-width: calc(var(--mmc-count-size, 11px) + 7px);
    height: calc(var(--mmc-count-size, 11px) + 7px);
    padding: 0 5px;
    border-radius: 999px;
    background: var(--mmc-count-bg, #111);
    color: var(--mmc-count-color, #fff);
    font-size: var(--mmc-count-size, 11px);
    font-weight: 600;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
    box-sizing: border-box;
}

.mmc-cart__count.is-active {
    opacity: 1;
    transform: scale(1);
}

.mmc-cart__total {
    color: var(--mmc-total-color, #111);
    font-size: var(--mmc-total-size, 14px);
    font-weight: 500;
    line-height: 1;
}
