/**
 * AsiaPower · eBay Motors 类目页结构
 * 参照 ebay.com/b/Auto-Parts-and-Vehicles/6000/bn_1865334
 */
.scheme-ebay {
  --ebay-bg: #f7f7f7;
  --ebay-white: #ffffff;
  --ebay-text: #191919;
  --ebay-muted: #707070;
  --ebay-border: #e5e5e5;
  --ebay-link: #0654ba;
  --ebay-btn: #d4a017;
  --ebay-btn-text: #0a1628;
  --ebay-promo: #0a1628;
  --ebay-sidebar-w: 220px;
  background: var(--ebay-bg);
  color: var(--ebay-text);
  font-family: var(--font-body, system-ui, sans-serif);
}

.scheme-preview-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #111827;
  color: #e5e7eb;
  padding: 10px 20px;
  font-size: 13px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 2px solid #d4a017;
}
.scheme-preview-bar strong { color: #d4a017; }
.scheme-preview-bar nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.scheme-preview-bar a {
  color: #e8bc3a;
  font-weight: 600;
  text-decoration: none;
}

.ebay-promo {
  background: var(--ebay-promo);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  text-align: center;
  padding: 7px 16px;
}
.ebay-promo a { color: var(--ebay-btn); font-weight: 600; text-decoration: none; }

/* ── Header ── */
.ebay-header {
  background: var(--ebay-white);
  border-bottom: 1px solid var(--ebay-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.ebay-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 10px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.ebay-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 6px;
}
.ebay-header__logo img { height: 38px; width: auto; display: block; }
.ebay-header__main { flex: 1; min-width: 0; }
.ebay-header__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 4px;
}
.ebay-header__actions .lang-switcher {
  margin: 0;
  gap: 2px;
}
.ebay-header__actions .lang-switcher__btn {
  min-width: 2.25rem;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 600;
}
.ebay-carousel__empty {
  flex: 0 0 auto;
  padding: 24px 16px;
  color: var(--ebay-muted, #767676);
  font-size: 14px;
}

.ebay-search { display: flex; width: 100%; min-width: 0; }
.ebay-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 2px solid var(--ebay-text);
  border-right: none;
  border-radius: 26px 0 0 26px;
  font-size: 15px;
  outline: none;
}
.ebay-search input:focus { box-shadow: inset 0 0 0 1px var(--ebay-btn); }
.ebay-search__btn {
  flex-shrink: 0;
  padding: 0 28px;
  border: none;
  border-radius: 0 26px 26px 0;
  background: var(--ebay-btn);
  color: var(--ebay-btn-text);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.ebay-search__btn:hover { filter: brightness(1.05); }

.ebay-trending--header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding: 8px 0 0;
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.ebay-trending__label {
  color: var(--ebay-muted);
  font-weight: 600;
  flex-shrink: 0;
}
.ebay-trending__tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.ebay-trending span { color: var(--ebay-muted); font-weight: 600; flex-shrink: 0; }
.ebay-trending button,
.ebay-trending__tags button {
  padding: 3px 10px;
  border-radius: 14px;
  border: 1px solid var(--ebay-border);
  background: #fafafa;
  font-size: 12px;
  cursor: pointer;
  color: var(--ebay-link);
  line-height: 1.4;
  flex-shrink: 0;
  white-space: nowrap;
}
.ebay-trending button:hover,
.ebay-trending__tags button:hover {
  border-color: var(--ebay-btn);
  background: #fff8e6;
}

/* ── 页面：面包屑 + 双栏 ── */
.ebay-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 24px;
}
.ebay-page__intro {
  padding: 16px 0 12px;
}
.ebay-breadcrumb ol {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ebay-muted);
}
.ebay-breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--ebay-muted);
}
.ebay-breadcrumb a {
  color: var(--ebay-link);
  text-decoration: none;
}
.ebay-breadcrumb a:hover { text-decoration: underline; }
.ebay-page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

