#mini-cart-popup,
.nopAjaxCartSidebar {
    position: fixed;
    top: 0;
    right: -100%;
    /* Initially off-screen */
    padding: 30px;
    background-color: #fff;
    transition: right 0.3s ease;
    height: 100%;
    width: 100%;
    max-width: 550px;
    overflow: auto;
    z-index: 1050;
    box-shadow: 3px 4px 32px 0px #2f394426;
}

.nopAjaxCartBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ddd;
    height: 100%;
    opacity: 0.5;
    display: none;
    /* Initially hidden */
}

#mini-cart-popup.open,
.nopAjaxCartSidebar.open {
    right: 0;
    /* Bring sidebar on-screen */
}

.nopAjaxCartBackdrop.visible {
    display: block;
    /* Make backdrop visible */
}

body.cart-open {
    height: 100vh;
    overflow: hidden;
}

.nopAjaxCartBackdrop {
    z-index: 9;
}


.productAddedToCartWindowTitle {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    margin: 0 0 30px;
    color: #444;
}

.productAddedToCartItem.popupCartItems {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px 20px 0;
    border-bottom: 1px solid #ddd;
    margin: 0 0 20px;
}

.productAddedToCartItem.popupCartItems:last-child {
    border-bottom: none;
}

.productAddedToCartWindowImage {
    flex: 0 0 100px;
}

.productAddedToCartWindowImage img {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1 / .8;
}

.productAddedToCartWindowDescription {
    flex: 0 0 calc(100% - 110px);
    text-align: left;
}

.qty-remove-wrap {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.remove-button-wrap {
    display: inline-block;
}

.product-name {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.product-name:hover {
    color: #4ab2f1;
}

.product-meta-wrap {
    display: grid;
    gap: 5px;
    margin-bottom: 15px;
}

.product-meta-wrap span,
.product-meta-wrap span * {
    font-size: 12px;
    color: #444;
    font-weight: 500;
}

.reversed-price.product-price span {
    color: #444;
    font-size: 17px;
    line-height: 19px;
    font-weight: 800;
}

.popupCartItems-wrap .quantity-product-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.popupCartItems-wrap .quantity-product-wrapper label,
.popupCartItems-wrap .quantity-product-wrapper .label {
    display: none;
}

.popupCartItems-wrap .quantity-product-wrapper .quantity-number {
    display: flex;
}

.popupCartItems-wrap .quantity-product-wrapper .quantity-number .qty-input {
    width: 40px;
    height: 40px;
    text-align: center;
}

.popupCartItems-wrap .quantity-product-wrapper .quantity-number button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: none;
}

.popupCartItems-wrap .quantity-product-wrapper .quantity-number button:hover {
    background-color: #ddd;
}

.popupCartItems-wrap .quantity-product-wrapper .quantity-number .button-minus {
    border-right: none;
}

.popupCartItems-wrap .quantity-product-wrapper .quantity-number .button-plus {
    border-left: none;
}

span.remove-button {
    background-color: transparent;
    background-image: url('remove-cross.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 15px;
    border: 0;
    color: #444;
    font-weight: 400;
    font-size: 14px;
    padding: 0 0 0 20px;
    cursor: pointer;
}

#flyout-cart .mini-shopping-cart span.remove-button {
    padding: 15px;
    background-size: 20px;
    background-position: center;
}

.value-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 0 10px;
}

.totalAmt-wrap.value-wrap span {
    font-size: 23px;
    color: #444;
    font-weight: 800;
    line-height: 26px;
}

.productAddedToCartWindowSummary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    margin: 25px 0 0;
}

button.checkout-button,
button.cart-button,
button.productAddedToCartWindowCheckout,
button.continueShoppingLink {
    padding: 10px 15px;
    background-color: #4ab2f1;
    text-transform: uppercase;
    color: #fff;
    font-size: 13px;
    border: 0;
    box-shadow: none;
    width: 100%;
    display: inline-block;
    transition: .2s ease-in-out;
}

button.cart-button,
button.productAddedToCartWindowCheckout {
    background-color: #0A2137;
}

button.continueShoppingLink:hover,
button.checkout-button:hover,
button.cart-button:hover {
    background-color: #248ece;
}

button.cart-button:hover,
button.productAddedToCartWindowCheckout:hover {
    background-color: #2F3944;
}

.productAddedToCartWindowSummary>div {
    flex: 0 0 calc(50% - 8px);
}

.popupCartItems-wrap {
    height: calc(100% - 230px - 72px - 117px + 25px);
    overflow: auto;
    padding-right: 0;
}

