/**
 * Finish / colour swatches (site_theme_swatch()) — catalog and product pages.
 */

.swatch {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.swatch__chip {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--c-white), 0 0 0 4px var(--c-border), inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.swatch__text {
	display: grid;
	line-height: 1.3;
}

.swatch__code {
	color: var(--c-heading);
	font-family: var(--ff-heading);
	font-size: 0.8125rem;
	font-weight: 600;
}

.swatch__label {
	color: var(--c-text-muted);
	font-size: 0.875rem;
}

/* Metal finishes */
.swatch--n .swatch__chip {
	background: linear-gradient(135deg, #c5cacf 0%, #eef0f2 45%, #d3d7db 60%, #b8bec4 100%);
}

.swatch--szl .swatch__chip {
	background:
		repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.35) 0 1px, rgba(0, 0, 0, 0.04) 1px 3px),
		linear-gradient(135deg, #b9bfc5 0%, #e4e7ea 50%, #aab1b8 100%);
}

.swatch--szc .swatch__chip {
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 1px, rgba(0, 0, 0, 0.06) 1px 2px),
		linear-gradient(135deg, #a9b0b7 0%, #dfe3e6 50%, #9ea6ad 100%);
}

.swatch--poler .swatch__chip {
	background: linear-gradient(135deg, #f8f9fa 0%, #8e959c 32%, #ffffff 50%, #6f767d 72%, #e6e9ec 100%);
}

/* Anodised aluminium */
.swatch--as .swatch__chip {
	background: linear-gradient(135deg, #d9dde1, #c4c9ce);
}

.swatch--ac .swatch__chip {
	background: linear-gradient(135deg, #4a4c50, #2c2e31);
}

.swatch--ao .swatch__chip {
	background: linear-gradient(135deg, #b8b18e, #9f9873);
}

/* Insert colours */
.swatch--be .swatch__chip {
	background: #b39a86;
}

.swatch--br .swatch__chip {
	background: #6b4a3c;
}

.swatch--sz .swatch__chip {
	background: #a8a7a3;
}

.swatch--cz .swatch__chip {
	background: #3a3b38;
}

