/* Desourcia Lieferanten-Warenkorb */
.dlw {
	--dlw-ink: #0b1f1a;
	--dlw-quiet: #5b6b66;
	--dlw-line: #e3e6e4;
	--dlw-card: #ffffff;
	--dlw-bg-soft: #f6f4ef;
	--dlw-green: #0b3d2e;
	--dlw-green-soft: #d8efe2;
	--dlw-bar: #f2c94c;
	--dlw-bar-done: #2e8b57;
	--dlw-red: #c62828;
	max-width: 560px;
	margin: 0 auto;
	color: var(--dlw-ink);
	font-size: 15px;
	line-height: 1.4;
}
.dlw * { box-sizing: border-box; }
.dlw-head { margin: 0 0 12px; }
.dlw-head__title { font-size: 20px; margin: 0; font-weight: 700; }
.dlw-head__sub { margin: 2px 0 0; color: var(--dlw-quiet); font-size: 13px; }
.dlw-info {
	display: inline-flex; align-items: center; justify-content: center;
	width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%;
	font-size: 11px; font-style: italic; cursor: help;
}

.dlw-card {
	background: var(--dlw-card);
	border: 1px solid var(--dlw-line);
	border-radius: 16px;
	padding: 16px;
	margin: 0 0 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.dlw-card__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.dlw-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 36px; }
.dlw-logo--initial {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--dlw-green); color: #fff; font-weight: 700;
}
.dlw-card__who { display: flex; flex-direction: column; min-width: 0; }
.dlw-card__name { font-size: 15px; }
.dlw-card__delivery { font-size: 12.5px; color: var(--dlw-quiet); }

.dlw-progress { margin: 4px 0 12px; }
.dlw-progress__row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.dlw-progress__goal { color: var(--dlw-quiet); font-weight: 400; }
.dlw-progress__bar { height: 6px; background: var(--dlw-line); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.dlw-progress__bar span { display: block; height: 100%; background: var(--dlw-bar); border-radius: 3px; }
.dlw-progress.is-done .dlw-progress__row { color: var(--dlw-bar-done); }
.dlw-progress.is-done .dlw-progress__bar span { background: var(--dlw-bar-done); }

.dlw-more { border: 1px solid var(--dlw-line); border-radius: 10px; margin: 0 0 12px; background: var(--dlw-bg-soft); }
.dlw-more summary { cursor: pointer; padding: 10px 12px; font-size: 13px; list-style: none; display: flex; justify-content: space-between; }
.dlw-more summary::-webkit-details-marker { display: none; }
.dlw-more summary::after { content: "⌄"; color: var(--dlw-quiet); }
.dlw-more[open] summary::after { content: "⌃"; }
.dlw-more__list { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px 12px; scroll-snap-type: x mandatory; }
.dlw-more__item {
	flex: 0 0 120px; scroll-snap-align: start; background: #fff; border-radius: 10px; padding: 8px;
	display: flex; flex-direction: column; gap: 4px; position: relative; font-size: 12px;
}
.dlw-more__img img { width: 100%; height: 90px; object-fit: contain; }
.dlw-more__name { font-weight: 600; line-height: 1.25; }
.dlw-more__price { color: var(--dlw-quiet); }
.dlw-plus {
	position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%;
	background: var(--dlw-green); color: #fff !important; text-decoration: none !important;
	display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
}

.dlw-items { list-style: none; margin: 0; padding: 0; }
.dlw-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--dlw-line); }
.dlw-item:first-child { border-top: 0; }
.dlw-item__img { position: relative; flex: 0 0 64px; height: 84px; background: var(--dlw-bg-soft); border-radius: 8px; overflow: hidden; }
.dlw-item__img img { width: 100%; height: 100%; object-fit: contain; }
.dlw-badge {
	position: absolute; top: 4px; left: 4px; background: var(--dlw-red); color: #fff;
	font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; z-index: 1;
}
.dlw-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dlw-item__top { display: flex; justify-content: space-between; gap: 8px; }
.dlw-item__name { font-weight: 600; color: var(--dlw-ink) !important; text-decoration: none !important; }
.dlw-item__line { font-weight: 600; white-space: nowrap; }
.dlw-item__unit { font-size: 13px; color: var(--dlw-quiet); }
.dlw-sale { color: var(--dlw-red); font-weight: 600; }
.dlw-item__unit del { color: var(--dlw-quiet); }
.dlw-item__actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 6px; }
.dlw-trash { color: var(--dlw-quiet) !important; display: inline-flex; }
.dlw-stepper { display: inline-flex; align-items: center; border: 1px solid var(--dlw-line); border-radius: 999px; margin: 0; }
.dlw-stepper button {
	width: 34px; height: 34px; border: 0; background: transparent; font-size: 18px; cursor: pointer;
	color: var(--dlw-ink); border-radius: 50%; padding: 0;
}
.dlw-stepper button:hover { background: var(--dlw-bg-soft); }
.dlw-stepper__n { min-width: 24px; text-align: center; font-weight: 600; }

.dlw-sum { margin: 8px 0 12px; padding-top: 12px; border-top: 1px solid var(--dlw-line); font-size: 14px; }
.dlw-sum > div { display: flex; justify-content: space-between; padding: 3px 0; }
.dlw-sum dt, .dlw-sum dd { margin: 0; }
.dlw-sum__total { font-weight: 700; font-size: 16px; padding-top: 8px !important; }

.dlw-checkout { margin: 0; }
.dlw-btn {
	display: block; width: 100%; padding: 13px 16px; border: 0; border-radius: 999px;
	background: var(--dlw-green); color: #fff !important; font-weight: 700; font-size: 15px;
	text-align: center; cursor: pointer; text-decoration: none !important;
}
.dlw-btn:hover { filter: brightness(1.15); }
.dlw-btn--ghost { background: transparent; color: var(--dlw-green) !important; border: 1px solid var(--dlw-green); width: auto; display: inline-block; }
.dlw-saved { margin: 10px 0 0; text-align: center; background: var(--dlw-green-soft); color: var(--dlw-green); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.dlw-note { font-size: 12px; color: var(--dlw-quiet); text-align: center; margin: 4px 0 0; }
.dlw-empty { text-align: center; padding: 32px 0; }
.dlw-empty__title { font-weight: 700; font-size: 17px; }
