.omgqc-slider-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 16px;
}

.omgqc-cards {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 12px;
	flex: 1 1 auto;
	padding-bottom: 8px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.omgqc-cards::-webkit-scrollbar {
	height: 6px;
}

.omgqc-cards::-webkit-scrollbar-thumb {
	background: #d5d5f0;
	border-radius: 10px;
}

.omgqc-card {
	flex: 0 0 auto;
	width: 130px;
	scroll-snap-align: start;
	border: 2px solid #e2e2e2;
	border-radius: 10px;
	padding: 8px;
	cursor: pointer;
	text-align: center;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.omgqc-card:hover {
	border-color: #b9b9ff;
	transform: translateY(-2px);
}

.omgqc-card.is-selected {
	border-color: #5b4fc4;
	box-shadow: 0 0 0 1px #5b4fc4;
}

.omgqc-card-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 6px;
	background: #f5f5f5;
}

.omgqc-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.omgqc-card-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #222;
}

.omgqc-card-price {
	font-size: 13px;
	color: #5b4fc4;
	font-weight: 600;
}

.omgqc-arrow {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #444;
}

.omgqc-arrow:hover {
	background: #f3f3f3;
}

@media (max-width: 480px) {
	.omgqc-arrow {
		display: none; /* rely on swipe on mobile */
	}
}

/* Hide the original WooCommerce select but keep it in the DOM/functional. */
select.omgqc-hidden-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
