.pp-cart-icon {
	position: relative;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: inherit;
}

.pp-cart-icon svg {
	width: 28px;
	height: 28px;
	display: block;
	stroke: currentColor;
}

.pp-cart-icon:hover,
.pp-cart-icon:focus {
	background: transparent !important;
	outline: none;
}

.pp-cart-count {
	position: absolute;
	top: -10px;
	right: -12px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 50%;
	background: #fff;
	color: #143a32;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 0 0 1px #143a32;
}

.pp-cart-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	z-index: 99998;
	transition: 0.3s ease;
}

.pp-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 420px;
	max-width: 90%;
	height: 100vh;
	background: #fff;
	z-index: 99999;
	transform: translateX(100%);
	transition: 0.3s ease;
	display: flex;
	flex-direction: column;
}

body.pp-cart-drawer-open .pp-cart-drawer-overlay {
	opacity: 1;
	visibility: visible;
}

body.pp-cart-drawer-open .pp-cart-drawer {
	transform: translateX(0);
}

.pp-cart-drawer-header {
	padding: 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.pp-cart-drawer-header h3 {
	margin: 0;
	font-size: 22px;
}

.pp-close-cart-drawer {
	background: none;
	border: 0;
	font-size: 32px;
	cursor: pointer;
	line-height: 1;
}

.pp-cart-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.pp-cart-item {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 16px;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid #eee;
}

.pp-cart-item-image img {
	width: 92px;
	height: 100px;
	object-fit: cover;
	display: block;
}

.pp-cart-item-info {
	min-width: 0;
}

.pp-cart-item-title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 8px;
	color: #222;
}

.pp-cart-item-price {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 14px;
	color: #222;
}

.pp-cart-qty {
	display: inline-grid;
	grid-template-columns: 42px 52px 42px;
	height: 42px;
	border: 1px solid #ddd;
	background: #fff;
	margin-bottom: 10px;
}

.pp-cart-qty button {
	width: 42px;
	height: 42px;
	border: 0;
	background: #f8f8f8;
	color: #d89b3d;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.pp-cart-qty input {
	width: 52px;
	height: 42px;
	border: 0;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: #222;
	background: #fff;
	padding: 0;
	-moz-appearance: textfield;
}

.pp-cart-qty input::-webkit-outer-spin-button,
.pp-cart-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pp-cart-remove {
	display: inline-block;
	margin-top: 6px;
	background: transparent;
	border: 0;
	color: #c00020;
	cursor: pointer;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 4px;
	text-transform: uppercase;
	line-height: 1.2;
}

@media (max-width: 480px) {
	.pp-cart-item {
		grid-template-columns: 82px 1fr;
		gap: 12px;
	}

	.pp-cart-item-image img {
		width: 82px;
		height: 92px;
	}

	.pp-cart-item-title,
	.pp-cart-item-price {
		font-size: 15px;
	}

	.pp-cart-qty {
		grid-template-columns: 36px 46px 36px;
		height: 38px;
	}

	.pp-cart-qty button,
	.pp-cart-qty input {
		height: 38px;
	}
}

.pp-cart-drawer-footer {
	padding: 20px;
	border-top: 1px solid #eee;
}

.pp-cart-subtotal {
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	font-size: 16px;
}

.pp-cart-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px;
	margin-top: 10px;
	text-decoration: none;
	font-weight: 700;
}

.pp-view-cart {
	background: #f3f3f3;
	color: #111;
}

.pp-checkout {
	background: #143a32;
	color: #fff;
}

.pp-cart-empty,
.pp-cart-loading {
	text-align: center;
	padding: 40px 10px;
}