.bav-gallery-thumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	padding: 2px;
	border: 1px solid #ded8cf;
	background: #fff;
	cursor: pointer;
}

.bav-gallery-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bav-gallery-thumb.is-active {
	border-color: #ed1b24;
	box-shadow: 0 0 0 1px #ed1b24 inset;
}

.bav-variation-mini-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.bav-variation-gallery-image img {
	width: 100%;
	height: auto;
}

.bav-native-variation-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.bav-variant-swatches {
	display: grid;
	gap: 10px;
	margin: 10px 0 16px;
}

.bav-variant-swatches__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #2a2928;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0;
}

.bav-variant-swatches__clear {
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b6259;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bav-variant-swatches__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
	gap: 8px;
}

.bav-variant-swatch {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	align-items: center;
	justify-content: flex-start;
	min-height: 92px;
	padding: 7px;
	border: 1px solid #ded8cf;
	border-radius: 4px;
	background: #fff;
	color: #1f1e1d;
	cursor: pointer;
	text-align: center;
	transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.bav-variant-swatch:hover {
	border-color: #2a2928;
}

.bav-variant-swatch.is-selected {
	border-color: #ed1b24;
	box-shadow: inset 0 0 0 1px #ed1b24;
}

.bav-variant-swatch.is-disabled {
	cursor: not-allowed;
	opacity: .45;
}

.bav-variant-swatch__media {
	display: inline-flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid #eee7de;
	border-radius: 3px;
	background: #f8f5f0;
	color: #5f554d;
	font-size: 18px;
	font-weight: 800;
}

.bav-variant-swatch__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bav-variant-swatch__label {
	display: block;
	width: 100%;
	overflow: hidden;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bav-variant-swatches--sticky {
	margin: 0;
	gap: 6px;
	min-width: 150px;
}

.bav-variant-swatches--sticky .bav-variant-swatches__head {
	display: none;
}

.bav-variant-swatches--sticky .bav-variant-swatches__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bav-variant-swatches--sticky .bav-variant-swatch {
	width: 54px;
	min-height: 62px;
	padding: 4px;
}

.bav-variant-swatches--sticky .bav-variant-swatch__media {
	width: 42px;
	height: 42px;
}

.bav-variant-swatches--sticky .bav-variant-swatch__label {
	display: none;
}

.bav-ai-disclaimer {
	max-width: 52ch;
	margin: 14px 0 0;
	color: #6c6761;
	font-size: 11px;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.bav-variant-swatches__grid {
		grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	}

	.bav-variant-swatch {
		min-height: 86px;
	}

	.bav-variant-swatch__media {
		width: 50px;
		height: 50px;
	}
}
