body.woocommerce-cart .cart-button, body.woocommerce-checkout .cart-button {
  display: none;
}

.cart-button {
	width: max-content;
	padding: 8px 15px;
	display: flex;
	background: #4C8306;
	border-radius: 5px;
	box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.15);
	gap: 12px;
	transition: .3s;
}

.cart-button:hover {
	background: #3E6B05;
	cursor: pointer;
}

.cart-button svg {
	width: 20px;
	fill: #ffffff;
}

.cart-button .cart-total {
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
}

.side-cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: rgba(0, 0, 0, .25);
	display: flex;
	justify-content: flex-end;	
}

.admin-bar .side-cart-overlay {
	top: 32px;
	height: calc(100% - 32px);
}

.side-cart-overlay > .close-side-cart {
  width: 75%;
}

.side-cart-container {
	position: relative;
	right: 0;
	width: 25%;
	background: #ffffff;
	padding-bottom: 20px;
	transition: .6s;
	transform: translatex(100%);
}

.side-cart-container.active {
	transform: translatex(0%);
}

.side-cart-header {
	padding: 5px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 0 10px rgba(0, 0, 0, .15);
}

.side-cart-footer {
	position: absolute;
	bottom: 15px;
	left: 0;
	width: 100%;
  background: #ffffff;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.side-cart-footer .footer-total {
	width: 90%;
	font-size: 18px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.side-cart-footer .cart-btn, .side-cart-footer .checkout-btn {
	width: 90%;
	padding: 10px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .15);
	text-align: center;
	color: #333333 !important;
	font-weight: bold;
	text-transform: uppercase;
	transition: .3s;
}

.side-cart-footer .cart-btn:hover, .side-cart-footer .checkout-btn:hover {
	box-shadow: 0 3px 20px rgba(0, 0, 0, .2);
}

.side-cart-footer .checkout-btn:hover {
	background: #3E6B05;
}

.side-cart-footer .checkout-btn {
	background: #4C8306;
	color: #ffffff !important;
}

.close-side-cart:hover {
	cursor: pointer;
}

.cart-items-container  {
	padding: 20px 10px;
	max-height: 70vh;
	overflow-Y: auto;
}

#cart-items .product-item {
	padding-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

#cart-items .product-item img {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

#cart-items .product-item .product-name {
	color: #333333;
}

#cart-items .product-item .product-name:hover {
	color: #3E6B05;
}

#cart-items .product-item .product-name .free-shipping-label {
	font-size: 14px;
	font-weight: 500;
}

#cart-items .product-item .product-amount {
	color: #4C8306;
	font-weight: 600;
}

#cart-items .product-item .remove-product {
	padding: 0;
	border: 0;
	background: none;
	color: #4C8306;
	font-size: 14px;
	font-weight: 500;
}

#cart-items .product-item .remove-product:hover {
	color: #3E6B05;
}

@media(min-width: 1600px) {
	.side-cart-container {
		width: 20%;
	}
  
  .side-cart-overlay > .close-side-cart {
    width: 80%;
  }
}

@media(max-width: 768px) {
  .side-cart-overlay > .close-side-cart {
    display: none;
  }

	.side-cart-container {
		width: 100%;
		right: 0;
	}

	.cart-items-container {
		max-height: 60vh;
	}

	.footer-menu-action .cart-button .cart-total {
		display: none;
	}
}