/* CART */
#cart {
    margin: 0;
}

#cart.cart-sidebar {
	/*height: 100%;
	width: 100%;*/
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

#cart.cart-sidebar button #cart-total{
    width: 2rem;
    height: 2rem;
    line-height: 2.2rem;
    font-size: 1rem;
    background: var(--bg-primary);
    color: #fff;
    position: absolute;
    top: 15px;
    text-align: center;
    font-weight: 400;
    right: -10px;
    letter-spacing: -0.1em;
    border-radius: 100%;
    -webkit-border-radius: 100%;
}

#cart .dropdown-menu .table-bordered {
    border: 0;
    margin: 0;
}

#cart.cart-sidebar button {
    width: 60px;
    height: 60px;
	margin: 0;
	padding: 0;
    color: var(--bg-primary);
	border: solid 2px var(--bg-primary);
    border-radius: 50%;
	background: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    text-shadow: none;
	font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 4.6rem;
	transition: 0.3s;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	gap: 0.5rem;
}

#cart.cart-sidebar .fa {
	color: var(--bg-primary);
	font-size: 2rem;
}

#cart.cart-sidebar .cart-dropdown-menu-close .fa {
	color: var(--bg-primary);
	font-size: 2rem;
}

#cart.cart-sidebar button.button-cart-remove .fa {
	color: var(--bg-primary);
	font-size: 2rem;
}

/* CART DROPDOWN */
#cart.cart-sidebar .dropdown-menu {
	background: #ffffff;
	color: #000000;
    z-index: 9999;
    position: fixed;
    right: 0;
    top: 0;
    margin: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    height: 100%;
    width: 90%;
	min-width: 37.5rem;
    max-width: 37.5rem;
    padding: 3rem;
    font-size: 1.4rem;
    border: 0;
    overflow: auto;
}

#cart.open>.btn {
    background-image: none;
    background-color: transparent;
    border: none;
    color: #666;
    box-shadow: none;
    text-shadow: none;
}

#cart .dropdown-menu .table-striped>tbody>tr {
    background: #ffffff;
    display: block;
    position: relative;
    padding-right: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

#cart .dropdown-menu .table>tbody>tr>td, #cart .dropdown-menu .table>tbody>tr>th, #cart .dropdown-menu .table>tfoot>tr>td, #cart .dropdown-menu .table>tfoot>tr>th, #cart .dropdown-menu .table>thead>tr>td, #cart .dropdown-menu .table>thead>tr>th {
    border: 0;
    padding: 0;
}

#cart .dropdown-menu >li:last-child:not(:first-child) p {
    margin-bottom: 0;
    padding-top: 3rem;
    margin-top: 2rem;
    border-top: 1px solid #ebebeb;
}

#cart .dropdown-menu >li:last-child p > a {
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 4.6rem;
    font-size: 1.3rem;
    background: var(--bg-primary);
    font-weight: 500;
    outline-offset: 0;
    justify-content: center;
}

#cart .dropdown-menu >li:last-child p > a i {
    color: var(--primary);
    margin-right: 5px;
}

#cart .dropdown-menu >li:last-child p > a strong {
    margin-top: 1.5px;
}

#cart.cart-sidebar .dropdown-menu .table-totals {
	margin-bottom: 10px;
}

#cart .clear {	
    text-align: center;
    width: 100%;
    border: 1px solid var(--bg-primary) !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#cart .clear a {
    background-color: #ffffff !important;
    color: var(--bg-primary) !important;
    height: 4.6rem;
}

#cart .clear:hover {
    color: var(--bg-primary) !important;
}

#cart .clear a span {
    line-height: 15px;
}

#cart.cart-sidebar .dropdown-menu li>div {
	min-width: 100%;
    padding: 0px;
}

#cart .dropdown-menu .cart-image {
    min-width: 85px;
}

#cart .dropdown-menu img {
    border: 0;
    border-radius: 0;
    -webkit-border-radius: 0;
    padding: 0;
}

