/* Hair product page: weight, bonding, total; cm/in switch; Keratin page. */
.sh-price-unit {
	font-size: 0.6em;
	font-weight: 400;
	color: #6f625a;
}

.sh-units {
	display: inline-flex;
	margin-left: 10px;
	border: 1px solid #cfc6bf;
	border-radius: 4px;
	overflow: hidden;
	vertical-align: middle;
}
.sh-units button,
.sh-units button:hover,
.sh-units button:focus {
	min-width: 40px;
	min-height: 32px;
	padding: 0 8px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #1e0d03;
	font: 500 13px "Montserrat", sans-serif;
}
.sh-units button[aria-pressed="true"] {
	background: #1e0d03;
	color: #fff;
}

.sh-buy {
	margin: 4px 0 16px;
	font-family: "Montserrat", sans-serif;
	color: #1e0d03;
}
.sh-buy__row {
	display: flex;
	align-items: center;
	gap: 16px;
}
.sh-buy__label {
	font-weight: 600;
	min-width: 60px;
}
.sh-weight {
	display: inline-flex;
	align-items: center;
	border: 1px solid #cfc6bf;
	border-radius: 4px;
	background: #fff;
}
.sh-weight .sh-weight__btn,
.sh-weight .sh-weight__btn:hover,
.sh-weight .sh-weight__btn:focus {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1e0d03;
	font-size: 22px;
	line-height: 1;
}
.sh-weight .sh-weight__input {
	width: 64px;
	height: 44px;
	padding: 0;
	border: 0;
	text-align: center;
	font-size: 16px;
	-moz-appearance: textfield;
	background: transparent;
}
.sh-weight .sh-weight__input::-webkit-inner-spin-button,
.sh-weight .sh-weight__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.sh-weight__unit {
	margin-right: 4px;
	color: #6f625a;
}
.sh-buy__hint {
	margin: 6px 0 12px;
	font-size: 12px;
	color: #6f625a;
}

.sh-bonding {
	margin: 0 0 12px;
	padding: 12px 14px;
	border: 1px solid #e4ddd7;
	border-radius: 4px;
	background: #fff;
}
.sh-bonding__toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-weight: 500;
}
.sh-bonding__toggle input {
	width: 20px;
	height: 20px;
	accent-color: #7d3829;
}
.sh-bonding__toggle small {
	font-weight: 400;
	color: #6f625a;
}
.sh-bonding__colour {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
}
.sh-bonding__colour[hidden] {
	display: none;
}
.sh-bonding__colour select {
	min-height: 40px;
	font-size: 16px;
}

.sh-buy__total {
	margin: 0;
	font-size: 16px;
}

/* Keratin page: three colours side by side. */
.sh-keratin {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.sh-keratin__item {
	margin: 0;
	padding: 16px;
	border: 1px solid #e4ddd7;
	border-radius: 4px;
	background: #fff;
}
.sh-keratin__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
.sh-keratin .sh-keratin__name {
	font-family: "Bodoni Moda", Georgia, serif;
	font-size: 28px;
	margin: 14px 0 8px;
}
.sh-keratin__buy .variations {
	margin-bottom: 8px;
}
@media (max-width: 767px) {
	.sh-keratin {
		grid-template-columns: minmax(0, 1fr);
	}
	.sh-buy__row {
		gap: 10px;
	}
}

/* Keratin page: the "Clear" reset link reads like the Clear colour — hide it; visible quantity box. */
.sh-keratin .reset_variations {
	display: none !important;
}
.sh-keratin .quantity .qty {
	width: 72px;
	min-height: 44px;
	border: 1px solid #cfc6bf;
	border-radius: 4px;
	font-size: 16px;
}
.sh-keratin form.cart:not(.variations_form) .quantity,
.sh-keratin .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
