/* Wearlook product-page widget */
.wearlook-open {
	margin: 10px 0;
}
.wearlook-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 18, 40, 0.65);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.wearlook-overlay[hidden] {
	display: none;
}
.wearlook-modal {
	position: relative;
	background: #fff;
	border-radius: 12px;
	max-width: 460px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.wearlook-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: 0;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}
.wearlook-preview,
.wearlook-result-img {
	display: block;
	max-width: 100%;
	border-radius: 8px;
	margin: 12px 0;
}
.wearlook-picker {
	margin: 0 0 14px;
}
.wearlook-picker-label {
	font-size: 13px;
	color: #555;
	margin: 0 0 6px;
}
.wearlook-thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
}
.wearlook-thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 2px solid #e3e0ee;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
}
.wearlook-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wearlook-thumb.is-selected {
	border-color: #6c3ce9;
	box-shadow: 0 0 0 2px rgba(108, 60, 233, 0.25);
}
.wearlook-thumb:focus-visible {
	outline: 2px solid #6c3ce9;
	outline-offset: 2px;
}
.wearlook-canvas {
	display: block;
	width: 100%;
	border: 1px solid #e3e0ee;
	border-radius: 8px;
	margin: 12px 0 4px;
	cursor: grab;
}
.wearlook-hint,
.wearlook-privacy {
	font-size: 12.5px;
	color: #777;
	margin: 4px 0 10px;
}
.wearlook-sliders label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	margin: 6px 0;
}
.wearlook-sliders input[type="range"] {
	flex: 1;
}
.wearlook-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 13px;
	margin: 12px 0;
	color: #555;
}
.wearlook-status {
	margin: 12px 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #eef3ff;
	color: #23407a;
	font-size: 14px;
}
.wearlook-status.wearlook-error {
	background: #fdecea;
	color: #b3261e;
}
body.wearlook-noscroll {
	overflow: hidden;
}
