.pepw-product-card-wrap .added_to_cart.wc-forward,
.pepw-carousel .added_to_cart.wc-forward {
	display: none !important;
}

.pepw-sidecart-float {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99990;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(180deg, #b4a8ff 0%, #9382f2 100%);
	color: #fff;
	box-shadow: 0 20px 44px rgba(147, 130, 242, 0.28);
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pepw-sidecart-float:hover {
	transform: translateY(-2px);
	box-shadow: 0 24px 48px rgba(147, 130, 242, 0.34);
}

.pepw-sidecart-float__icon {
	display: inline-flex;
	width: 30px;
	height: 30px;
}

.pepw-sidecart-float__icon svg {
	width: 100%;
	height: 100%;
}

.pepw-sidecart-float__count {
	position: absolute;
	top: -3px;
	left: -2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 999px;
	background: #16c47f;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 10px 18px rgba(22, 196, 127, 0.28);
}

.pepw-sidecart {
	position: fixed;
	inset: 0;
	z-index: 99999;
	pointer-events: none;
}

.pepw-sidecart__overlay {
	position: absolute;
	inset: 0;
	background: rgba(24, 19, 37, 0.28);
	opacity: 0;
	transition: opacity 0.24s ease;
}

.pepw-sidecart__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(350px, 100vw);
	height: 100%;
	background: #fff;
	box-shadow: -18px 0 50px rgba(47, 39, 66, 0.12);
	overflow: hidden;
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pepw-sidecart.is-open {
	pointer-events: auto;
}

.pepw-sidecart.is-open .pepw-sidecart__overlay {
	opacity: 1;
}

.pepw-sidecart.is-open .pepw-sidecart__panel {
	transform: translateX(0);
}

.pepw-sidecart__header {
	display: grid;
	grid-template-columns: 30px 1fr 24px;
	align-items: center;
	gap: 10px;
	padding: 12px 12px 11px;
	border-bottom: 1px solid #f1edf8;
}

.pepw-sidecart__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: none;
	background: transparent;
	color: #2f2742;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.pepw-sidecart__title {
	margin: 0;
	color: #2f2742;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
}

.pepw-sidecart__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: #f3f4f6;
	color: #69707d;
	font-size: 12px;
	font-weight: 700;
}

.pepw-sidecart__content {
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0;
}

.pepw-sidecart__items {
	display: grid;
	gap: 0;
}

.pepw-sidecart__item {
	display: grid;
	grid-template-columns: 60px 1fr 28px;
	gap: 8px;
	padding: 10px 10px;
	border-bottom: 1px solid #f3eef9;
}

.pepw-sidecart__item-image {
	position: relative;
}

.pepw-sidecart__item-image a,
.pepw-sidecart__item-image img {
	display: block;
}

.pepw-sidecart__item-image img {
	width: 60px;
	height: 70px;
	object-fit: cover;
	border-radius: 6px;
	background: #f7f4ff;
}

.pepw-sidecart__item-badge {
	position: absolute;
	top: 3px;
	left: 3px;
	display: inline-flex;
	align-items: center;
	padding: 3px 6px;
	border-radius: 4px;
	background: #9d8df4;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
}

.pepw-sidecart__item-content {
	min-width: 0;
	padding: 2px 8px 2px 2px;
	box-sizing: border-box;
}

.pepw-sidecart__item-title {
	display: block;
	color: #9c8cff;
	text-decoration: none;
	font-size: 12px;
	line-height: 1.3;
	font-weight: 700;
	text-transform: uppercase;
}

.pepw-sidecart__item-price {
	margin-top: 4px;
	color: #9c8cff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

.pepw-sidecart__item-saving {
	margin-top: 3px;
	color: #45ba79;
	font-size: 10px;
	line-height: 1.3;
}

.pepw-sidecart__item-remove {
	margin-top: 3px;
	padding: 0;
	border: none;
	background: transparent;
	color: #b5a8fa;
	font-size: 10px;
	line-height: 1.2;
	text-decoration: underline;
	cursor: pointer;
}

.pepw-sidecart__qty {
	display: grid;
	grid-template-rows: 24px 1fr 24px;
	align-items: center;
	justify-items: center;
	align-self: start;
}

.pepw-sidecart__qty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid #e5e1f3;
	background: #fff;
	color: #2f2742;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}

.pepw-sidecart__qty-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 24px;
	color: #2f2742;
	font-size: 12px;
	font-weight: 700;
}

