.cart__footer-container {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 40px;
}

.cart__checkout-container {
    width: 400px;
}

.cart__amount-wrapper {
    margin: 0;
    padding: 0;
}

.cart__amount-wrapper li {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: rgb(var(--color-text));
    margin-bottom: 8px;
}

.cart__amount-wrapper li em {
    font-style: normal;
    margin-right: 12px;
}

.cart__tax {
    opacity: 0.6;
}

.cart__discount span {
    color: rgb(var(--color-discount));
}

#checkout {
    width: 100%;
}

.cart__checkout {
    margin: 15px 0;
}

.cart__taxes__desc {
    text-align: center;
}

@media (max-width: 959px) {
    .cart__amount-wrapper li {
        justify-content: space-between;
    }

    .cart__checkout-container {
        width: 100%;
    }

    .cart-fixed-checkout.cart-footer__fixed-checkout {
        position: fixed;
        z-index: 999;
    }
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */


.cart__checkout-container {
    width: clamp(254.5px, 26.52vw, 509px);
}

.cart__checkout-wrapper .cart__checkout {
    margin: clamp(8px, 0.84vw, 16px) 0;
}

.cart__checkout-wrapper button.cart__checkout-button::after,
.cart__checkout-wrapper button.cart__checkout-button::before,
.cart__checkout-wrapper .cart__taxes__desc::after {
    content: none;
}

.cart__checkout-wrapper button#checkout {
    box-shadow: unset;
    padding: clamp(5px, 0.53vw, 10px);
    height: clamp(20.5px, 2.14vw, 41px);
    font-weight: normal;
    font-size: clamp(9px, 0.94vw, 18px);
    line-height: 1.25;
    color: #FFFFFF;
}

.cart__checkout-wrapper .cart__taxes__desc {
    font-weight: 400;
    font-size: clamp(8px, 0.84vw, 16px);
    line-height: 1.25;
    color: #000000;
    font-family: 'GT America-Regular';
}

.cart__checkout-subtotal ul.cart__amount-wrapper {
    margin: clamp(7px, 0.73vw, 14px) 0 20px;
    max-width: 100%;
    margin-left: auto;
}

.cart__checkout-subtotal ul.cart__amount-wrapper li {
    width: 100%;
    display: flex;
    gap: clamp(30px, 3.13vw, 60px);
    align-items: center;
    justify-content: flex-end;
    margin-bottom: clamp(7px, 0.73vw, 14px);
}

.cart__checkout-subtotal ul.cart__amount-wrapper li:last-child {
    margin-bottom: 0;
}

.cart__checkout-subtotal .totals-subtotal p.totals-subtotal-label,
.cart__checkout-subtotal .totals-subtotal p.totals-subtotal-value,
.cart__checkout-subtotal .totals-discount p.total-discount-label,
.cart__checkout-subtotal .totals-discount p.total-discount-value,
.cart__checkout-subtotal .totals h2.totals__total,
.cart__checkout-subtotal .totals p.totals__total-value {
    font-weight: normal;
    font-size: clamp(9px, 0.94vw, 18px);
    line-height: 1.278;
    color: #000000;
    font-family: "GT-America-Expanded-Bold";
    margin: 0;
}

.cart__checkout-subtotal .totals-discount p.total-discount-value {
    color: #A53E04;
}

@media(max-width:749px) {
    .cart__footer-container.page-width {
        padding: 0 10px 40px;
    }

    .cart__checkout-container {
        width: 100%;
    }
}