/* ==========================================================================
   aufnaeher.de – Warenkorb 2026
   Eigene Klassen (aufc2-*), damit keine Regel aus cart-redesign-v13.css
   dagegen kaempft. Wird nur geladen, wenn body.auf-cart-2026 gesetzt ist.
   ========================================================================== */

.auf-cart-2026 {
  --c2-ink: #101828;
  --c2-muted: #667085;
  --c2-faint: #98a2b3;
  --c2-line: #e7eaf0;
  --c2-line-soft: #f0f2f6;
  --c2-bg: #f7f8fa;
  --c2-gold: #f5b400;
  --c2-gold-dark: #b98900;
  --c2-green: #0f7b46;
  --c2-green-bg: #e8f6ee;
  --c2-radius: 18px;
  --c2-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 28px rgba(16, 24, 40, .05);
}

/* ---------- Grundgeruest: Liste links, Uebersicht rechts ---------- */
.auf-cart-2026 .aufc2-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 28px;
  align-items: start;
}

.auf-cart-2026 .aufc2-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.auf-cart-2026 .aufc2-head__title {
  margin: 0;
  color: var(--c2-ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.auf-cart-2026 .aufc2-head__count {
  color: var(--c2-muted);
  font-size: 14px;
  font-weight: 600;
}
.auf-cart-2026 .aufc2-head__back {
  color: var(--c2-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--c2-line);
  padding-bottom: 1px;
}
.auf-cart-2026 .aufc2-head__back:hover { color: var(--c2-ink); border-bottom-color: var(--c2-gold); }

/* ---------- Artikelkarte ---------- */
.auf-cart-2026 .aufc2-list { display: flex; flex-direction: column; gap: 14px; }

.auf-cart-2026 .aufc2-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-radius);
  background: #fff;
  box-shadow: var(--c2-shadow);
}

