/* Swop Surplus — productpagina. Neemt lettertype en kleuren van het thema over; accent aan te passen met --swsu-accent. */

.swsu {
	--swsu-accent: currentColor;
	--swsu-line: rgba(0, 0, 0, 0.15);
	--swsu-soft: rgba(0, 0, 0, 0.04);
	margin: 0 0 1em;
}

.swsu-options {
	margin: 0 0 1em;
	padding: 0;
	border: 0;
	min-width: 0;
}

.swsu-title {
	margin: 0 0 0.25em;
	padding: 0;
	font-weight: 700;
}

.swsu-description {
	margin: 0 0 0.6em;
}

.swsu-choices {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
}

.swsu .swsu-choice {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 8px;
	border: 2px solid var(--swsu-line);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.85em;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	cursor: pointer;
	transition: border-color 0.12s, background-color 0.12s;
}

.swsu .swsu-choice:hover {
	background: var(--swsu-soft);
}

.swsu .swsu-choice:focus-visible {
	outline: 2px solid var(--swsu-accent);
	outline-offset: 2px;
}

.swsu .swsu-choice.is-active {
	border-color: var(--swsu-accent);
	background: var(--swsu-soft);
}

.swsu-choice-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.swsu-choice-title {
	font-weight: 700;
}

.swsu-qty {
	display: inline-flex;
	align-items: stretch;
	margin: 0 0 0.5em;
}

.swsu .swsu-step {
	min-width: 40px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--swsu-line);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 1.1em;
	line-height: 1;
	cursor: pointer;
}

.swsu .swsu-base {
	width: 90px;
	min-height: 40px;
	margin: 0;
	border: 1px solid var(--swsu-line);
	border-right: 0;
	border-left: 0;
	border-radius: 0;
	text-align: center;
}

.swsu-unit {
	display: flex;
	align-items: center;
	padding: 0 10px;
	border: 1px solid var(--swsu-line);
	border-left: 0;
	border-right: 0;
	background: var(--swsu-soft);
	font-size: 0.85em;
}

.swsu-total {
	margin: 0 0 1em;
}

.swsu-total[hidden] {
	display: none;
}

.swsu-form .single_add_to_cart_button {
	float: none;
}