.ebay-page__body {
  display: grid;
  grid-template-columns: var(--ebay-sidebar-w) 1fr;
  gap: 24px;
  align-items: start;
}

/* ── 左侧类目栏 ── */
.ebay-sidebar {
  background: var(--ebay-white);
  border: 1px solid var(--ebay-border);
  border-radius: 8px;
  padding: 16px 0 12px;
  position: sticky;
  top: 120px;
}
.ebay-sidebar__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 16px 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ebay-border);
}
.ebay-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ebay-sidebar__list a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ebay-text);
  text-decoration: none;
  line-height: 1.35;
}
.ebay-sidebar__list a:hover {
  color: var(--ebay-link);
  background: #f5f5f5;
}

/* ── 主内容区 ── */
.ebay-main { min-width: 0; }

.ebay-banner-main {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1280 / 460;
  width: 100%;
  max-height: 360px;
  background: var(--ebay-promo);
  text-decoration: none;
  color: inherit;
  margin-bottom: 24px;
}
.ebay-banner-main:hover { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }
.ebay-banner-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.ebay-banner-main__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.4) 42%, transparent 68%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  color: #fff;
  pointer-events: none;
}
.ebay-banner-main__overlay h2 {
  font-family: var(--font-display, sans-serif);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
  max-width: 320px;
}
.ebay-banner-main__overlay h2 em { color: var(--ebay-btn); font-style: normal; }
.ebay-banner-main__overlay p {
  font-size: 12px;
  opacity: 0.9;
  max-width: 300px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.ebay-banner-main__cta {
  display: inline-block;
  padding: 7px 16px;
  border: 2px solid #fff;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  width: fit-content;
  background: transparent;
}

/* ── 横向轮播区块 ── */
.ebay-carousel-section { margin-bottom: 28px; }
.ebay-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.ebay-section__head h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.ebay-section__head a {
  font-size: 13px;
  color: var(--ebay-link);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.ebay-section__head a:hover { text-decoration: underline; }

.ebay-carousel {
  position: relative;
}
.ebay-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 0 6px;
}
.ebay-carousel__track::-webkit-scrollbar { display: none; }

.ebay-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 12px));
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ebay-border);
  background: var(--ebay-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 22px;
  line-height: 1;
  color: var(--ebay-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ebay-carousel__nav:hover { background: #f5f5f5; }
.ebay-carousel__nav--prev { left: -8px; }
.ebay-carousel__nav--next { right: -8px; }

/* ── eBay 商品卡（横向） ── */
.ebay-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ebay-card:hover .ebay-card__title { text-decoration: underline; }
.ebay-card__photo {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}
.ebay-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ebay-card__title {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ebay-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ebay-card__meta {
  font-size: 11px;
  color: var(--ebay-muted);
}
.ebay-card__meta--rec {
  font-size: 11px;
  color: #059669;
  line-height: 1.3;
}
.ebay-card__stars { color: #e53238; letter-spacing: -1px; }
.ebay-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ebay-text);
  line-height: 1.2;
}
.ebay-card__price span:not(.ebay-card__was) {
  font-size: 12px;
  font-weight: 400;
  color: var(--ebay-muted);
}
.ebay-card__was {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--ebay-muted) !important;
  text-decoration: line-through;
  margin-left: 4px;
}
.ebay-card__deal {
  font-size: 11px;
  color: #cc0000;
  font-weight: 600;
}

/* ── Related searches ── */
.ebay-related {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--ebay-border);
}
.ebay-related h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
.ebay-related__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ebay-related__tags a {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--ebay-border);
  background: var(--ebay-white);
  font-size: 13px;
  color: var(--ebay-link);
  text-decoration: none;
}
.ebay-related__tags a:hover {
  border-color: var(--ebay-link);
  background: #f0f6ff;
}