#cart .dropdown-menu .cart-info {
    padding-left: 1rem !important;
}

#cart .dropdown-menu .cart-info a {
    margin-top: 0;
    display: block;
    line-height: 1.8rem;
    color: #000000;
    font-weight: 400;
}

#cart .dropdown-menu a:hover {
    box-shadow: none;
    color: var(--bg-primary);
}

#cart .dropdown-menu .cart-info .cart-quantity {
    color: #000000;
    line-height: 2.4rem;
    display: inline-block;
    vertical-align: top;
    font-size: 1.3rem;
}

#cart .dropdown-menu .cart-info .cart-product-price {
    color: #000000;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.4rem;
    display: inline-block;
    vertical-align: top;
}

#cart.cart-sidebar .dropdown-menu .cart-info p {
    margin-bottom: 0;
    margin-top: 0.7rem;
}

#cart.cart-sidebar .button-cart-remove {
    border: 0;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    padding: 0;
    text-align: center;
    box-shadow: none;
    -webkit-box-shadow: none;
    background: none;
    font-size: 2rem;
    color: #888;
    font-weight: 400;
    text-shadow: none;
    position: absolute;
    right: 0;
    top: 42%;
    margin-top: -1rem;
}

.cart-dropdown-menu-close {
    position: absolute;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 2.8rem;
    right: 0.5rem;
    top: 0.5rem;
    color: #222;
    cursor: pointer;
}

.disable-scroll {
    overflow: hidden;
}

@media (max-width: 767px){
    #cart.cart-sidebar button .fa-shopping-cart {
        font-size: 25px !important;
        color: var(--bg-primary) !important;
    }

    #cart.cart-sidebar button {
        color: var(--bg-primary);
        border: none;
        background: none;
    }

    .menu-mob {
        background-color: #ffffff !important;
    }
}

@media (max-width: 478px) {
	#cart.cart-sidebar .dropdown-menu {
        width: 100%;
        position: fixed;
        top: 118px;
        border-radius: 0px;
        min-width: inherit;
        max-width: inherit;
	}
	
	.table-striped>tbody>tr:nth-of-type(odd) {
		background-color: transparent !important;
	}

	.dropdown-menu table tbody tr td.text-center {
		padding: 5px;
		width: 20%;
	}

	.dropdown-menu table tbody tr td {
		border-top: none;
        width: 75%;
	}

	.dropdown-menu table tbody tr td > a {
		color: var(--bg-primary);
	}

	.dropdown-menu li p.text-center > a {
		color: var(--bg-primary);
	}

    #cart.cart-sidebar .dropdown-menu li>div {
        position: fixed;
        bottom: 0px;
        left: 0px;
        padding: 10px 30px 10px 30px;
        background-color: #ffffff;
	}

    #cart .dropdown-menu >li:last-child:not(:first-child) p {
        display: flex;
        padding-top: 15px;
        margin-top: 15px;
        justify-content: center;
    }

    #cart .dropdown-menu >li:last-child p > a {
        text-align: center;
        line-height: 0px;
        font-size: 10px;
        font-weight: 500;
        padding: 7px;
        width: 50%;
    }

    #cart .dropdown-menu .table-striped {
        margin-bottom: 215px;
    }

    #cart .dropdown-menu .table-striped>tbody>tr {
        margin-bottom: 10px;
        padding-bottom: 5px;
        font-size: 14px;
    }

    #cart.cart-sidebar .button-cart-remove {
        top: 45.5%;
    }

    #cart .dropdown-menu .cart-info .cart-product-price {
        font-size: 14px;
    }

    #cart .dropdown-menu .cart-image {
        min-width: 70px;
    }

    #cart.cart-sidebar .dropdown-menu .cart-info p {
        margin-top: 3px;
    }

    #cart .clear {	
        border: none !important;
    }
    
    #cart .clear a {
        width: 100% !important;
    }
}