#flyout-cart .mini-shopping-cart .items::-webkit-scrollbar,
.popupCartItems-wrap::-webkit-scrollbar {
    width: 5px;
}

#flyout-cart .mini-shopping-cart .items::-webkit-scrollbar-track,
.popupCartItems-wrap::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #2F3944;
    border-radius: 5px;
    visibility: hidden;
    transition: .2s ease-in-out;
}

#flyout-cart .mini-shopping-cart .items::-webkit-scrollbar-thumb,
.popupCartItems-wrap::-webkit-scrollbar-thumb {
    background: #2F3944;
    border-radius: 5px;
    visibility: hidden;
    transition: .2s ease-in-out;
}

#flyout-cart .mini-shopping-cart .items::-webkit-scrollbar-thumb:hover,
.popupCartItems-wrap::-webkit-scrollbar-thumb:hover {
    background-color: #E7E7E7;
}

#flyout-cart .mini-shopping-cart .items:hover::-webkit-scrollbar-thumb,
#flyout-cart .mini-shopping-cart .items:hover::-webkit-scrollbar-track,
.popupCartItems-wrap:hover::-webkit-scrollbar-thumb,
.popupCartItems-wrap:hover::-webkit-scrollbar-track {
    visibility: visible;
}

.popup-bottom-content-wrap {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nopAjaxCartSidebar .progress {
    width: 100%;
    height: 14px;
    background: #808080;
    border-radius: 15px;
    max-width: 100%;
    margin: 0 0 15px;
    overflow: hidden;
}

.nopAjaxCartSidebar .progress>.progress-bar {
    height: 100%;
    border-radius: 15px;
    background-color: #4ab2f1;
    width: 100%;
    background-size: 200% auto;
    background-position: 0 100%;
    animation: gradient 5s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
}

.nopAjaxCartSidebar .progress>.progress-bar.full-bar {
    background-color: #4ab2f1;
    background-size: 200% auto;
    background-position: 0 100%;
    animation: gradient 5s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;

}

.nopAjaxCartSidebar p.text {
    color: #444;
    max-width: calc(100% - 40px);
    text-align: left;
    line-height: 1.1;
}

.nopAjaxCartSidebar .full-bar-text p.text {
    color: #4ab2f1;
}

.nopAjaxCartSidebar .full-bar-text .truck-c {
    fill: #4ab2f1;
}

.nopAjaxCartSidebar div#free-shipping-progress-bar-div {
    padding: 25px 0;
    margin: 0 0 10px;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.popup-top-content-wrap {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

.popup-top-content-wrap>* {
    width: 100%;
}

div#free-shipping-progress-bar-div:empty {
    display: none;
}

#flyout-cart .mini-shopping-cart .name {
    margin: 0 0 10px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

#mini-cart-popup .new-price * {
    font-size: 17px;
    font-weight: 800;
}

#mini-cart-popup .new-price .inc-price * {
    font-size: 14px;
    font-weight: 500;
}

#mini-cart-popup .mini-cart-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 40px;
    border-top: 1px solid #EFF0F2;
    padding-top: 40px;
}

#mini-cart-popup .mini-cart-bottom>.add-to-cart,
.type-qty-wrap.attributes-qty {
    width: 60px;
    text-align: center;
    margin: 0;
}

#mini-cart-popup .add-to-cart-box .atc-button {
    background: none;
    border: 1px solid #131921;
    color: #131921;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    padding: 10px 40px;
}

#mini-cart-popup .add-to-cart-box .atc-button:hover {
    background-color: #131921;
    color: #fff;
}

#mini-cart-popup .attributes {
    margin: 0;
}

#mini-cart-popup .popupCartItems-wrap .attributes dl.withAttrQty {
    display: none;
}

#mini-cart-popup .tier-prices>.title,
#mini-cart-popup .attributes dt {
    text-align: left;
}

#mini-cart-popup .tier-prices>.title strong,
#mini-cart-popup .attributes dt label {
    font-size: 16px;
    font-weight: 600;
}

#mini-cart-popup .add-to-cart .quantity-number input {
    width: 100%;
    height: 40px;
    text-align: center;
    border-radius: 6px;
}

#mini-cart-popup .popupCartItems-wrap {
    height: calc(100% - 42px - 123px - 24px - 80px);
}

#mini-cart-popup .attributes ul.option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#mini-cart-popup .attributes ul.option-list li {
    position: relative;
    margin: 0;
    display: flex;
    flex: 0 0 auto;
    gap: 5px;
}

#mini-cart-popup .attributes ul.option-list li label {
    border: 1px solid #ddd;
    background-color: transparent;
    font-size: 14px;
    padding: 5px 15px;
    margin: 5px 0;
    width: 100%;
    display: inline-block;
    text-align: center;
    line-height: 1.3;
}