/* ── 信任条 ── */
.ebay-trust {
  background: var(--ebay-white);
  border-top: 1px solid var(--ebay-border);
  margin-top: 8px;
}
.ebay-trust__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.ebay-trust__icon { font-size: 24px; margin-bottom: 6px; }
.ebay-trust__label { font-size: 13px; font-weight: 700; }
.ebay-trust__sub { font-size: 11px; color: var(--ebay-muted); margin-top: 2px; }
.ebay-trust__legal {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--ebay-muted);
  border-top: 1px solid var(--ebay-border);
  padding-top: 12px;
}
.ebay-trust__legal a { color: var(--ebay-link); text-decoration: none; }

.ebay-page-lead {
  display: none !important;
}
.ebay-sidebar__list a.is-active {
  font-weight: 700;
  color: var(--ebay-link);
  background: #f0f6ff;
}

/* ── 子页内容区适配 ── */
.scheme-ebay #main-content {
  background: var(--ebay-bg);
}
.scheme-ebay .ebay-main--content .section,
.scheme-ebay .ebay-main--content .section--gray {
  background: transparent;
  padding-top: 0;
}
.scheme-ebay .ebay-main--content .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.scheme-ebay .page-hero { display: none !important; }
.scheme-ebay .cta-block { display: none !important; }

.scheme-ebay .half-cut-grid,
.scheme-ebay .engine-catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}
.scheme-ebay .ebay-listing-list,
.scheme-ebay .brand-halfcut-list {
  display: block;
}
.scheme-ebay .ebay-listing-list .ebay-listing-row,
.scheme-ebay .brand-halfcut-list .ebay-listing-row {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ebay-border);
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.scheme-ebay .half-cut-card,
.scheme-ebay .engine-model:not(.ebay-listing-row) {
  background: var(--ebay-white);
  border: 1px solid var(--ebay-border);
  border-radius: 8px;
  overflow: hidden;
}
.scheme-ebay .half-cut-card__thumb {
  aspect-ratio: 1;
  border-radius: 0;
}
.scheme-ebay .half-cut-card__title {
  font-size: 13px;
  line-height: 1.35;
}
.scheme-ebay .half-cut-card__price {
  font-size: 16px;
  font-weight: 700;
}
.scheme-ebay .catalog-toolbar {
  background: var(--ebay-white);
  border: 1px solid var(--ebay-border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.scheme-ebay .half-cut-toolbar,
.scheme-ebay .catalog-toolbar__count {
  font-size: 13px;
}
.scheme-ebay .whatsapp-float { bottom: 20px; }
.scheme-ebay .app-bottom-nav { display: none !important; }

.catalog-empty {
  text-align: center;
  padding: 48px 24px 56px;
  background: var(--ebay-white);
  border: 1px solid var(--ebay-border);
  border-radius: 16px;
  margin-top: 8px;
}
.catalog-empty__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 12px;
}
.catalog-empty__title {
  font-family: var(--font-display, sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ebay-ink, #111);
}
.catalog-empty__lead {
  max-width: 520px;
  margin: 0 auto 20px;
  color: var(--ebay-muted, #555);
  font-size: 14px;
  line-height: 1.55;
}
.catalog-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .ebay-page__body {
    grid-template-columns: 1fr;
  }
  .ebay-sidebar {
    position: static;
    padding: 12px 0;
  }
  .ebay-sidebar__title {
    margin: 0 12px 8px;
    padding-bottom: 8px;
  }
  .ebay-sidebar__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 8px 4px;
  }
  .ebay-sidebar__list a {
    padding: 6px 12px;
    border: 1px solid var(--ebay-border);
    border-radius: 16px;
    background: #fafafa;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .ebay-header { top: 0; }
  .ebay-header__inner { padding: 10px 12px 8px; gap: 12px; }
  .ebay-header__logo img { height: 30px; }
  .ebay-search input { font-size: 14px; padding: 10px 12px; }
  .ebay-search__btn { padding: 0 18px; font-size: 14px; }
  .ebay-banner-main {
    aspect-ratio: 1280 / 320;
    max-height: 280px;
    border-radius: 12px;
  }
  .ebay-banner-main img { object-fit: cover; object-position: center 42%; }
  .ebay-banner-main__overlay {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.82) 0%, transparent 70%);
    justify-content: flex-end;
    padding: 16px;
  }
  .ebay-banner-main__overlay p { display: none; }
  .ebay-carousel__nav { display: none; }
  .ebay-card { flex-basis: 140px; }
  .ebay-trust__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ── 二手车 hub (eBay Cars & Trucks) ── */
.scheme-ebay .ebay-main--cars-hub .section,
.scheme-ebay .ebay-main--cars-hub .section--gray,
.scheme-ebay .ebay-main--cars-hub .container {
  padding: 0;
  max-width: none;
  background: transparent;
}

.ebay-cars-main { min-width: 0; }
.ebay-inventory-grid { margin-bottom: 20px; }
.ebay-parts-main .engine-catalog { margin-bottom: 20px; }
.ebay-parts-main .engine-catalog.hidden { display: none; }
.ebay-parts-main .engine-catalog__brand-header {
  padding: 12px 0 8px;
  margin: 0;
  border-bottom: 1px solid var(--ebay-border);
}
.ebay-parts-main .engine-catalog__brand-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}
.ebay-parts-main .engine-catalog__brand-meta { font-size: 12px; margin: 4px 0 0; }
.ebay-parts-main .engine-catalog__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ebay-parts-main .engine-model {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ebay-border);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  align-items: start;
}
.ebay-parts-main .engine-model::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / -1;
  width: 120px;
  min-height: 90px;
  border-radius: 4px;
  background: linear-gradient(145deg, #0a1628 0%, #1a3050 100%);
  align-self: start;
}
.ebay-parts-main .engine-model > * {
  grid-column: 2;
}
.ebay-parts-main .engine-catalog__brand-meta,
.ebay-parts-main .engine-catalog__brand-link {
  display: none;
}
.ebay-parts-main .engine-catalog__grid,
.ebay-parts-main .ebay-listing-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ebay-parts-main .engine-model.ebay-listing-row,
.ebay-parts-main .ebay-listing-row--parts {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 16px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ebay-border);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.ebay-parts-main .engine-model.ebay-listing-row::before,
.ebay-parts-main .ebay-listing-row--parts::before {
  display: none;
}
.ebay-parts-main .engine-model.ebay-listing-row > *,
.ebay-parts-main .ebay-listing-row--parts > * {
  grid-column: auto;
}
.ebay-parts-main .engine-model__header,
.ebay-parts-main .engine-model__displacement,
.ebay-parts-main .engine-model__apps,
.ebay-parts-main .engine-model__status,
.ebay-parts-main .engine-model__footer,
.ebay-parts-main .engine-model__code {
  display: none;
}
.brand-halfcut-list {
  margin-bottom: 20px;
}
.brand-halfcut-list .ebay-listing-row:first-child {
  padding-top: 4px;
}

