#cart.panel.content-wrapper {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
}

#cartContent.panel.content {
    padding: 0px 0px 0px 0px;
    gap: 0px;
    overflow-y: hidden;
}

#cartEdit #cartEditConfirm {
    display: none;
}

#cartEdit.confirm #cartEditDefault {
    display: none;
}

#cartEdit.confirm #cartEditConfirm {
    display: block;
}

#cartEdit[hidden],
#cartEdit.empty-state {
    display: none !important;
}

.cart.product.edit-mode.button {
    display: none;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 2px;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    border-radius: var(--toolbarButtonBorderRadius);

    color: var(--tintWarning);
    background: var(--primaryWarning);
    cursor: pointer;

    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -10px 10px rgba(255, 255, 255, 0.08),
        0 6px 30px rgba(0, 0, 0, 0.15);

    transition:
        background-color var(--primaryInteraction),
        color var(--primaryInteraction),
        transform var(--primaryInteraction);
}

.cart.product.edit-mode.button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    padding: var(--toolbarButtonBorderWidth);
    border-radius: inherit;
    pointer-events: none;

    background: var(--toolbarButtonBorder);

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.cart.product.edit-mode.button::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;

    background: var(--tintWarning);
    opacity: 0;

    transition:
        background-color var(--primaryInteraction),
        opacity var(--primaryInteraction);
}

.cart.product.edit-mode.button:hover {
    color: var(--primaryWarning);
}

.cart.product.edit-mode.button:hover::after {
    opacity: 1;
}

.cart.product.edit-mode.button .icon {
    position: relative;
    z-index: 1;
    display: block;

    width: 10px;
    height: 10px;
    flex: 0 0 10px;

    fill: none;
    text-decoration: none;
    color: inherit;

    transition:
        color var(--primaryInteraction);
}

.cart.product.edit-mode.button.is-visible {
    display: flex;
}

.cart.list-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color: var(--scrollbarTrack) transparent;

    max-height: calc(100vh - 126px);

    gap: 6px;
    padding: 35px 12px 12px 12px;
    margin-top: -35px;
}

.cart.list-wrapper.empty-state {
    justify-content: center;
    align-items: center;
    padding: 12px;
    margin-top: 0;
}

.cart.products.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 220px;
    text-align: center;
    color: var(--primaryText);
}

.cart.products.empty-state-title {
    font-size: 26px;
    font-weight: 900;
}

.cart.products.empty-state-description {
    max-width: 260px;
    color: var(--secondaryText);
}

.cart.list {
    display: flex;
    flex-direction: column;


    height: calc(100vh - 126px);
    max-height: calc(100vh - 126px);
    padding: 6px 0px 0px 0px;
}

.cart.list .store {
    white-space: nowrap;
    z-index: 5001;

    width: min-content;
    padding: 4px 10px;
    margin-bottom: 6px;
    margin-left: 12px;
    border-radius: 99px;

    font-size: 12px;

    background-color: var(--primaryAccent);
    color: var(--tintAccent);
}

.cart.list .store span {
    font-weight: 900;
}

.cart.list .store.empty-state {
    display: none;
}

.toolbar.product.card[data-cart-item] {
    position: relative;
    cursor: pointer;
    background: var(--bodyBackground);
}

.toolbar.product.card.edit-mode[data-cart-item] {
padding-right: 52px;
}

.cart.action-wrapper {
    padding: 12px;

    border-top: 1px solid var(--primaryBorder);
    background-color: var(--bodyBackground);
}

#cartCheckout.action.prefer.fill {
    margin-top: 0px;
}

#cartCheckout.action.prefer.fill.disabled,
#cartCheckout.action.prefer.fill:disabled {
    opacity: 0.5;
    cursor: default;
}

#cartCheckout.action.prefer.fill {
    font-size: 14px;
    min-width: 30px;
    padding: 7px 15px;
    line-height: 1.43;
}

@media only screen and (max-width: 767px) {
    #cartCheckout.action.prefer.fill {
        font-size: 14px;
        min-width: 30px;
        padding: 7px 15px;
        line-height: 1.43;
    }
}

#cartValue {
    font-weight: 900;
}