.pepw-sidecart__empty {
	padding: 24px 16px;
	color: #756c87;
	text-align: center;
	font-size: 14px;
}

.pepw-sidecart__footer {
	padding: 0 16px 16px;
	padding-bottom: env(safe-area-inset-bottom, 0);
	border-top: 1px solid #f1edf8;
	background: #fff;
	box-sizing: border-box;
	overflow: hidden;
}

.pepw-sidecart__coupon-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 0;
	border: none;
	border-bottom: 1px solid #f1edf8;
	background: #fff;
	color: #b09fff;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}

.pepw-sidecart__coupon-arrow {
	color: #42375d;
	font-size: 18px;
	transition: transform 0.22s ease;
}

.pepw-sidecart__coupon-toggle.is-open .pepw-sidecart__coupon-arrow {
	transform: rotate(180deg);
}

.pepw-sidecart__coupon-panel {
	display: none;
	padding: 14px 0;
	border-bottom: 1px solid #f1edf8;
}

.pepw-sidecart__coupon-panel.is-open {
	display: block;
}

.pepw-sidecart__coupon {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	width: 100%;
}

.pepw-sidecart__coupon input {
	height: 38px;
	padding: 0 11px;
	border: 1px solid #e7e2f7;
	border-radius: 8px;
	font-size: 13px;
	min-width: 0;
}

.pepw-sidecart__coupon input:focus {
	outline: none;
	border-color: #a294f9;
	box-shadow: 0 0 0 3px rgba(162, 148, 249, 0.12);
}

.pepw-sidecart__coupon-message {
	margin-top: 7px;
	min-height: 16px;
	font-size: 11px;
	line-height: 1.35;
}

.pepw-sidecart__coupon-message.is-success {
	color: #2f9c64;
}

.pepw-sidecart__coupon-message.is-error {
	color: #c4546c;
}

.pepw-sidecart__totals {
	padding: 0;
}

.pepw-sidecart__total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	color: #a999ff;
	font-size: 14px;
	font-weight: 600;
}

.pepw-sidecart__subtotal,
.pepw-sidecart__grandtotal {
	color: #a999ff;
	font-weight: 700;
}

.pepw-sidecart__footer .pepw-button {
	width: 100%;
	margin: 14px 0 0;
	min-height: 40px;
	padding: 13px 16px;
	border-radius: 6px;
	background: #9d8df4;
	font-size: 14px;
	text-align: center;
	justify-content: center;
	color: #fff !important;
	box-shadow: none;
}

.pepw-sidecart__coupon .pepw-button,
.pepw-sidecart__coupon .pepw-button:visited {
	width: auto;
	margin: 0;
	min-height: 38px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 12px;
	box-shadow: none;
	color: #8f7df1 !important;
	border-color: #dcd3fb;
	background: #fff;
	white-space: nowrap;
}

.pepw-sidecart__coupon .pepw-button:hover,
.pepw-sidecart__coupon .pepw-button:focus {
	color: #fff !important;
	background: #9d8df4;
	border-color: #9d8df4;
}

.pepw-sidecart__footer .pepw-button:hover {
	color: #fff;
}

.pepw-sidecart__content::-webkit-scrollbar,
.pepw-sidecart__panel::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.pepw-sidecart-open {
	overflow: hidden;
}

@media (min-width: 768px) {
	.pepw-sidecart__panel {
		width: min(372px, 100vw);
	}
}

@media (max-width: 767px) {
	.pepw-sidecart-float {
		right: 12px;
		bottom: 12px;
		width: 70px;
		height: 70px;
	}

	.pepw-sidecart-float__count {
		min-width: 28px;
		height: 28px;
		font-size: 13px;
	}

	.pepw-sidecart__panel {
		width: 100vw;
	}
}