.scheme-ebay .ebay-main--cars-hub {
  background: var(--ebay-white);
  border-radius: 8px;
  border: 1px solid var(--ebay-border);
  padding: 16px 20px 8px;
}


.ebay-cars-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ebay-border);
}
.ebay-cars-filter {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--ebay-border);
  border-radius: 999px;
  background: var(--ebay-white);
  padding: 0 8px 0 4px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ebay-cars-filter:hover {
  border-color: #b8c4d4;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.ebay-cars-filter.is-active {
  border-color: var(--ebay-navy, #0a1628);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, 0.08);
}
.ebay-cars-filter select {
  appearance: none;
  border: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E") no-repeat right 6px center;
  padding: 8px 24px 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ebay-text);
  cursor: pointer;
  max-width: 180px;
}
.ebay-cars-filter select:focus {
  outline: none;
}
.ebay-cars-filters__clear {
  font-size: 13px;
  color: var(--ebay-link);
  text-decoration: none;
  padding: 8px 4px;
  margin-left: 4px;
}
.ebay-cars-filters__clear:hover { text-decoration: underline; }

.ebay-cars-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ebay-border);
  border-radius: 0;
  padding: 10px 0 12px;
  margin-bottom: 0;
  font-size: 13px;
}
.ebay-cars-toolbar__count strong { font-weight: 700; }
.ebay-cars-toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ebay-cars-sort select {
  border: 1px solid var(--ebay-border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  background: var(--ebay-white);
}
.ebay-cars-view {
  color: var(--ebay-muted);
  font-size: 12px;
}

/* eBay horizontal list rows */
.ebay-listing-list {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 12px;
}
.ebay-listing-row {
  display: grid;
  grid-template-columns: 440px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 16px 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ebay-border);
  transition: background 0.12s ease;
}
.ebay-listing-row:last-child { border-bottom: none; }
.ebay-listing-row:hover {
  background: #f9fafb;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 4px;
}
.ebay-listing-row__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f2f5;
  border: 1px solid var(--ebay-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.ebay-listing-row__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ebay-listing-row__photo--placeholder {
  color: #9aa3ad;
}
.ebay-listing-row__photo-icon {
  width: 90px;
  height: 90px;
  opacity: 0.55;
}
.ebay-listing-row__main {
  min-width: 0;
}
.ebay-listing-row__title {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
}
.ebay-listing-row__title a {
  color: var(--ebay-link);
  text-decoration: none;
}
.ebay-listing-row__title a:hover { text-decoration: underline; }
.ebay-listing-row__aside {
  text-align: right;
}
.ebay-listing-row__price {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: var(--ebay-text);
  white-space: nowrap;
}
.ebay-listing-row__price--enquiry {
  font-size: 14px;
  font-weight: 600;
}

.ebay-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px 14px;
  margin-bottom: 20px;
}
.ebay-vehicle-card {
  background: var(--ebay-white);
  border: 1px solid var(--ebay-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s;
}
.ebay-vehicle-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.ebay-vehicle-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 10px;
}
.ebay-vehicle-card__photo {
  aspect-ratio: 4 / 3;
  background: #eef1f5;
  overflow: hidden;
}
.ebay-vehicle-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ebay-vehicle-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0a1628 0%, #1a3050 100%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  text-align: center;
  padding: 12px;
}
.ebay-vehicle-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 10px 10px 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ebay-vehicle-card:hover .ebay-vehicle-card__title { text-decoration: underline; }
.ebay-vehicle-card__meta {
  font-size: 12px;
  color: var(--ebay-muted);
  margin: 0 10px 6px;
}
.ebay-vehicle-card__price {
  font-size: 18px;
  font-weight: 700;
  margin: 0 10px 4px;
  line-height: 1.2;
}
.ebay-vehicle-card__price span {
  font-size: 11px;
  font-weight: 600;
  color: var(--ebay-muted);
}
.ebay-vehicle-card__ship {
  font-size: 11px;
  color: var(--ebay-muted);
  margin: 0 10px;
}

.ebay-listing-list .ebay-cars-empty {
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 40px 8px;
}
.ebay-cars-empty {
  text-align: center;
  padding: 40px 20px 48px;
  background: var(--ebay-white);
  border: 1px solid var(--ebay-border);
  border-radius: 12px;
}
.ebay-cars-empty__icon { font-size: 2.2rem; margin-bottom: 10px; }
.ebay-cars-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.ebay-cars-empty__lead {
  max-width: 480px;
  margin: 0 auto 18px;
  color: var(--ebay-muted);
  font-size: 14px;
  line-height: 1.5;
}
.ebay-cars-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ebay-related--cars {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--ebay-border);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .scheme-ebay .ebay-main--cars-hub {
    padding: 12px 14px 6px;
  }
  .ebay-listing-row {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
  }
  .ebay-listing-row__aside {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }
  .ebay-listing-row__price { font-size: 17px; }
  .ebay-cars-filter select { max-width: 140px; }
  .ebay-parts-main .engine-model {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .ebay-parts-main .engine-model::before {
    width: 120px;
    min-height: 90px;
  }
}