#mini-cart-popup .attributes ul.option-list li input[type="radio"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

#mini-cart-popup .attributes ul.option-list li input[type="radio"]:checked+label {
    color: #fff;
    background-color: #444;
    border-color: #444;
}

#mini-cart-popup .attributes ul.option-list li [type="checkbox"]+label {
    border: none;
    padding: 0;
}

#mini-cart-popup .tier-prices .prices-table .title {
    font-size: 14px;
    font-weight: 800;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #eff0f1;
    padding: 5px 10px;
    border-radius: 5px;
}

#mini-cart-popup .tier-prices .prices-table .title * {
    font-size: 14px;
    font-weight: 800;
}

#mini-cart-popup .tier-prices .prices-row.thead {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 10px;
}

#mini-cart-popup .tier-prices .prices-row:not(:last-child) {
    border-bottom: 1px solid #d5d7da;
}

#mini-cart-popup .tier-prices .prices-row.tbody {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 16px;
}

#mini-cart-popup .tier-prices .field-header {
    font-size: 14px;
    text-align: left;
}

#mini-cart-popup .tier-prices .item-quantity {
    font-size: 14px;
}

#mini-cart-popup .tier-prices .item-price {
    font-size: 14px;
    color: var(--dark-blue-color);
    background: transparent;
}

.close-cross {
    position: absolute;
    top: 0;
    right: 0px;
    width: 20px;
    height: 20px;
    background-image: url('cross.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 1;
    cursor: pointer;
}

.overview-mini-cart.attributes-box {
    max-width: 100%;
}

.nopAjaxCartSidebar .freebie-wrap {
    width: 100%;
    text-align: left;
}

.nopAjaxCartSidebar .freebie-wrap>span {
    font-size: 14px;
    font-weight: 800;
}

.nopAjaxCartSidebar .freebie-inner * {
    font-size: 14px;
    line-height: 1.2;
    width: auto;
}

.nopAjaxCartSidebar .freebie-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #E0F3FF;
    border: 1px solid #B6DAF0;
    border-radius: 4px;
    padding: 4px 15px;
    margin: 4px 0;
}

.nopAjaxCartSidebar .freebie-inner .detail-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: calc(100% - 60px);
    align-items: center;
}

.nopAjaxCartSidebar .freebie-inner .imageSection {
    height: 32px;
    width: 32px;
}

.nopAjaxCartSidebar .freebie-inner .free-pr-name {
    width: calc(100% - 52px);
}

.nopAjaxCartSidebar .freebie-inner .imageSection img {
    aspect-ratio: 1 / 1;
    width: 32px;
    object-fit: contain;
}

.nopAjaxCartSidebar .freebie-inner .imageSection a {
    display: inline-block;
    height: 32px;
}

.overview-mini-cart .prices {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 15px;
}

.overview-mini-cart .prices label {
    display: none;
}

.prices .product-price {
    font-size: 20px;
    font-weight: 700;
    order: 1;
}

.prices .old-product-price {
    order: 2;
    font-size: 14px;
    text-decoration: line-through;
    color: #ddd;
}

.gotoproduct-wrap {
    width: 100%;
    margin-top: 10px;
}

.gt-gotoproduct {
    display: block;
    text-align: center;
    background-color: #444;
    color: #fff;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    font-size: 14px;
}

.gt-gotoproduct:hover {
    background-color: #fff;
    color: #444;
}

@media(max-width: 767px) {
    .nopAjaxCartSidebar p.text {
        font-size: 14px;
    }

    #mini-cart-popup .overview-mini-cart.add-to-cart-box,
    #mini-cart-popup .mini-cart-bottom>.add-to-cart,
    .type-qty-wrap.attributes-qty {
        width: 45%;
    }

    .productAddedToCartWindowTitle {
        font-size: 20px;
    }

    .product-name {
        font-size: 17px;
    }

    #mini-cart-popup,
    .nopAjaxCartSidebar {
        padding: 20px;
    }

    .totalAmt-wrap.value-wrap span {
        font-size: 20px;
    }

    button.productAddedToCartWindowCheckout,
    a.continueShoppingLink {
        font-size: 14px;
        padding: 15px 30px;
    }
}

@media(max-width: 567px) {
    .productAddedToCartWindowSummary>div {
        flex: 0 0 100%;
    }

    .popupCartItems-wrap {
        height: calc(100% - 268px - 72px - 154px);
    }
}

@keyframes gradient {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -200% 0;
    }
}
