/* Quote slider overlay */
.aqr-quote-slider-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9998;
}

.aqr-quote-slider-overlay.aqr-quote-slider-overlay-active {
	display: block;
}

/* Quote slider shell */
.aqr-quote-slider {
	position: fixed;
	top: 0;
	right: -420px;
	width: 400px;
	height: 100%;
	background: #fff;
	z-index: 9999;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
}

.aqr-quote-slider.aqr-quote-slider-open {
	right: 0;
}

.aqr-quote-slider-header {
	padding: 16px 20px;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8fbfe;
}

.aqr-quote-slider-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.aqr-quote-slider-close {
	background: transparent;
	border: 0;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #444;
}

.aqr-quote-slider-content {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
}

.aqr-quote-slider-loading,
.aqr-quote-slider-empty {
	text-align: center;
	padding: 28px 12px;
	color: #555;
}

.aqr-quote-slider-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aqr-quote-slider-item {
	position: relative;
	display: flex;
	gap: 10px;
	padding: 10px;
	border: 1px solid #e9e9e9;
	border-radius: 6px;
}

.aqr-quote-slider-item-image {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 4px;
}

.aqr-quote-slider-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aqr-quote-slider-item-details {
	padding-right: 20px;
}

.aqr-quote-slider-item-name {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.3;
}

.aqr-quote-slider-item-attrs,
.aqr-quote-slider-item-qty {
	font-size: 13px;
	color: #666;
}

.aqr-quote-slider-remove {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 50%;
	background: #f0f0f0;
	color: #777;
	line-height: 1;
	font-size: 18px;
	cursor: pointer;
}

.aqr-quote-slider-remove:hover {
	background: #e0e0e0;
}

.aqr-quote-slider-footer {
	padding: 14px 16px;
	border-top: 1px solid #e5e5e5;
	display: flex;
	gap: 8px;
	background: #f8fbfe;
}

.aqr-quote-slider-footer a {
	flex: 1;
	text-align: center;
	padding: 10px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
}

.aqr-quote-slider-view {
	border: 1px solid #c9d7e5;
	color: #1f3347;
	background: #fff;
}

.aqr-quote-slider-submit {
	border: 1px solid #0073aa;
	background: #0073aa;
	color: #fff;
}

.aqr-quote-slider-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.aqr-quote-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: #c62828;
	color: #fff;
}

.aqr-quote-slider-active {
	overflow: hidden;
}

@media (max-width: 480px) {
	.aqr-quote-slider {
		width: 100%;
		right: -100%;
	}

	.aqr-quote-slider-footer {
		flex-direction: column;
	}
}
