.cart-drawer {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    background-color: rgba(var(--color-mask), 0.5);
    transition: all 200ms ease;
}

.cart-drawer {
    visibility: hidden;
    opacity: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cart-drawer.active {
    visibility: visible;
    opacity: 1;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

.cart-drawer__inner {
    height: 100%;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 200ms ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: rgb(var(--color-page-background));
}

.cart-drawer__fixed-checkout {
    transform: translateX(100%);
    transition: transform 200ms ease;
}

.cart-drawer__inner .cart-drawer__inner-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-drawer__warnings {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.cart-drawer.active .cart-drawer__inner,
.cart-drawer.active .cart-drawer__fixed-checkout {
    transform: translateX(0);
}

.cart-drawer__header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
}


.cart-drawer__close {
    color: rgb(var(--color-text));
    cursor: pointer;
    width: 34px;
    height: 34px;
    line-height: 0;
    top: 2px;
    right: -4px;
    padding: 6px;
    position: absolute;
    background: #F8F8F8;
    border-radius: 28px 28px 28px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

cart-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
}

.cart-drawer-container {
    width: 642px;
}

.cart-drawer__heading {
    font-size: 30px;
    color: #1A1A1A;
}

.cart-drawer__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.cart-drawer__overlay:empty {
    display: block;
}

/* cart-drawer-items {
  overflow: auto;
  flex: 1;
} */
.options-product-flex-main {
    display: flex;
    gap: 15px;
    align-items: center;
}

.options-product-flex-main span.fw-bold,
.cart-item__details .options-product-flex-main .product-option {
    font-weight: 400 !important;
    font-size: 16px;
    color: #7E7E7E;
}

.main-custom-totals-drawer {
    flex: 0 0 auto;
    max-width: 100%;
}

.cart-drawer__inner {
    overflow-y: scroll;
}

.cart-drawer__items .cart-item__quantity .quantity {
    width: 76px;
    height: 29px;
    border: 1px solid #ECECEC;
}

.cart-drawer__items .cart-item__quantity .quantity:after {
    content: unset;
}

.cart-drawer__items .cart-item__quantity .quantity__button svg {
    width: 0.6rem;
    pointer-events: none;
}

.cart-drawer__items .cart-item__quantity .quantity__button {
    width: 22px;
}

.minus-remove-btns svg path {
    stroke: #000;
    stroke-width: 2px
}

.cart-fixed-checkout .cart-drawer__dropdown-toggle-normal .cart__total-text {
    font-family: 'ANTA Sharp Grotesk Bold';
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1;
    color: #1A1A1A;
}

.cart__total-price span.body2 {
    font-size: 20px;
    color: #D6000F;
    font-family: 'ANTA Sharp Grotesk Bold';
    line-height: 1;
}

@media screen and (max-height: 650px) {
    cart-drawer-items {
        overflow: visible;
    }

    .cart-drawer__inner {
        overflow-y: scroll;
    }
}

@media (max-width: 959px) {
    .cart-drawer-container {
        width: 97%;
    }
}

cart-drawer-items::-webkit-scrollbar {
    width: 3px;
}

cart-drawer-items::-webkit-scrollbar-thumb {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: 100px;
}

cart-drawer-items::-webkit-scrollbar-track-piece {
    margin-top: 20px;
}

/* cart-drawer-footer */

.cart-drawer__footer__container {
    display: flex;
    justify-content: flex-end;
    padding-top: 40px;
    padding-bottom: 40px;
}

.cart-drawer__checkout-container {
    width: 100%;
    position: relative;
    padding: 40px 0;
}

.cart-drawer__checkout-container::after {
    /* content: ""; */
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 40px);
    height: 1px;
    background-color: rgb(var(--color-entry-line));
}

.cart-drawer__amount-wrapper {
    margin: 0;
    padding: 0;
}

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

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

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

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

#checkout {
    width: 100%;
    font-size: 18px;
    color: #FFFFFF;
    font-family: 'ANTA Sharp Grotesk Bold';
    border-radius: 23px;
}

#checkout::after {
    border-radius: 23px;
}

.cart-drawer__checkout {
    margin-top: 15px;
}

.cart-drawer__taxes__desc {
    text-align: center;
}

.cart-drawer__body {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
}

.cart-drawer__body .cart-drawer__inner {
    flex: 1;
}

.cart-drawer__body .cart-fixed-checkout {
    position: static;
}



