/**
 * Mobile Produkt-Detail wie Expo-App (ProductDetailEbayLayout).
 * Nur unter .spd-mobile--ebay / max-width; Desktop bleibt unverändert.
 */
.spd-mobile--ebay {
  --ebay-ink: #14161a;
  --ebay-muted: #5c6370;
  --ebay-border: #e4e6ea;
  --ebay-orange: #ff7900;
  --ebay-bg: #f4f5f7;
  background: #fff;
  gap: 0;
  padding-bottom: 1.25rem;
}

.spd-mobile--ebay .spd-mobile-thumbs {
  display: none !important;
}

/* Galerie: Teilen + Herz oben rechts, Vollbild unten rechts */
.spd-mobile--ebay .spd-mobile-media {
  border-radius: 0;
  margin: 0;
  aspect-ratio: 1 / 1;
  max-height: none;
  background: #eef0f3;
}

.spd-mobile--ebay .spd-media-top-actions {
  top: 12px;
  right: 12px;
}

.spd-mobile--ebay .spd-media-watch,
.spd-mobile--ebay .spd-media-share {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.spd-mobile--ebay .spd-media-watch i {
  font-size: 1.15rem;
  margin: 0 !important;
}

.spd-mobile--ebay .spd-expand-btn {
  top: auto;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
}

.spd-mobile--ebay .spd-ebay-title {
  margin: 0;
  padding: 14px 16px 4px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ebay-ink);
}

/* Verkäufer + Nachricht */
.spd-mobile--ebay .spd-ebay-seller {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--ebay-border);
  border-bottom: 1px solid var(--ebay-border);
}

.spd-mobile--ebay .spd-ebay-seller__main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.spd-mobile--ebay .spd-ebay-seller__text {
  min-width: 0;
  flex: 1;
}

.spd-mobile--ebay .spd-ebay-seller__av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef0f3;
  flex-shrink: 0;
}

.spd-mobile--ebay .spd-ebay-seller__name {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ebay-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spd-mobile--ebay .spd-ebay-seller__pos {
  display: block;
  font-size: 0.75rem;
  color: var(--ebay-muted);
  margin-top: 2px;
}

.spd-mobile--ebay .spd-ebay-seller__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.spd-mobile--ebay .spd-ebay-msg,
.spd-mobile--ebay .spd-ebay-shop {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid var(--ebay-ink);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ebay-ink);
  text-decoration: none;
  background: #fff;
  text-align: center;
  white-space: nowrap;
}

/* Preisblock */
.spd-mobile--ebay .spd-ebay-price {
  padding: 14px 16px 8px;
}

.spd-mobile--ebay .spd-ebay-cond {
  color: var(--ebay-muted);
  font-size: 0.8125rem;
  margin: 0 0 6px;
}

.spd-mobile--ebay .spd-ebay-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.spd-mobile--ebay .spd-ebay-amount {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ebay-ink);
  line-height: 1.1;
}

.spd-mobile--ebay .spd-ebay-uvp {
  font-size: 0.9375rem;
  color: var(--ebay-muted);
  text-decoration: line-through;
}

.spd-mobile--ebay .spd-ebay-disc {
  background: var(--ebay-orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
}

.spd-mobile--ebay .spd-ebay-or {
  margin: 4px 0 0;
  color: var(--ebay-muted);
  font-size: 0.8125rem;
}

.spd-mobile--ebay .spd-ebay-stock {
  margin: 6px 0 0;
  color: var(--ebay-muted);
  font-size: 0.75rem;
}

.spd-mobile--ebay .spd-ebay-price-lab {
  margin: 0 0 2px;
  color: var(--ebay-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.spd-mobile--ebay .spd-ebay-next {
  margin: 4px 0 0;
  color: var(--ebay-orange);
  font-size: 0.875rem;
  font-weight: 700;
}

.spd-mobile--ebay .spd-ebay-bids {
  margin: 2px 0 0;
  color: var(--ebay-muted);
  font-size: 0.8125rem;
}

.spd-mobile--ebay .spd-ebay-status {
  margin: 0 0 6px;
  font-size: 0.8125rem;
  font-weight: 700;
}

.spd-mobile--ebay .spd-ebay-status.is-ok {
  color: #15803d;
}

.spd-mobile--ebay .spd-ebay-status.is-warn {
  color: #b45309;
}

.spd-mobile--ebay .spd-ebay-timer {
  margin-top: 12px;
}

.spd-mobile--ebay .spd-ebay-timer .spd-bidpanel__kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ebay-muted);
  margin-bottom: 6px;
}

.spd-mobile--ebay .spd-ebay-ended {
  margin-top: 8px;
  color: #dc2626;
  font-size: 0.9375rem;
  font-weight: 800;
}

/* Info-Zeilen Zahlung / Versand */
.spd-mobile--ebay .spd-ebay-rows {
  margin-top: 8px;
  border-top: 1px solid var(--ebay-border);
}

.spd-mobile--ebay .spd-ebay-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--ebay-border);
  background: #fff;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: default;
}

.spd-mobile--ebay a.spd-ebay-row,
.spd-mobile--ebay button.spd-ebay-row {
  cursor: pointer;
}

.spd-mobile--ebay .spd-ebay-row__text {
  flex: 1;
  min-width: 0;
}

.spd-mobile--ebay .spd-ebay-row__title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ebay-ink);
}

.spd-mobile--ebay .spd-ebay-row__sub {
  display: block;
  font-size: 0.75rem;
  color: var(--ebay-muted);
  margin-top: 2px;
  line-height: 1.35;
  white-space: normal;
}

