
.cart-dropdown.cart-offcanvas .products {
border-top: 1px solid #eee;
}
.cart-overlay.opened {
opacity: 1;
visibility: visible;
}
.hide-scroll{
overflow-y: hidden;
}
body > div.cart-overlay.opened .dropdown-box {
right: 0;
}
.cart-dropdown.cart-offcanvas .dropdown-box {
position: fixed;
top: 0;
right: -34rem;
max-width: 24rem;
margin-top: 0;
padding: 2.4rem 2rem 2rem;
width: 100%;
height: 100vh;
min-width: auto;
padding: 2.9rem 3rem;
opacity: 1;
visibility: visible;
-webkit-transition: right 0.3s;
transition: right 0.3s;
-webkit-transform: none;
transform: none;
z-index: 2499;
-webkit-box-shadow: none;
box-shadow: none;
}
.cart-dropdown .dropdown-box {
padding: 1rem 3rem 3rem;
min-width: 30rem;
margin-top: 0.5rem;
}
.dropdown-box {
position: fixed;
right: 0;
top: -9999px;
padding: 0.5rem 0;
color: #666;
background-color: #fbfbfb;
-webkit-box-shadow: 0 4px 20px -8px rgb(0 0 0 / 30%);
box-shadow: 0 4px 20px -8px rgb(0 0 0 / 30%);
z-index: 1000;
visibility: hidden;
opacity: 0;
-webkit-transition: -webkit-transform 0.2s ease-out;
transition: -webkit-transform 0.2s ease-out;
transition: transform 0.2s ease-out;
transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out;
-webkit-transform: translate3d(0, -10px, 0);
transform: translate3d(0, -10px, 0);
}
.cart-overlay {
position: fixed;
left: 0;
width: 100%;
top: 0;
height: 100%;
background: rgba(0, 0, 0, 0.3);
z-index: 2498;
opacity: 0;
visibility: hidden;
-webkit-transition: opacity 0.3s;
transition: opacity 0.3s;
}
@media (max-width: 479px){
.cart-dropdown.cart-offcanvas .dropdown-box {
max-width: 17rem;
padding: 1.5rem;
}
}
.cart-dropdown .cart-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
text-transform: uppercase;
margin-bottom: 1.4rem;
font-weight: 900;
}
.cart-dropdown .cart-header a {
padding: 0;
font-size: 1.4rem;
font-weight: 400;
color: #666;
text-transform: capitalize;
cursor: pointer;
}
.product.product-cart .product-detail {
-webkit-box-flex: 2;
-ms-flex: 2;
flex: 2;
line-height: 1.3rem;
}
.product-media {
position: relative;
margin-bottom: 0;
-webkit-transition: -webkit-box-shadow 0.35s;
transition: -webkit-box-shadow 0.35s;
transition: box-shadow 0.35s;
transition: box-shadow 0.35s, -webkit-box-shadow 0.35s;
}
.product.product-cart .product-media {
flex: 1;
}
.product.product-cart {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
position: relative;
padding: 2rem 0 0;
}
.product {
position: relative;
font-family: Poppins, sans-serif;
font-size: 1rem;
color: #020101;
-webkit-transition: opacity 0.3s, -webkit-box-shadow 0.3s;
transition: opacity 0.3s, -webkit-box-shadow 0.3s;
transition: box-shadow 0.3s, opacity 0.3s;
transition: box-shadow 0.3s, opacity 0.3s, -webkit-box-shadow 0.3s;
}
.product.product-cart .btn-close {
position: absolute;
top: 0;
right: 0rem;
width: 1rem;
height: 1rem;
border-radius: 50%;
-webkit-box-shadow: 0px 3px 5px 2px rgb(0 0 0 / 20%);
box-shadow: 0px 3px 5px 2px rgb(0 0 0 / 20%);
color: #fff;
background-color: #1266f1;
padding-bottom: 0;
opacity: 1;
display: flex;
justify-content: center;
align-items: center;
}
.btn-link {
padding: 0;
border: 0;
background: transparent;
}
.product-media img {
display: block;
max-width: 100%;
height: auto;
-webkit-transition: opacity 0.4s;
transition: opacity 0.4s;
}
.cart-dropdown .cart-total {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
margin-bottom: 1rem;
padding: 1.8rem 0;
font-size: 1.4rem;
font-weight: 600;
color: #333333;
line-height: 1;
text-transform: capitalize;
letter-spacing: -0.025em;
}
.product.product-cart .product-name {
white-space: normal;
padding: 0;
font-size: .9rem;
line-height: 1;
margin-bottom: .5rem;
}
.cart-dropdown .products {
max-height: 60vh;
border-bottom: 1px solid #eee;
padding-bottom: 2.1rem;
overflow-y: hidden;
padding-right: .8rem;
overflow-y: auto;
}
.cart-dropdown .products::-webkit-scrollbar-thumb {
background: transparent;
transition: background .3s ease-in-out;
}
.cart-action{
display: flex;
justify-content: center;
align-items: center;
} 
.bg-square {
background-image: linear-gradient(rgba(255, 255, 255, 0) 2px, transparent 2px), linear-gradient(
323deg, rgba(255, 255, 255, 0) 2px, transparent 2px), linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px), linear-gradient(
58deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
background-size: 5px 5px, 5px 5px, 5px 5px, 5px 5px;
background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: .5;
}
@media screen 
and (min-device-width: 1366px) 
and (-webkit-min-device-pixel-ratio: 1) { 
.cart-dropdown .products::-webkit-scrollbar-thumb {
border-radius: 6px;
min-height: 200px;
background: linear-gradient(60deg, #0850c7 0%, #007bff 93% 45%);
} 
.cart-dropdown .products::-webkit-scrollbar {
width: 6px;
position: absolute;
}
.cart-dropdown:hover .products::-webkit-scrollbar-thumb {
background: linear-gradient(60deg, #0850c7 0%, #007bff 93% 45%);
}
}