.cfw-edit-item-quantity-control-wrap {
    display: flex;
    align-items: center;
    color: #717171;
}

.cfw-quantity-stepper {
    font-size: 0.75em;
    display: inline-flex;
    align-items: center;
    border: solid 1px rgb(211, 212, 213);
    border-radius: 16px;
    opacity: 0.9;

    .cfw-quantity-stepper-btn-minus, .cfw-quantity-stepper-btn-plus {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        min-width: 30px;
        min-height: 30px;
        background: none;
        appearance: none;
        padding: 0 !important;
        margin-bottom: 0;
        margin-right: 0;

        &:before, &:after {
            content: none !important;
            display: none !important;
        }

        &.cfw-disabled {
            cursor: not-allowed;

            &:hover {
                background: #d9d9d9;
            }
        }

        &:hover {
            background: #333;

            svg {
                fill: #fff;
            }
        }

        svg {
            width: 0.5rem;
            height: auto;
            fill: #333333;
        }
    }

    .cfw-quantity-stepper-btn-minus {
        border: none;
        border-right: solid 1px rgb(211, 212, 213);
        border-top-left-radius: inherit;
        border-bottom-left-radius: inherit;
    }

    .cfw-quantity-stepper-btn-plus {
        border: none;
        border-left: solid 1px rgb(211, 212, 213);
        border-top-right-radius: inherit;
        border-bottom-right-radius: inherit;
    }

    .cfw-quantity-stepper-value-label {
        font-weight: 700;
        width: 100%;
        min-width: 30px;
        text-align: center;
        color: var(--cfw-body-text-color) !important;
        padding-left: 0.25em;
        padding-right: 0.25em;
        user-select: none;
        cursor: default;
        text-decoration: none;
    }

    .cfw-quantity-bulk-edit {
        cursor: pointer;
        text-decoration: none;

        &:hover {
            opacity: 0.5;
        }
    }
}

.cfw-cart-item-subtotal {
    position: relative;
}

.cfw-remove-item-button {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    opacity: 0;
    position: absolute;
    top: 1em;
    right: 0;
    font-size: 0.9em;
    color: var(--cfw-cart-summary-text-color) !important;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;

    svg {
        width: 20px;
        height: 20px;
    }
}

tr:hover .cfw-remove-item-button {
    opacity: 1;
}