/* Warenkorb */
.cart { max-width: 100%; }

.cart__empty { text-align: center; }
.cart__empty p { margin-block: var(--space-3); }

.cart-items { margin: 0; padding: 0; list-style: none; }

.cart__panel {
  padding: 32px 40px 28px;
  border-radius: 4px;
  background: var(--gradient-panel);
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  column-gap: 24px;
  margin: 0;
  padding-block: 22px;
}

.cart-item:first-child { padding-top: 0; }
.cart-item:last-child { padding-bottom: 16px; }

.cart-item__image img { display: block; width: 64px; height: auto; border-radius: var(--radius-cover); }

.cart-item__info { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-width: 0; padding-bottom: 10px; }
.cart-item__name { margin: 4px 0 0; font-weight: 700; line-height: 1.4; color: var(--color-ink); }
.cart-item__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0px; }
.cart-item__price { width: 5.5rem; margin: 0; line-height: 1.2; }

.cart-item__price span {
  padding: 6px 12px;
  border-radius: 10px;
  background: #e6e6e6;
}

.cart-item__quantity { display: flex; flex: none; align-items: center; gap: 12px; }
.cart-item__quantity .stepper { flex: none; width: 107px; }

.cart-item__remove {
  display: inline-flex;
  flex: none;
  padding: 6px;
  border: 0;
  background: none;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
}

.cart-item__remove:hover,
.cart-item__remove:focus-visible { opacity: 1; }

.cart-item__remove svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.cart-item__total { margin: 4px 0 0; font-weight: 700; line-height: 1.4; text-align: right; white-space: nowrap; }

/* Summen (Warenkorb und Kasse) */
.totals { padding-block: 16px; border-top: 1px solid rgb(18 18 18 / 11%); }

.totals__row { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 20px; }
.totals__label { flex: 1; font-weight: 700; }
.totals__value--strong { font-weight: 700; }
.totals__value--caps { text-transform: uppercase; font-size: 0.875rem; line-height: 1.8; }
.totals__row--grand { margin: 0; padding-top: 16px; border-top: 1px solid rgb(18 18 18 / 11%); }
.totals__row--grand .totals__label,
.totals__row--grand .totals__value { font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.totals__note { flex-basis: 100%; margin: var(--space-03rem) 0 0; font-size: 0.85rem; line-height: 1.6; }
.totals__row--grand .totals__note { flex-basis: 100%; margin: var(--space-2) 0 0; font-size: 0.85rem; line-height: 1.6; }
.totals--compact { margin-top: 24px; padding-top: 28px; padding-bottom: 0; }
.totals--compact .totals__row--grand { padding-top: 0; border-top: 0; }
.totals--compact .totals__note { margin-bottom: 0; }

.cart__actions { display: flex; gap: 20px; margin-top: 36px; }
.cart__actions .button { flex: 1; padding: 11.34px 12px 9px; }
