.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: space-between;
    align-items: center;
    color: rgb(var(--color-text));
    margin-bottom: 8px;
}

.cart__amount-wrapper li em {
    font-style: normal;
}

.cart__amount-wrapper li>*:not(:first-child) {
    margin-left: 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 */


h2.totals-shipping-label,
h2.page-totals-subtotal-label {
    font-size: 18px;
    color: #0C0C0C;
    font-family: 'ANTA Sharp Grotesk Medium';
}

h2.order-summary {
    font-size: 20px;
    color: #0C0C0C;
}

.cart__checkout-container {
    width: 100%;
}

p.page-totals-subtotal-value {
    font-size: 18px;
    color: #0C0C0C;
    font-family: 'ANTA Sharp Grotesk Bold';
    margin: 0;
}

.totals-shipping {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    padding: 8px 0 24px 0;
    border-bottom: 1px solid #C8C8C8;
    margin: 0 0 22px 0;
}

p.totals-shipping-value {
    margin: 0;
    font-size: 18px;
    color: #CB191B;
    font-family: 'ANTA Sharp Grotesk Bold';
}

.cart__footer-container li.cart__total em.body2.fw-bold {
    font-size: 20px;
    color: #1A1A1A;
    font-family: 'ANTA Sharp Grotesk Bold';
    text-transform: uppercase;
    line-height: 1;
}

.cart__footer-container li.cart__total span.body2.fw-bold {
    font-size: 22px;
    color: #D6000F;
    font-family: 'ANTA Sharp Grotesk Bold';
    line-height: 1;
}

h2.page-total-discount-label {
    font-size: 18px;
    color: #1A1A1A;
    font-family: 'ANTA Sharp Grotesk Medium';
}

p.page-total-discount-value {
    margin: 0;
    font-size: 18px;
    color: #1A1A1A;
    line-height: 1;
}

.page-totals-discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
}

.shopify-section-main-cart-items .page-width {
    padding-left: 0;
    padding-right: 0;
}

@media(max-width: 768px) {

    .cart__footer-wrapper h2.totals-shipping-label,
    .cart__footer-wrapper h2.page-totals-subtotal-label,
    .cart__footer-wrapper h2.page-total-discount-label {
        font-size: 16px;
    }

    .cart__footer-wrapper .cart__footer-container li.cart__total span.body2.fw-bold {
        font-size: 18px;
    }

    h2.order-summary,
    .cart__footer-container li.cart__total em.body2.fw-bold {
        font-size: 16px;
    }

    .cart__footer-wrapper h2.totals-shipping-label,
    .cart__footer-wrapper h2.page-totals-subtotal-label,
    .cart__footer-wrapper h2.page-total-discount-label,
    p.page-totals-subtotal-value,
    p.totals-shipping-value {
        font-size: 14px;
    }

    .totals-shipping {
        padding: 8px 0 12px 0;
    }
}