.spd-mobile--ebay .spd-ebay-row__chev {
  color: var(--ebay-muted);
  font-size: 0.85rem;
}

.spd-mobile--ebay .spd-ebay-row--pay {
  cursor: default;
}

.spd-mobile--ebay .spd-ebay-row__pay {
  margin-top: 10px;
}

.spd-mobile--ebay .spd-pay-row--ebay-mobile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
}

.spd-mobile--ebay .spd-pay-row--ebay-mobile > img,
.spd-mobile--ebay .spd-pay-row--ebay-mobile > svg {
  height: 22px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
}

.spd-mobile--ebay .spd-pay-row--ebay-mobile .spd-pay-row__cash {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f6f7f9;
  color: var(--ebay-ink);
  font-size: 0.75rem;
  font-weight: 650;
}

.spd-mobile--ebay .spd-pay-row--ebay-mobile .spd-pay-row__cash i {
  color: #16a34a;
  font-size: 0.8rem;
}

/* CTA-Stack */
.spd-mobile--ebay .spd-ebay-cta {
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__hero,
.spd-mobile--ebay .spd-ebay-cta .spd-buybox__alt {
  display: none !important;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta,
.spd-mobile--ebay .spd-ebay-cta .spd-btn-primary,
.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta__main {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border-radius: 999px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 0 16px !important;
  box-shadow: none !important;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta:not(.spd-buybox__cta--cart):not(.spd-buybox__cta--propose):not(.spd-buybox__cta--secondary),
.spd-mobile--ebay .spd-ebay-cta .spd-btn-primary,
.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta__main,
.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta--secondary {
  background: var(--ebay-orange) !important;
  border: none !important;
  color: #111 !important;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta--cart,
.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta--propose,
.spd-mobile--ebay .spd-ebay-cta .spd-bidpanel__morelink,
.spd-mobile--ebay .spd-ebay-cta .spd-ebay-outline,
.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta__bot {
  background: #fff !important;
  border: 1.5px solid var(--ebay-orange) !important;
  color: var(--ebay-orange) !important;
  border-radius: 999px !important;
  min-height: 48px;
  width: 100%;
  font-weight: 800;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta-wrap,
.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta__bot {
  /* als Outline-Zeile „Bietbot“ */
  order: 2;
}

.spd-mobile--ebay .spd-ebay-cta .spd-bid-cta__bot::after {
  content: "Bietbot";
  font-weight: 800;
  font-size: 0.9375rem;
}

.spd-mobile--ebay .spd-ebay-cta .spd-bidpanel__morelink {
  order: 3;
  background: #fff !important;
}

.spd-mobile--ebay .spd-ebay-cta .spd-bidbot-pill {
  order: 4;
  margin: 0;
  border-radius: 12px;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__qty,
.spd-mobile--ebay .spd-ebay-cta .spd-buybox [data-mkt-qty-wrap] {
  order: 0;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta--secondary,
.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta[data-mkt-buy-now]:not(.spd-buybox__cta--cart) {
  order: 1;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta--cart {
  order: 2;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__cta--propose {
  order: 3;
}

.spd-mobile--ebay .spd-ebay-cta .spd-buybox__msg {
  order: 4;
}

.spd-mobile--ebay .spd-ebay-cta > .spd-ebay-outline {
  order: 20;
}

.spd-mobile--ebay .spd-ebay-section {
  margin: 8px 0 0;
  padding: 20px 16px 8px;
  border-top: 1px solid var(--ebay-border);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ebay-ink);
}

.spd-mobile--ebay .spd-ebay-card {
  margin: 0 16px 12px;
  padding: 14px;
  border: 1px solid var(--ebay-border);
  border-radius: 12px;
  background: #fff;
}

.spd-mobile--ebay .spd-ebay-card h3,
.spd-mobile--ebay .spd-ebay-card .spd-section-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
}

.spd-mobile--ebay .spd-ebay-card--flush {
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.spd-mobile--ebay .spd-card {
  margin: 0 16px 12px;
  border-radius: 12px;
  border: 1px solid var(--ebay-border);
  box-shadow: none;
}

.spd-mobile--ebay .spd-seo-lead--mobile,
.spd-mobile--ebay .spd-tags,
.spd-mobile--ebay .spd-seller-byline,
.spd-mobile--ebay > .spd-card.spd-card--soft.spd-safe,
.spd-mobile--ebay .spd-mobile-legacy-meta {
  display: none !important;
}

/* Shared Infos unter der Mobile-Spalte */
@media (max-width: 991.98px) {
  .lk-auc-page .spd-desc-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background: #fff;
  }

  .lk-auc-page .spd-desc-row::before {
    content: "Infos zum Artikel";
    display: block;
    padding: 20px 16px 8px;
    border-top: 1px solid #e4e6ea;
    font-size: 1.125rem;
    font-weight: 800;
    color: #14161a;
  }

  .lk-auc-page .spd-desc-row > .spd-card {
    margin: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #e4e6ea;
    box-shadow: none;
    padding: 12px 16px 18px;
  }

  .lk-auc-page .spd-desc-row > .spd-card h2 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
  }

  .lk-auc-page .spd-related {
    background: #fff;
    padding: 16px 0 24px;
    border-top: 1px solid #e4e6ea;
  }

  .lk-auc-page .spd-related h2 {
    padding: 0 16px;
    font-size: 1.125rem;
    font-weight: 800;
  }
}
