.pjs-vb-replaced {
	display: none !important;
}

.pjs-vb {
	margin: 10px 0;
}

.pjs-vb .pjs-vb-attribute {
	margin: 0 0 10px;
}

.pjs-vb .pjs-vb-title {
	display: block;
	font-size: 1.1em;
	font-weight: 700;
	line-height: 1.6;
}

.pjs-vb .pjs-vb-options {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 5px;
}

.pjs-vb .pjs-vb-option {
	align-items: center;
	background: var(--pjs-vb-bg, #fff);
	border: 1px solid var(--pjs-vb-border, #d1d5db);
	border-radius: var(--pjs-vb-radius, 4px);
	color: var(--pjs-vb-fg, #1f2937);
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	line-height: 20px;
	margin: 0;
	min-width: 16px;
	padding: 6px 12px;
	position: relative;
	text-transform: none;
	transition: background-color 0.15s, color 0.15s, opacity 0.15s;
	user-select: none;
}

.pjs-vb .pjs-vb-option input {
	appearance: none;
	border: 0;
	height: 1px;
	margin: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0;
	pointer-events: none;
	position: absolute;
	width: 1px;
}

.pjs-vb .pjs-vb-option.is-out-of-stock {
	background: var(--pjs-vb-oos-bg, linear-gradient(to top left, #fff calc(50% - 1px), #9ca3af, #fff calc(50% + 1px)));
	color: var(--pjs-vb-oos-fg, #6b7280);
}

.pjs-vb .pjs-vb-option.is-selected {
	background: var(--pjs-vb-selected-bg, #1f2937);
	border-color: var(--pjs-vb-selected-border, #1f2937);
	color: var(--pjs-vb-selected-fg, #fff);
}

.pjs-vb .pjs-vb-option.is-selected.is-out-of-stock {
	background: var(--pjs-vb-selected-oos-bg, linear-gradient(to top left, #1f2937 calc(50% - 1px), #fff, #1f2937 calc(50% + 1px)));
}

.pjs-vb .pjs-vb-option.is-unavailable {
	cursor: not-allowed;
	opacity: 0.35;
}

.pjs-vb .pjs-vb-option.is-missing,
.pjs-vb[data-out-of-stock="hidden"] .pjs-vb-option.is-out-of-stock:not(.is-selected),
body.clearance .pjs-vb .pjs-vb-option.is-out-of-stock:not(.is-selected) {
	display: none;
}

.pjs-vb .pjs-vb-option:has(input:focus-visible) {
	outline: 2px solid var(--pjs-vb-focus, #2563eb);
	outline-offset: 2px;
}

.pjs-vb .pjs-vb-style-colour .pjs-vb-option {
	border-radius: 50%;
	height: 32px;
	min-width: 0;
	padding: 2px;
	width: 32px;
}

.pjs-vb .pjs-vb-style-colour .pjs-vb-option.is-selected {
	background: var(--pjs-vb-bg, #fff);
	box-shadow: 0 0 0 2px var(--pjs-vb-selected-bg, #1f2937);
}

.pjs-vb .pjs-vb-swatch {
	background: #e5e7eb;
	background-position: center;
	background-size: cover;
	border-radius: 50%;
	display: block;
	height: 100%;
	width: 100%;
}

.pjs-vb .pjs-vb-style-colour .pjs-vb-option.is-out-of-stock .pjs-vb-swatch {
	opacity: 0.45;
}

.pjs-vb .pjs-vb-clear {
	background: none;
	border: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	display: inline-block;
	font-size: 0.85em;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.4;
	margin: 0 0 10px;
	min-height: 0;
	padding: 0;
	text-decoration: underline;
	text-transform: none;
}

.pjs-vb .pjs-vb-clear[hidden] {
	display: none;
}

.pjs-vb .pjs-vb-clear:focus-visible {
	outline: 2px solid var(--pjs-vb-focus, #2563eb);
	outline-offset: 2px;
}

.pjs-vb .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
