@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.sum-prices {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#sum-prices {
    padding-left: 5px;
}

.sum-prices h6 {
    font-size: 0.9rem;
}

.shoppingCartButton {
    cursor: pointer;
}

.shoppingCartButton:hover,
.account:hover * {
    color: #0e5e53;
}

#sum-prices .cart-item-count {
	position: absolute;
	top: 0;
	right: -13px;
	width: 20px;
	height: 20px;
	background: #e35f26;
	border-radius: 50%;
	font-size: 12px;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	visibility: hidden;
}
.producstOnCart {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;
    overflow: hidden;
    overflow-y: scroll;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    background-color: #FFFFFF;
	box-shadow: -2px 0 15px rgba(0,0,0,0.5);
	padding: 0px 0px 10px;
    width: 360px;
    height: 100%;
    color: #000000;
    z-index: 15;
    position: fixed;
    top: 0px;
    right: 0;
    text-align: center;
	overflow: auto;
    animation: fade 1s;
}

.producstOnCart::-webkit-scrollbar {
    display: none;
}

@keyframes fade {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: none;
    }
}

.producstOnCart::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.hide {
    display: none;
    visibility: none;
}

.producstOnCart ul {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.producstOnCart .buyItem {
	display: flex;
	align-items: left;
	margin-top: 20px;
	padding: 10px;
}

.producstOnCart img {
	width: 100px;
	height: 100px;
	border-radius: 6px;
	object-fit: cover;
	margin-right: 15px;
}

.producstOnCart .top {
    display: flex;
    background-color: #CCCCCC;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
}

.top button {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    margin-left: 10px;
    color: #000;
    cursor: pointer;
}

.top button:hover {
    color: #e40505;
}

.top h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
}

.producstOnCart > .checkout {
    font-size: 0.9rem;
    margin: 20px auto;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.overlay {
    overflow: hidden;
    display: inline-block;
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: none;
}

.stopScrolling {
    height: 100vh;
    overflow: hidden;
}

/*Plus Minus*/
.cart-quantity {
	display: flex;
	width: 100px;
	border: 1px solid #999;
	border-radius: 6px;
}

.cart-quantity button {
	background: transparent;
	width: 30px;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

.buyItem button {
    background: transparent;
    color: #000;
    cursor: pointer;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 0 6px;
}
.cart-quantity #button-minus {
	color: #999;
}

.cart-quantity .countOfProduct {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
	cursor: default;
}

.producstOnCart .empty {
    justify-self: center;
    margin: 150px auto;
}

.price {
    color: #dd3333;
    text-align: left;
    font-size: 1rem;
}

.links {
    position: relative;
    display: inline-blo;
    margin: auto;
}

.links ul {
    display: flex;
    flex-direction: row;
}

ul .nav-links {
    cursor: pointer;
    color: #FFFFFF;
    text-align: center;
    padding: 15px;
}

.nav-links > a:visited,
.navbar-top > a:visited {
    color: #FFFFFF;
}

.link {
    text-align: center;
    font-size: 0.9rem;
}

@keyframes show_top {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.cart-detail {
	display: grid;
	gap: 8px;
	margin-right: auto;
}

.cart-product-title {
	font-size: 13px;
	line-height: 1;
	width: 100%;
	min-width: 200px;
}

.cart-price {
	font-weight: 500;
}
.cart-remove {
	font-size: 22px;
	cursor: pointer;
	color: #FF6666;
	border: none;
	float: right;
}

<!-- Not Necessary -->
/*
.product-image {
	display: flex;
	align-items: center;
	margin-top: 5px;
}
.product-image img {
	width: 80px;
	height: 80px;
	border-radius: 6px;
	object-fit: cover;
	margin-right: 0px;
}
.product-summary {
    font-size: 0.9rem;
    position: relative;
    padding: 10px 5px;
    height: 38%;
}
*/
<!-- END NN -->



.product-summary > .price {
    position: absolute;
    left: 20px;
    bottom: 0;
}
.total {
	display: flex;
	jutify-content: flex-end;
	align-items: center;
	border-top: 1px solid #CCCCCC;
	margin-top: 20px;
	padding-left: 10px;
	font-size: 16px;
}
.total-price{
	margin-left: 10px;
	font-weight: 600;
}