.cart-discount .discount-message {
    display: none;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 8px 13px;
    background: #eff6f1;
    border-radius: 4px;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.cart-discount .discount-message.active {
    display: flex;
}

.discount-applied-list {
    margin-top: 4px;
    display: none;
}

.discount-applied-list.active {
    display: block;
}

.discount-applied-list .coupon-code-tag {
    padding: 4px 7px;
    background: #ff4438;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    font-family: var(--font-heading-family);
}

.discount-applied-list .coupon-code-tag svg {
    width: 15px;
    height: 15px;
    display: block;
}

.discount-applied-list .coupon-code-tag span+svg {
    width: 15px;
    height: 15px;
    display: block;
    margin-left: 6px;
    cursor: pointer;
}

.cart-discount-form .discount-apply .loading__spinner circle.path {
    stroke: #fff;
}

.cart-discount .cart-discount-form .discount-apply.loading .text-wrap {
    opacity: 0.5;
}

.cart-discount .cart-discount-form .discount-apply.loading .loading__spinner {
    display: block !IMPORTANT;
}

.loading__spinner.hidden {
    display: none;
}

.cart-discount .discount-message span.text-wrap {
    font-size: 12px;
    color: #131313;
}

h2.total-discount-label,
h2.totals-subtotal-label {
    font-size: 16px;
    color: #1A1A1A;
    font-family: 'ANTA Sharp Grotesk Medium';
    margin: 0;
}

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

.totals-subtotal {
    margin-bottom: 0;
}

p.total-discount-value,
p.totals-subtotal-value {
    font-size: 16px;
    color: #1A1A1A;
    margin: 0;
    line-height: 1;
}

.cart-footer-txt-items p {
    font-size: 12px;
    color: #999999;
    text-align: center;
    margin: 10px 0;
}

img.logo-drawer-media {
    display: block;
    max-width: 18px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cart-drawer-content-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 0 0 0;
    border-top: 1px solid #E2E2E2;
    font-family: 'ANTA Sharp Grotesk Medium';
    font-size: 14px;
    color: #1A1A1A;
}

.cart-drawer-content-items a {
    text-decoration: underline;
}

.cart-drawer-main-items {
    position: relative;
    padding-bottom: 17px;
}

.cart-drawer-main-items::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -20px;
    width: calc(100% + 40px);
    height: 1px;
    background-color: rgb(var(--color-entry-line));
}

div#free-shipping-bar p {
    font-size: 16px;
    color: #131313;
    margin: 0;
    line-height: 1.2;
}

div#free-shipping-bar p strong {
    font-family: 'ANTA Sharp Grotesk Bold';
}

div#free-shipping-bar a {
    text-decoration: underline;
}

.cart-img-icon-text {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0 0 0;
}

.cart-img-icon-text img {
    max-width: 28px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.threshold-price-items {
    display: flex;
    align-items: center;
    gap: 15px;
}

span.progress_item-count {
    font-size: 16px;
    color: #131313;
    line-height: 1.2;
    flex: 0 0 auto;
    max-width: 100%;
}

@media(max-width: 640px) {
    .cart-drawer__heading {
        font-size: 28px;
    }

    div#progress-bar {
        height: 6px !important;
    }

    div#free-shipping-bar p,
    span.progress_item-count,
    .cart-drawer__items .cart-item__price-wrapper .final__price,
    .options-product-flex-main span.fw-bold,
    .cart-item__details .options-product-flex-main .product-option {
        font-size: 14px !important;
    }

    .cart-drawer-content-items {
        font-size: 12px;
        color: #1A1A1A;
    }

    img.logo-drawer-media {
        max-width: 14px;
    }

    #checkout,
    .cart__total-price span.body2,
    .cart-fixed-checkout .cart-drawer__dropdown-toggle-normal .cart__total-text {
        font-size: 16px;
    }

    .cart-drawer__items .cart-item__media {
        width: 80px;
        margin-right: 15px;
    }

    div#free-shipping-bar p {
        font-size: 12px !important;
    }

    .cart-drawer-container div#free-shipping-bar p {
        font-size: 14px !important;
    }

    .cart-img-icon-text img {
        max-width: 20px;
    }

    #checkout,
    .cart__total-price span.body2,
    .cart-fixed-checkout .cart-drawer__dropdown-toggle-normal .cart__total-text {
        font-size: 14px !important;
    }

    .cart-item__details .options-product-flex-main .product-option {
        font-size: 12px !important;
    }
}

/* 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 */