.cart-dropdown {
position: fixed;
right: -600px;
top: 0;
bottom: 0;
z-index: 101;
transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
}
@media only screen and (max-width: 767px) {
.cart-dropdown {
width: 100%;
right: -100%;
}
}
.cart-dropdown .cart-content-wrap {
background-color: var(--color-white);
padding: 60px 50px;
width: 600px;
height: 100%;
display: flex;
flex-direction: column;
overflow: auto;
}
@media only screen and (max-width: 767px) {
.cart-dropdown .cart-content-wrap {
width: 100%;
padding: 30px;
}
}
@media only screen and (max-width: 479px) {
.cart-dropdown .cart-content-wrap {
padding: 30px 15px;
}
}
.cart-dropdown .cart-content-wrap::-webkit-scrollbar {
width: 8px;
border-radius: 10px;
}
.cart-dropdown .cart-content-wrap::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
transition: 0.5s;
}
.cart-dropdown .cart-content-wrap::-webkit-scrollbar-thumb {
background: var(--color-lightest);
border-radius: 10px;
transition: 0.5s;
}
.cart-dropdown .cart-content-wrap::-webkit-scrollbar-thumb:hover {
background: var(--color-primary);
}
.cart-dropdown .cart-header {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2px solid #F6F7FB;
padding-bottom: 18px;
}
.cart-dropdown .cart-body {
padding: 30px 0;
flex: auto;
}
.cart-dropdown .cart-item {
display: flex;
align-items: center;
margin-bottom: 30px;
border-bottom: 1px solid #F6F7FB;
padding-bottom: 30px;
}
@media only screen and (max-width: 479px) {
.cart-dropdown .cart-item {
align-items: flex-start;
}
}
.cart-dropdown .cart-item:last-child {
margin-bottom: 0;
border-bottom: none;
}
.cart-dropdown .cart-item .item-img {
margin-right: 30px;
position: relative;
}
@media only screen and (max-width: 479px) {
.cart-dropdown .cart-item .item-img {
margin-right: 15px;
}
}
.cart-dropdown .cart-item .item-img a {
display: block;
background-color: #F6F7FB;
border-radius: 10px;
}
@media only screen and (max-width: 767px) {
.cart-dropdown .cart-item .item-img a {
width: 70px;
}
}
.cart-dropdown .cart-item .item-img a img {
border-radius: 10px;
height: 100px;
width: 100px;
object-fit: cover;
}
.cart-dropdown .cart-item .item-content {
flex: 1;
position: relative;
padding-right: 110px;
}
@media only screen and (max-width: 479px) {
.cart-dropdown .cart-item .item-content {
padding-right: 0;
}
}
.cart-dropdown .cart-item .product-rating {
margin-bottom: 14px;
font-size: 10px;
transition: var(--transition);
}
.cart-dropdown .cart-item .product-rating i {
color: #FFDC60;
}
.cart-dropdown .cart-item .product-rating .rating-number {
margin-left: 5px;
font-weight: 500;
}
.cart-dropdown .cart-item .item-title {
font-size: 16px;
color: var(--color-black);
margin-bottom: 10px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
@media only screen and (max-width: 767px) {
.cart-dropdown .cart-item .item-title {
font-size: 16px;
margin-bottom: 15px;
}
}
@media only screen and (max-width: 479px) {
.cart-dropdown .cart-item .item-title {
margin-bottom: 5px;
}
}
.cart-dropdown .cart-item .item-price {
font-size: 18px;
font-family: var(--font-secondary);
color: var(--color-black);
}
@media only screen and (max-width: 767px) {
.cart-dropdown .cart-item .item-price {
font-size: 16px;
margin-top: 10px;
}
}
.cart-dropdown .cart-item .item-quantity {
display: flex;
align-items: center;
position: absolute;
top: 50%;
right: 0;
transform: translateY(-50%);
justify-content: flex-end;
}
@media only screen and (max-width: 479px) {
.cart-dropdown .cart-item .item-quantity {
position: initial;
transform: translateY(0);
justify-content: flex-start;
margin-top: 8px;
}
}
.cart-dropdown .cart-item .item-quantity .qtybtn {
text-align: center;
height: 26px;
width: 26px;
line-height: 20px;
font-size: 18px;
color: var(--color-black);
background-color: #F6F7FB;
border-radius: 50%;
transition: all 0.3s ease-in-out;
}
.cart-dropdown .cart-item .item-quantity .qtybtn:hover {
background-color: var(--color-primary);
color: var(--color-white);
}
.cart-dropdown .cart-item .item-quantity .quantity-input {
font-size: 16px;
font-weight: 600;
color: #27272E;
height: 26px;
width: 30px;
border: none;
text-align: center;
padding: 0;
}
.cart-dropdown .cart-item .item-quantity input::-webkit-outer-spin-button,
.cart-dropdown .cart-item .item-quantity input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.cart-dropdown .cart-item .item-quantity input[type=number] {
-moz-appearance: textfield;
appearance: textfield;
}
.cart-dropdown .cart-footer {
border-top: 2px solid #F6F7FB;
}
.cart-dropdown .cart-footer .cart-subtotal {
display: flex;
align-items: center;
justify-content: space-between;
margin: 22px 0 30px;
color: var(--color-black);
font-size: 20px;
}
.cart-dropdown .cart-footer .cart-subtotal .subtotal-amount {
font-weight: 700;
}
.cart-dropdown .cart-footer .group-btn {
display: grid;
grid-template-columns: repeat(2, 1fr);
column-gap: 20px;
}
@media only screen and (max-width: 575px) {
.cart-dropdown .cart-footer .group-btn {
display: block;
}
}
.cart-dropdown .cart-footer .group-btn .rbt-btn {
text-align: center;
}
.cart-dropdown .cart-footer .group-btn .rbt-btn:hover:before {
transform: scale(1.05);
}
@media only screen and (max-width: 575px) {
.cart-dropdown .cart-footer .group-btn .rbt-btn {
display: block;
margin-bottom: 10px;
}
}
.cart-dropdown.open {
right: 0;
}
body.open .closeMask {
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.6);
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 6;
transition: 0.3s;
}
.elementor-add-section-area-button.rainbow-add-template-button {
margin-left: 8px;
vertical-align: bottom;
display: flex;
align-items: center;
justify-content: center;
}
.elementor-add-section-area-button.rainbow-add-template-button img {
height: 20px!important;
width: 20px!important;
}