#mini-cart-popup,
.nopAjaxCartSidebar {
    position: fixed;
    top: 0;
    right: -550px; /* Initially off-screen */
    padding: 20px;
    background-color: white;
    transition: right 0.3s ease;
    z-index: 1050;
    height: 100% !important;
    width: 100%;
    max-width: 550px;
    overflow: auto;
}

.nopAjaxCartBackdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: gray;
    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;
}
#mini-cart-popup,
.nopAjaxCartSidebar {
    width: 650px;
    border-radius: 16px 0 0 16px;
    box-shadow: 3px 4px 32px 0px #2f394426;
    padding: 40px;
    right: -100%;
    max-width: 100%;
}
.productAddedToCartWindowTitle {
    font-size: 36px;
    line-height: 42px;
    font-weight: 800;
    text-align: left;
    margin: 0 0 24px;
}
.productAddedToCartItem.popupCartItems {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px 20px 0;
    border-bottom: 1px solid #e7e7e7;
    margin: 0 0 20px;
}
.productAddedToCartItem.popupCartItems:last-child {
    border-bottom: none;
}
.productAddedToCartWindowImage {
    flex: 0 0 30%;
}
.productAddedToCartWindowImage img {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1 / .8;
}
.productAddedToCartWindowDescription {
    flex: 0 0 calc(70% - 10px);
    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;
}
h2.product-name {
    font-size: 17px;
    line-height: 23px;
    font-weight: 800;
    color:#000;
    margin-bottom: 6px;
}
h2.product-name a {
    font-size:inherit;
    line-height:inherit;
    font-weight: inherit;
    color:inherit;
}
.product-meta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    margin: 0 0 20px;
}
.product-meta-wrap span,
.product-meta-wrap span *{
    font-size: 14px;
    color: #000;
    font-weight: 500;
}
.reversed-price.product-price span {
    color: #000;
    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;
}
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: #000;
    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: #000;
    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 35px !important;
  background: #EA303A !important;
  border-radius: 50px !important;
  color: #000 !important;
  font-size: 16px !important;
  /* font-weight: 700!important; */
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  display: inline-block !important;
  transition: .2s ease-in-out;
}
button.cart-button,
button.productAddedToCartWindowCheckout {
  background: #FFB00F !important;
}
  button.continueShoppingLink:hover,
  button.checkout-button:hover,
  button.cart-button:hover {
    background: #EA303A !important;
  }
  button.cart-button:hover,
  button.productAddedToCartWindowCheckout:hover {
    background: #FFB00F !important;
  }
.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: #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;
}

div#flyout-cart {
    background-color: transparent;
    top: 90%;
    width: 500px;
    max-width: 90vw;
    box-shadow: none;
    position: absolute;
    right: 0;
    z-index: 100;
}
#flyout-cart .mini-shopping-cart .items {
    border: none;
    max-height: 290px;
    overflow: auto;
    padding: 0 5px 0 0;
    margin: 0;
}
#flyout-cart .mini-shopping-cart .items .item {
    border-bottom: 1px solid #B7B7B7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
#flyout-cart .mini-shopping-cart .items .item:last-child {
    border: none;
}
#flyout-cart .mini-shopping-cart {
    padding: 24px 16px 0;
    border-radius: 16px;
    box-shadow: 3px 4px 32px #2F394426;
    background-color: #fff;
    width: 100%;
    margin: 20px 0 0;
}

#flyout-cart .mini-shopping-cart .name a {
    font-size: 17px;
    color: inherit;
    font-weight: 500;
    line-height: 22px;
    width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

#flyout-cart .mini-shopping-cart .picture img {
    width: 56px;
    height: 47px;
    object-fit: contain;
}

#flyout-cart .mini-shopping-cart .picture {width: 56px;}

#flyout-cart .mini-shopping-cart .picture+.product {
    margin: 0;
    width: calc(100% - 66px);
}
#flyout-cart .mini-shopping-cart .price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
#flyout-cart .mini-shopping-cart .price * {
    font-weight: 800;
}

#flyout-cart .mini-shopping-cart * {
    color: #000;
}
#flyout-cart .mini-shopping-cart .attributes {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #000;
    font-weight: bold;
}
#flyout-cart .mini-shopping-cart .attributes br {
    display: none;
}
#flyout-cart .mini-shopping-cart .count a {
    color: #000;
    line-height: 1;
    font-weight: normal;
    font-size: 14px;
}

#flyout-cart .mini-shopping-cart .count {
    font-size: 0;
}
.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: repeating-linear-gradient(to right,#0C1621 0%,#5C636A 50%,#0C1621 100%);
    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: repeating-linear-gradient(to right,#0C1621 0%,#5C636A 50%,#0C1621 100%);
    background-size: 200% auto;
    background-position: 0 100%;
    animation: gradient 5s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
  }
.nopAjaxCartSidebar p.text {
    color: #000;
    max-width: calc(100% - 40px);
    text-align: left;
    line-height: 1.1;
}
.nopAjaxCartSidebar .full-bar-text p.text {
    color: #000;
}
.nopAjaxCartSidebar .full-bar-text .truck-c {
  fill: #000;
}
.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: calc(100% - 345px);
    margin: 0;
}
#mini-cart-popup .overview-mini-cart.add-to-cart-box.buttons.sp-add-to-cart-gt {
    margin: 0;
    width: 330px;
}
#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: 800;
}
#mini-cart-popup .add-to-cart .quantity-number input {
    width: 100%!important;
}
#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;
    flex: 0 0 auto;
}

#mini-cart-popup .attributes ul.option-list li label {
    border: 2px solid var(--yellow-color);
    color: var(--dark-blue-color);
    background-color: transparent;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 50px;
    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: var(--yellow-color);
}
#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: 10px;
    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!important;
    line-height: 1.2!important;
    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;
}
@media(max-width: 767px) {
    .nopAjaxCartSidebar p.text {
        font-size: 14px;
    }
    #mini-cart-popup .overview-mini-cart.add-to-cart-box.buttons.sp-add-to-cart-gt,
    #mini-cart-popup .mini-cart-bottom>.add-to-cart, .type-qty-wrap.attributes-qty {
        width: 45%;
    }
    .productAddedToCartWindowTitle {
        font-size: 20px;
    }
    h2.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; }
  }