/* Floating Cart Button */
#clpto-floating-cart {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #111;
	color: #fff;
	border-radius: 50px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	cursor: pointer;
	z-index: 9999;
	font-family: inherit;
	transition: transform 0.2s;
}

#clpto-floating-cart:hover {
	transform: scale(1.05);
}

.clpto-cart-icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

.clpto-cart-qty {
	background: #ff3b30;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 10px;
}

.clpto-cart-label {
	font-weight: bold;
}

/* Checkout Overlay */
#clpto-checkout {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
}

.clpto-checkout-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.clpto-checkout-dialog {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 100%;
	max-width: 400px;
	background: #fff;
	box-shadow: -5px 0 25px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	animation: clpto-slide-in 0.3s ease forwards;
}

@keyframes clpto-slide-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

.clpto-checkout-header {
	padding: 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.clpto-checkout-header h2 {
	margin: 0;
	font-size: 20px;
}

.clpto-checkout-close {
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #666;
}

.clpto-checkout-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
}

.clpto-checkout-item {
	display: flex;
	align-items: center;
	padding: 15px 0;
	border-bottom: 1px solid #f5f5f5;
	gap: 10px;
}

.clpto-item-qty {
	width: 30px;
	text-align: center;
	background: #f5f5f5;
	padding: 5px;
	border-radius: 4px;
	font-size: 14px;
}

.clpto-item-title {
	flex: 1;
	font-weight: 500;
}

.clpto-item-price {
	font-weight: bold;
}

.clpto-remove {
	background: none;
	border: none;
	color: #ff3b30;
	font-size: 20px;
	cursor: pointer;
	padding: 0 5px;
}

.clpto-checkout-footer {
	padding: 20px;
	border-top: 1px solid #eee;
	background: #fafafa;
}

/* Modals */
.clpto-add-wrap {
	position: sticky;
	bottom: 0;
	background: #fff;
	z-index: 100;
	border-top: 1px solid #eee;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-top: 15px;
	padding-left: 20px;
	padding-right: 20px;
	width: 100%;
}
.clpto-add-btn {
	background: #111;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: bold;
}
.clpto-add-btn:hover {
	background: #333;
}
