/* Colour picker on the product page */
.product-series {
	margin-bottom: 15px;
}

.product-series__heading {
	margin-bottom: 8px;
	font-size: 14px;
}

.product-series__current {
	font-weight: 600;
}

.product-series__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-series__item {
	width: 56px;
	border: 1px solid transparent;
	line-height: 0;
}

.product-series__item a {
	display: block;
}

.product-series__item img {
	display: block;
	width: 100%;
	height: auto;
}

.product-series__item:hover {
	border-color: #ccc;
}

.product-series__item.is-current {
	border-color: #222;
}

/* Colour circles in product cards */

/* Reserve the colour row's height (min-height + margin-bottom below) in cards
   without colours so prices line up across the grid */
.product-item__heading:not(:has(+ .product-item__colors)) {
	margin-bottom: calc(7px + 18px + 7px);
}

.product-item__colors {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-height: 18px;
	margin-bottom: 7px;
}

.product-item__color {
	width: 16px;
	height: 16px;
	padding: 0;
	border: 1px solid #ccc;
	border-radius: 50%;
	background-position: center;
	background-size: cover;
	cursor: pointer;
}

.product-item__color:hover {
	border-color: #888;
}

.product-item__color.is-selected {
	box-shadow: 0 0 0 1px #fff, 0 0 0 2px #222;
}

.product-item__colors-more {
	font-size: 12px;
	line-height: 1;
	color: #555;
}
