/*********************************
Shopping Cart Drawer
*********************************/

.add_to_cart_button.in_cart
{
	background: #000000;
}

.add_to_cart_button.in_cart:hover
{
	background: #33333b !important;
}

.cart_overlay
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(30, 30, 39, 0.5);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}

.cart_overlay.active
{
	opacity: 1;
	visibility: visible;
}

.cart_drawer
{
	position: fixed;
	top: 0;
	right: 0;
	width: 360px;
	max-width: 90%;
	height: 100%;
	background: #ffffff;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	box-shadow: -4px 0 24px rgba(30, 30, 39, 0.2);
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.cart_drawer.active
{
	transform: translateX(0);
}

.cart_header
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: solid 1px #ebebeb;
}

.cart_header h4
{
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #000000;
}

.cart_close
{
	border: none;
	background: transparent;
	font-size: 20px;
	color: #000000;
	cursor: pointer;
	line-height: 1;
}

.cart_close:hover
{
	color: #fe4c50;
}

.cart_items
{
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 10px 20px;
}

.cart_empty
{
	text-align: center;
	color: #8b8b95;
	font-size: 14px;
	padding: 40px 0;
}

.cart_item
{
	display: flex;
	align-items: center;
	padding: 14px 0;
	border-bottom: solid 1px #f0f0f0;
}

.cart_item_img
{
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	margin-right: 12px;
	overflow: hidden;
	background: #f6f6f6;
}

.cart_item_img img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart_item_info
{
	flex: 1 1 auto;
	min-width: 0;
}

.cart_item_name
{
	font-size: 13px;
	color: #000000;
	line-height: 1.35;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cart_item_price
{
	font-size: 13px;
	font-weight: 600;
	color: #fe4c50;
	margin-bottom: 6px;
}

.cart_item_qty
{
	display: flex;
	align-items: center;
}

.cart_qty_btn
{
	width: 24px;
	height: 24px;
	border: solid 1px #ebebeb;
	background: #ffffff;
	color: #000000;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cart_qty_btn:hover
{
	background: #fe4c50;
	color: #ffffff;
	border-color: #fe4c50;
}

.cart_qty_value
{
	min-width: 32px;
	text-align: center;
	font-size: 13px;
	color: #000000;
}

.cart_remove
{
	border: none;
	background: transparent;
	color: #b5aec4;
	cursor: pointer;
	font-size: 15px;
	margin-left: 10px;
	flex-shrink: 0;
}

.cart_remove:hover
{
	color: #fe4c50;
}

.cart_footer
{
	border-top: solid 1px #ebebeb;
	padding: 18px 20px 22px;
}

.cart_total
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: 600;
	color: #000000;
}

.cart_whatsapp
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 46px;
	background: #25d366;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.3s ease;
}

.cart_whatsapp:hover
{
	background: #1ebe5b;
	color: #ffffff;
	text-decoration: none;
}

.cart_whatsapp i
{
	margin-right: 8px;
	font-size: 18px;
}

body.cart_open
{
	overflow: hidden;
}
