/*
 * Swatches module. The rules of Iconic Attribute Swatches 1.14.1 that the site's buttons use (radio-button type,
 * stacked, no accordion, no colour or image swatch), same values. Loaded before the theme, which overrides them in
 * scss/product.scss.
 */
.iconic-was-swatches {
	list-style: none outside none;
	margin: 20px 0 30px;
	padding: 0;
	overflow-y: hidden;
}

.iconic-was-swatches * {
	box-sizing: border-box;
}

.iconic-was-swatches.iconic-was-swatches--stacked {
	display: block;
}

.variations tr:last-child .iconic-was-swatches {
	margin-bottom: 0;
}

.iconic-was-swatches__item {
	display: inline-block;
	margin: 0 10px 10px 0;
	padding: 0;
	vertical-align: top;
	line-height: 0;
}

.iconic-was-swatch {
	position: relative;
	cursor: pointer;
	font-weight: normal;
	line-height: 1.6;
	text-decoration: none;
}

.iconic-was-swatch:focus:not(:focus-visible) {
	outline: none;
}

.iconic-was-swatches--radio-buttons .iconic-was-swatches__item {
	display: block;
	margin: 0;
}

.iconic-was-swatches--radio-buttons .iconic-was-swatch {
	position: relative;
	padding: 0 0 0 25px;
	color: #666;
}

.iconic-was-swatches--radio-buttons .iconic-was-swatch::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 14px;
	margin: -7px 0 0;
	border: 1px solid #ccc;
	border-radius: 50%;
	background: #fff;
}

.iconic-was-swatches--radio-buttons .iconic-was-swatch:hover::before {
	border-color: #292933;
}

.iconic-was-swatches--radio-buttons .iconic-was-swatch--selected::before {
	border-color: #292933;
	background: #292933;
	box-shadow: inset 0 0 0 3px #fff;
}

.iconic-was-swatches__item--out-of-stock .iconic-was-swatch,
.iconic-was-swatch--disabled {
	opacity: 0.3;
}

.variations_form a.reset_variations {
	clear: both;
	width: 100%;
	margin: 20px 0 0;
}

.variations_form label {
	display: block;
	margin: 0 0 5px;
	font-weight: 400;
}

.variations_form label::after {
	display: none;
}

.variations tr {
	display: block;
	margin: 0 0 15px;
	border: none;
}

.variations td {
	display: block;
	margin: 0;
	padding: 0;
	border: none;
}

.variations td.label {
	display: block !important;
	background: none;
	color: #555;
	text-shadow: none;
}
