.hpvs-original-select select {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.hpvs-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 6px 0 14px;
	--hpvs-size: 48px;
	--hpvs-radius: 10px;
}

.hpvs-swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: var(--hpvs-size);
	height: var(--hpvs-size);
	padding: 0;
	border: 1px solid #d8d1c5;
	border-radius: var(--hpvs-radius);
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(31, 24, 16, 0.06);
	cursor: pointer;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, opacity 0.16s ease, background-color 0.16s ease;
	overflow: hidden;
	vertical-align: middle;
}

.hpvs-swatch:hover:not(:disabled) {
	border-color: #8f6f47;
	box-shadow: 0 4px 10px rgba(31, 24, 16, 0.10);
	transform: translateY(-1px);
}

.hpvs-swatch.is-selected {
	border-color: #5f4228;
	box-shadow: 0 0 0 2px rgba(95, 66, 40, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.hpvs-swatch.is-selected::after {
	content: "";
	position: absolute;
	right: 7px;
	top: 7px;
	z-index: 3;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #5f4228;
	box-shadow: 0 0 0 2px rgba(255,255,255,0.88);
}

.hpvs-selected-mark-border .hpvs-swatch.is-selected::after,
.hpvs-selected-mark-check .hpvs-swatch.is-selected::after {
	display: none;
}

.hpvs-selected-mark-check .hpvs-swatch.is-selected::before {
	content: "✓";
	position: absolute;
	right: 6px;
	top: 4px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
	background: rgba(95, 66, 40, 0.95);
	box-shadow: 0 0 0 2px rgba(255,255,255,0.92);
}

.hpvs-swatch.is-unavailable {
	opacity: 0.36;
	cursor: not-allowed;
}

.hpvs-swatch.is-unavailable::before {
	content: "";
	position: absolute;
	z-index: 2;
	left: -20%;
	top: 50%;
	width: 140%;
	height: 1px;
	background: rgba(95, 66, 40, 0.72);
	transform: rotate(-35deg);
}

.hpvs-swatch.is-hidden {
	display: none;
}

.hpvs-swatch-image {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

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

.hpvs-swatch-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: calc(var(--hpvs-size) + 10px);
	height: 100%;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #3b2a1d;
	background: #fffaf2;
	white-space: nowrap;
}

.hpvs-swatch--label {
	width: auto;
}

.hpvs-swatch--color {
	width: auto;
	border-color: var(--hpvs-color-border, #d8d1c5);
	background: var(--hpvs-color-bg, #d8c3a5);
}

.hpvs-swatch--color .hpvs-swatch-label--color {
	color: var(--hpvs-color-fg, #1f1810);
	background: transparent;
	text-transform: uppercase;
}

.hpvs-swatch--color.is-selected {
	border-color: #5f4228;
	box-shadow: 0 0 0 2px rgba(95, 66, 40, 0.22), inset 0 0 0 1px rgba(255,255,255,0.28);
}

@media (max-width: 640px) {
	.hpvs-swatches {
		gap: 8px;
	}

	.hpvs-swatch-label {
		font-size: 13px;
		padding: 0 12px;
	}
}


.hpvs-swatch--image_label {
	width: auto;
	height: var(--hpvs-size);
	background: #fffaf2;
}

.hpvs-swatch-image-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 100%;
	padding: 4px 12px 4px 5px;
	white-space: nowrap;
}

.hpvs-swatch-image-label-thumb {
	display: block;
	width: calc(var(--hpvs-size) - 10px);
	height: calc(var(--hpvs-size) - 10px);
	border-radius: calc(var(--hpvs-radius) - 4px);
	overflow: hidden;
	background: #f2eee7;
	box-shadow: inset 0 0 0 1px rgba(31, 24, 16, 0.08);
}

.hpvs-swatch-image-label-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hpvs-swatch-image-label-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #3b2a1d;
}