.auf-cart-2026 .aufc2-card__media { position: relative; }
.auf-cart-2026 .aufc2-card__img {
  display: block;
  width: 92px;
  height: 92px;
  border: 1px solid var(--c2-line);
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
}
.auf-cart-2026 .aufc2-card__zoom {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--c2-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c2-muted);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .12);
}
.auf-cart-2026 .aufc2-card__zoom svg { width: 14px; height: 14px; }
.auf-cart-2026 .aufc2-card__zoom:hover { color: var(--c2-ink); border-color: #d6dbe4; }

.auf-cart-2026 .aufc2-card__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  justify-content: space-between;
}
.auf-cart-2026 .aufc2-card__title {
  margin: 0;
  color: var(--c2-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.auf-cart-2026 .aufc2-card__title a { color: inherit; text-decoration: none; }
.auf-cart-2026 .aufc2-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }

.auf-cart-2026 .aufc2-card__meta {
  margin: 5px 0 0;
  color: var(--c2-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.auf-cart-2026 .aufc2-card__meta .aufc2-dot { margin: 0 7px; color: var(--c2-faint); }

.auf-cart-2026 .aufc2-card__remove {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--c2-faint);
  text-decoration: none;
  cursor: pointer;
}
.auf-cart-2026 .aufc2-card__remove svg { width: 17px; height: 17px; }
.auf-cart-2026 .aufc2-card__remove:hover { background: #fdeceb; color: #c9372c; }

/* Spezifikationen: kompaktes Label/Wert-Raster statt Zeilentabelle */
.auf-cart-2026 .aufc2-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--c2-line-soft);
}
.auf-cart-2026 .aufc2-spec { margin: 0; min-width: 0; }
.auf-cart-2026 .aufc2-spec__k {
  display: block;
  margin: 0 0 2px;
  color: var(--c2-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.auf-cart-2026 .aufc2-spec__v {
  display: block;
  margin: 0;
  color: var(--c2-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.auf-cart-2026 .aufc2-spec__v.is-empty { color: var(--c2-faint); font-weight: 600; }

.auf-cart-2026 .aufc2-file {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--c2-ink);
  text-decoration: none;
}
.auf-cart-2026 .aufc2-file svg { width: 14px; height: 14px; color: var(--c2-muted); flex: 0 0 auto; }
.auf-cart-2026 .aufc2-file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom: 1px solid var(--c2-line);
}
.auf-cart-2026 .aufc2-file:hover span { border-bottom-color: var(--c2-gold); }

/* Fusszeile der Karte: Menge links, Preise rechts */
.auf-cart-2026 .aufc2-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--c2-line-soft);
}

.auf-cart-2026 .aufc2-qty { display: flex; align-items: center; gap: 10px; }
.auf-cart-2026 .aufc2-qty__label {
  color: var(--c2-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.auf-cart-2026 .aufc2-qty select,
.auf-cart-2026 .aufc2-qty input.qty {
  height: 40px !important;
  min-width: 96px !important;
  padding: 0 12px !important;
  border: 1px solid var(--c2-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--c2-ink) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}
.auf-cart-2026 .aufc2-qty select:focus,
.auf-cart-2026 .aufc2-qty input.qty:focus {
  outline: none;
  border-color: var(--c2-gold) !important;
  box-shadow: 0 0 0 3px rgba(245, 180, 0, .18);
}

.auf-cart-2026 .aufc2-money { display: flex; align-items: baseline; gap: 14px; margin-left: auto; }
.auf-cart-2026 .aufc2-money__unit { color: var(--c2-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.auf-cart-2026 .aufc2-money__unit .amount,
.auf-cart-2026 .aufc2-money__unit bdi { color: var(--c2-muted); font-weight: 700; }
.auf-cart-2026 .aufc2-money__sum { color: var(--c2-ink); font-size: 21px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.auf-cart-2026 .aufc2-money__sum .amount,
.auf-cart-2026 .aufc2-money__sum bdi { color: var(--c2-ink); font-size: inherit; font-weight: inherit; }

/* Lieferhinweis unter der Liste */
.auf-cart-2026 .aufc2-deliver {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--c2-line);
  border-radius: 12px;
  background: #fff;
  color: var(--c2-muted);
  font-size: 13.5px;
  font-weight: 600;
}
.auf-cart-2026 .aufc2-deliver svg { width: 17px; height: 17px; color: var(--c2-green); flex: 0 0 auto; }
.auf-cart-2026 .aufc2-deliver b { color: var(--c2-ink); font-weight: 800; }

/* ---------- Bestelluebersicht ---------- */
.auf-cart-2026 .aufc2-sum {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid var(--c2-line);
  border-radius: var(--c2-radius);
  background: #fff;
  box-shadow: var(--c2-shadow);
}
.auf-cart-2026 .aufc2-sum__title {
  margin: 0 0 16px;
  color: var(--c2-ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.auf-cart-2026 .aufc2-sum__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  font-size: 14.5px;
}
.auf-cart-2026 .aufc2-sum__row > span:first-child { color: var(--c2-muted); font-weight: 600; }
.auf-cart-2026 .aufc2-sum__row > span:last-child { color: var(--c2-ink); font-weight: 700; text-align: right; }
.auf-cart-2026 .aufc2-sum__row .amount,
.auf-cart-2026 .aufc2-sum__row bdi { color: inherit; font-size: inherit; font-weight: inherit; }

.auf-cart-2026 .aufc2-free {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--c2-green-bg);
  color: var(--c2-green) !important;
  font-size: 12.5px;
  font-weight: 800;
}
.auf-cart-2026 .aufc2-sum__note {
  margin: 2px 0 10px;
  color: var(--c2-faint);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

.auf-cart-2026 .aufc2-sum__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--c2-line);
}
.auf-cart-2026 .aufc2-sum__total > span:first-child { color: var(--c2-ink); font-size: 16px; font-weight: 800; }
.auf-cart-2026 .aufc2-sum__total > span:last-child { color: var(--c2-ink); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.auf-cart-2026 .aufc2-sum__total .amount,
.auf-cart-2026 .aufc2-sum__total bdi { color: inherit; font-size: inherit; font-weight: inherit; }
.auf-cart-2026 .aufc2-sum__tax {
  margin: 5px 0 0;
  color: var(--c2-muted);
  font-size: 12.5px;
  font-weight: 500;
  text-align: right;
}

.auf-cart-2026 .aufc2-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 54px;
  margin: 18px 0 0;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--c2-gold);
  color: #1a1204 !important;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(245, 180, 0, .3);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.auf-cart-2026 .aufc2-btn:hover {
  background: #ffc21f;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(245, 180, 0, .38);
}
.auf-cart-2026 .aufc2-btn svg { width: 18px; height: 18px; }

.auf-cart-2026 .aufc2-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 11px 0 0;
  color: var(--c2-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.auf-cart-2026 .aufc2-secure svg { width: 14px; height: 14px; color: var(--c2-green); }

.auf-cart-2026 .aufc2-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--c2-line-soft);
}
.auf-cart-2026 .aufc2-pay img { height: 20px; width: auto; opacity: .9; }
.auf-cart-2026 .aufc2-pay__txt {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--c2-line);
  border-radius: 5px;
  color: var(--c2-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.auf-cart-2026 .aufc2-usp {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--c2-line-soft);
  list-style: none;
}
.auf-cart-2026 .aufc2-usp li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 9px;
  color: var(--c2-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.auf-cart-2026 .aufc2-usp li:last-child { margin-bottom: 0; }
.auf-cart-2026 .aufc2-usp svg { width: 15px; height: 15px; color: var(--c2-green); flex: 0 0 auto; margin-top: 1px; }
.auf-cart-2026 .aufc2-usp b { color: var(--c2-ink); font-weight: 800; }

.auf-cart-2026 .aufc2-ask {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--c2-line);
  border-radius: 12px;
  background: #fcfcfd;
}
.auf-cart-2026 .aufc2-ask__t { color: var(--c2-ink); font-size: 13.5px; font-weight: 800; }
.auf-cart-2026 .aufc2-ask__s { margin: 3px 0 9px; color: var(--c2-muted); font-size: 12.5px; font-weight: 500; line-height: 1.45; }
.auf-cart-2026 .aufc2-ask a,
.auf-cart-2026 .aufc2-ask button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c2-gold-dark) !important;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.auf-cart-2026 .aufc2-ask a:hover,
.auf-cart-2026 .aufc2-ask button:hover { color: var(--c2-ink) !important; }

/* ---------- Tablet / Mobil ---------- */
@media (max-width: 1080px) {
  .auf-cart-2026 .aufc2-wrap { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
}
@media (max-width: 980px) {
  .auf-cart-2026 .aufc2-wrap { grid-template-columns: minmax(0, 1fr); }
  .auf-cart-2026 .aufc2-sum { position: static; }
}
@media (max-width: 640px) {
  .auf-cart-2026 .aufc2-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .auf-cart-2026 .aufc2-card__img { width: 64px; height: 64px; border-radius: 10px; }
  .auf-cart-2026 .aufc2-card__title { font-size: 16px; }
  .auf-cart-2026 .aufc2-specs { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .auf-cart-2026 .aufc2-card__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .auf-cart-2026 .aufc2-money { margin-left: 0; justify-content: space-between; }
  .auf-cart-2026 .aufc2-head__title { font-size: 22px; }
}

/* ==========================================================================
   Integration in die bestehende Seite
   Das alte Layout (cart-redesign-v13.css) stylt die Tabellenzeile selbst als
   Karte und legt der Uebersicht einen eigenen Rahmen an. Beides wird hier
   zurueckgenommen, damit nur noch .aufc2-card / .aufc2-sum sichtbar sind.
   ========================================================================== */

/* Tabelle -> reiner Container, die Karte bringt die Optik mit */
body.auf-cart-2026 table.shop_table.cart,
body.auf-cart-2026 table.shop_table.cart tbody {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.auf-cart-2026 table.shop_table.cart thead { display: none !important; }
body.auf-cart-2026 table.shop_table.cart tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
body.auf-cart-2026 tr.woocommerce-cart-form__cart-item {
  display: block !important;
  position: static !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}
body.auf-cart-2026 tr.woocommerce-cart-form__cart-item > td { display: none !important; }
body.auf-cart-2026 tr.woocommerce-cart-form__cart-item::before,
body.auf-cart-2026 tr.woocommerce-cart-form__cart-item::after { content: none !important; display: none !important; }

/* Das verschobene Mengen-<td> darf sich nicht wie eine Tabellenzelle verhalten */
body.auf-cart-2026 td.aufc2-qtycell {
  display: inline-flex !important;
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
body.auf-cart-2026 td.aufc2-qtycell::before { content: none !important; display: none !important; }
body.auf-cart-2026 td.aufc2-qtycell .quantity,
body.auf-cart-2026 td.aufc2-qtycell .select-qty-cart,
body.auf-cart-2026 td.aufc2-qtycell > span,
body.auf-cart-2026 td.aufc2-qtycell form {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
body.auf-cart-2026 td.aufc2-qtycell select { -webkit-appearance: menulist !important; appearance: menulist !important; }

/* Aktionszeile bleibt aus (Menge wird per AJAX uebernommen) */
body.auf-cart-2026 td.actions,
body.auf-cart-2026 tr:has(> td.actions) { display: none !important; }

/* Uebersicht: alter Rahmen weg, nur noch .aufc2-sum ist sichtbar */
body.auf-cart-2026 .cart-collaterals .cart_totals {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.auf-cart-2026 .cart_totals::before,
body.auf-cart-2026 .cart_totals::after { content: none !important; display: none !important; }
body.auf-cart-2026 .cart_totals.aufc2-done > h2,
body.auf-cart-2026 .cart_totals.aufc2-done > table,
body.auf-cart-2026 .cart_totals.aufc2-done > .wc-proceed-to-checkout,
body.auf-cart-2026 .cart_totals.aufc2-done > .woocommerce-shipping-calculator,
body.auf-cart-2026 .cart_totals.aufc2-done > .wc-gzd-additional-info,
body.auf-cart-2026 .cart_totals.aufc2-done > p { display: none !important; }

/* Reste des alten Aufbaus */
body.auf-cart-2026 .auf-trustbar,
body.auf-cart-2026 .auf-card,
body.auf-cart-2026 .auf-cartinq-bighint { display: none !important; }

/* Der Checkout-Link behaelt seine WooCommerce-Klassen -> hart ueberschreiben */
body.auf-cart-2026 a.checkout-button.aufc2-btn,
body.auf-cart-2026 .aufc2-btn {
  width: 100% !important;
  height: 54px !important;
  margin: 18px 0 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--c2-gold) !important;
  color: #1a1204 !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-transform: none !important;
}
body.auf-cart-2026 .aufc2-btn__i { display: inline-flex; }
body.auf-cart-2026 .aufc2-btn__i svg { width: 18px; height: 18px; display: block; }

body.auf-cart-2026 .aufc2-ask__cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--c2-gold-dark) !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
}
body.auf-cart-2026 .aufc2-ask__cta:hover { color: var(--c2-ink) !important; }

/* Motiv-Lightbox */
.aufc2-lb {
  position: fixed;
  inset: 0;
  z-index: 100060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 40, .72);
  cursor: zoom-out;
}
.aufc2-lb img {
  max-width: min(760px, 92vw);
  max-height: 86vh;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
}

/* Bis das JS durch ist, nichts Halbfertiges zeigen */
body.auf-cart-2026 .woocommerce-cart-form,
body.auf-cart-2026 .cart-collaterals { opacity: 0; transition: opacity .18s ease; }
body.auf-cart-2026.aufc2-ready .woocommerce-cart-form,
body.auf-cart-2026.aufc2-ready .cart-collaterals { opacity: 1; }

/* WooCommerce faerbt a.remove hart rot -- das Symbol soll erst beim
   Ueberfahren warnen, sonst sieht die Karte nach Fehlermeldung aus. */
body.auf-cart-2026 a.remove.aufc2-card__remove {
  color: var(--c2-faint) !important;
  font-size: 0 !important;
  background: transparent !important;
}
body.auf-cart-2026 a.remove.aufc2-card__remove:hover {
  color: #c9372c !important;
  background: #fdeceb !important;
}
body.auf-cart-2026 a.remove.aufc2-card__remove svg { width: 17px; height: 17px; display: block; }

/* Anfrage-Karte des alten Layouts steckt ebenfalls in .cart_totals */
body.auf-cart-2026 .cart_totals.aufc2-done > .kv-cart-inquiry-card { display: none !important; }

/* Echte Zahlungslogos aus uploads/zahlarten/ */
body.auf-cart-2026 .aufc2-pay img {
  height: 22px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  opacity: .92;
}

/* Das Mobil-Stylesheet setzt der Mengen-Zelle ein eigenes "Menge"-Label per
   ::before vor -- zusammen mit dem Label der Karte stand es doppelt da.
   Die Regeln dort haengen an tr...td.product-quantity, deshalb hier mit
   derselben Verschachtelung gegenhalten. */
body.auf-cart-2026 tr.woocommerce-cart-form__cart-item td.product-quantity::before,
body.auf-cart-2026 td.product-quantity::before,
body.auf-cart-2026 td.aufc2-qtycell::before {
  content: none !important;
  display: none !important;
}

/* ==========================================================================
   Nacharbeit 18.09.2026
   - Produktbild groesser, Kundenmotiv darunter
   - Loeschsymbol steht neben dem Titel statt am rechten Kartenrand
   - Kasse-Knopf mit Verlauf statt flaechigem Gelb
   ========================================================================== */

body.auf-cart-2026 .aufc2-card { grid-template-columns: 124px minmax(0, 1fr); }
body.auf-cart-2026 .aufc2-card__img {
  width: 124px;
  height: 124px;
  border-radius: 14px;
  padding: 6px;
  background: #fff;
}

/* Motiv des Kunden unter dem Produktbild */
body.auf-cart-2026 .aufc2-motiv {
  display: block;
  margin: 10px 0 0;
  padding: 7px 7px 8px;
  border: 1px solid var(--c2-line);
  border-radius: 12px;
  background: #fcfcfd;
  cursor: zoom-in;
  text-align: center;
}
body.auf-cart-2026 .aufc2-motiv:hover { border-color: var(--c2-gold); background: #fffdf5; }
body.auf-cart-2026 .aufc2-motiv:focus-visible {
  outline: none;
  border-color: var(--c2-gold);
  box-shadow: 0 0 0 3px rgba(245, 180, 0, .2);
}
body.auf-cart-2026 .aufc2-motiv__label {
  display: block;
  margin: 0 0 5px;
  color: var(--c2-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
body.auf-cart-2026 .aufc2-motiv__img {
  display: block;
  width: 100%;
  height: 78px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

/* Loeschsymbol direkt neben den Titel, nicht an den Kartenrand */
body.auf-cart-2026 .aufc2-card__top {
  justify-content: flex-start;
  gap: 8px;
}
body.auf-cart-2026 .aufc2-card__top > div:first-child { flex: 0 1 auto; min-width: 0; }
body.auf-cart-2026 a.remove.aufc2-card__remove { margin: 1px 0 0; }

/* Kasse-Knopf */
body.auf-cart-2026 a.checkout-button.aufc2-btn,
body.auf-cart-2026 .aufc2-btn {
  position: relative;
  height: 58px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffd24d 0%, #f7bc02 52%, #e9a900 100%) !important;
  color: #1a1204 !important;
  font-size: 17px !important;
  letter-spacing: .01em !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset,
              0 10px 22px rgba(233, 169, 0, .34),
              0 2px 4px rgba(26, 18, 4, .12) !important;
  overflow: hidden;
}
body.auf-cart-2026 .aufc2-btn:hover {
  background: linear-gradient(180deg, #ffdd70 0%, #ffc71d 52%, #f2b300 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset,
              0 14px 28px rgba(233, 169, 0, .42),
              0 2px 4px rgba(26, 18, 4, .14) !important;
}
body.auf-cart-2026 .aufc2-btn:active { transform: translateY(0); }
body.auf-cart-2026 .aufc2-btn__i {
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(26, 18, 4, .12);
}
body.auf-cart-2026 .aufc2-btn__i svg { width: 15px; height: 15px; }

@media (max-width: 640px) {
  body.auf-cart-2026 .aufc2-card { grid-template-columns: 92px minmax(0, 1fr); }
  body.auf-cart-2026 .aufc2-card__img { width: 92px; height: 92px; }
  body.auf-cart-2026 .aufc2-motiv__img { height: 58px; }
}

/* WooCommerce setzt fuer ALLE Bilder in table.cart width/height 32px
   (.woocommerce-cart table.cart img) und gewinnt nach Spezifitaet gegen
   .aufc2-card__img. Deshalb hier mit !important dagegen. */
body.auf-cart-2026 .aufc2-card__img {
  width: 124px !important;
  height: 124px !important;
  max-width: none !important;
}
body.auf-cart-2026 .aufc2-motiv__img {
  width: 100% !important;
  height: 78px !important;
  max-width: none !important;
}
@media (max-width: 640px) {
  body.auf-cart-2026 .aufc2-card__img { width: 92px !important; height: 92px !important; }
  body.auf-cart-2026 .aufc2-motiv__img { height: 58px !important; }
}

/* Korrektur: Loeschsymbol doch wieder rechts, aber nicht in die Ecke
   geklebt -- der negative Rand der ersten Fassung zog es bis an die
   Kartenrundung. Jetzt rechtsbuendig innerhalb des Kartenabstands. */
body.auf-cart-2026 .aufc2-card__top {
  justify-content: space-between;
  gap: 16px;
}
body.auf-cart-2026 .aufc2-card__top > div:first-child { flex: 1 1 auto; min-width: 0; }
body.auf-cart-2026 a.remove.aufc2-card__remove {
  flex: 0 0 auto;
  margin: 0 !important;
}

/* Tonne bleibt rechts, r\u00fcckt aber deutlich von der Kartenkante weg. */
body.auf-cart-2026 .aufc2-card__top { padding-right: 34px; }

/* "Zur Kasse": WooCommerce gibt a.button ein display:inline-block samt
   eigenem Innenabstand. Damit lief align-items ins Leere und die Beschriftung
   sass zu hoch. Flexbox und Zeilenhoehe deshalb hart setzen. */
body.auf-cart-2026 a.checkout-button.aufc2-btn,
body.auf-cart-2026 .aufc2-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  padding: 0 20px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

/* Kein anzeigbares Bild (PDF, AI, EPS): Datei-Schaltflaeche statt
   kaputter Vorschau. */
body.auf-cart-2026 .aufc2-motiv--datei {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  text-decoration: none;
}
body.auf-cart-2026 .aufc2-motiv__ext {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #eef1f5;
  color: var(--c2-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
body.auf-cart-2026 .aufc2-motiv--datei:hover .aufc2-motiv__ext {
  background: var(--c2-gold);
  color: #1a1204;
}
