/* Weinvorschläge im Warenkorb (Seitenwarenkorb und Warenkorbseite). Akzent aus --ws-accent. */

.ws-vorschlaege {
	margin: 0;
	padding: 20px 0 8px;
	list-style: none;
}

.ws-vorschlaege .ws-vorschlaege-titel {
	margin: 0 0 10px;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.ws-vorschlaege .ws-vorschlaege-liste {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ws-vorschlaege .ws-vorschlag {
	display: grid;
	grid-template-columns: 44px 1fr auto;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 8px 10px 8px 6px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 12px;
	background: #fff;
}

.ws-vorschlag-bild {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
}

.ws-vorschlag-bild img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 60px;
	object-fit: contain;
	box-shadow: none;
}

.ws-vorschlag-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
	font-size: 14px;
	line-height: 1.35;
}

.ws-vorschlaege .ws-vorschlag-name {
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}

.ws-vorschlaege .ws-vorschlag-name:hover {
	color: var(--ws-accent);
}

.ws-vorschlag-fakten {
	font-size: 12px;
	color: #6b6b66;
}

.ws-vorschlag-preis {
	font-weight: 600;
}

.ws-vorschlag-preis small {
	font-size: 12px;
	font-weight: 400;
	color: #6b6b66;
}

.ws-vorschlag-preis del {
	font-weight: 400;
	color: #6b6b66;
}

.ws-vorschlag-preis ins {
	text-decoration: none;
}

.ws-vorschlaege .ws-vorschlag-dazu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--ws-accent);
	border-radius: 50%;
	color: var(--ws-accent);
	background: #fff;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.ws-vorschlaege .ws-vorschlag-dazu:hover,
.ws-vorschlaege .ws-vorschlag-dazu:focus-visible {
	background: var(--ws-accent);
	color: var(--ws-accent-fg, #fff);
}

.ws-vorschlaege .ws-vorschlag-dazu[aria-busy="true"] {
	opacity: .5;
	cursor: progress;
}

/* Im Seitenwarenkorb: letzte Zeile der Liste, ohne Trennlinie */
.ws-sc-liste > .ws-sc-vorschlaege {
	padding: 0;
	border: 0;
}

/* Warenkorbseite: unter der Tabelle, nicht breiter als nötig */
.ws-vorschlaege--warenkorb {
	max-width: 560px;
	margin: 8px 0 32px;
}

@media (prefers-reduced-motion: reduce) {
	.ws-vorschlaege .ws-vorschlag-dazu { transition: none; }
}
