/**
 * Thunder EV — Home marketplace body (EV Charging Machines layout)
 * Header/chrome from tev-marketplace-layout.css — home body only.
 */

body.tev-public-marketplace.tev-home-page {
  background: #fff;
}

body.tev-public-marketplace.tev-home-page .tev-hm {
  display: block;
  min-width: 0;
}

body.tev-public-marketplace.tev-home-page .tev-hm-wrap {
  max-width: 100%;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

body.tev-public-marketplace.tev-home-page .tev-hm-section {
  padding: 1.35rem 0 1.5rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-section--alt {
  background: #f8fafc;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 0;
  margin-right: 0;
}

body.tev-public-marketplace.tev-home-page .tev-hm-section--alt > .tev-hm-wrap {
  padding-top: 1.35rem;
  padding-bottom: 1.5rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-head {
  text-align: center;
  margin-bottom: 1.1rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-head--left {
  text-align: left;
}

body.tev-public-marketplace.tev-home-page .tev-hm-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 0.95rem + 0.5vw, 1.45rem);
  font-weight: 800;
  color: #0c1e4a;
}

body.tev-public-marketplace.tev-home-page .tev-hm-head p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #64748b;
}

body.tev-public-marketplace.tev-home-page .tev-hm-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-head__row h2 {
  margin: 0;
}

body.tev-public-marketplace.tev-home-page .tev-hm-link-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
}

body.tev-public-marketplace.tev-home-page .tev-hm-link-all:hover {
  text-decoration: underline;
}

/* —— Home sections (vehicle + capacity) —— */
body.tev-public-marketplace.tev-home-page .tev-mp-page-col .tev-home-section,
body.tev-public-marketplace.tev-home-page .tev-home-section {
  max-width: 100%;
  margin: 0;
  padding: 14px 10px;
  box-sizing: border-box;
}

body.tev-public-marketplace.tev-home-page .tev-home-section--vehicles {
  padding-bottom: 6px;
}

body.tev-public-marketplace.tev-home-page .tev-home-section--vehicles h2 {
  margin-bottom: 14px;
}

body.tev-public-marketplace.tev-home-page .tev-home-section--capacity {
  padding-top: 6px;
  padding-bottom: 6px;
}

body.tev-public-marketplace.tev-home-page .tev-hm-section--quick {
  padding-top: 0.65rem;
  padding-bottom: 1.1rem;
}

body.tev-public-marketplace.tev-home-page .tev-home-section h2 {
  text-align: center;
  font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.65rem);
  color: #071b4d;
  margin: 0 0 4px;
}

body.tev-public-marketplace.tev-home-page .tev-home-section > p {
  text-align: center;
  color: #4b5b76;
  margin: 0 0 12px;
  font-size: 0.88rem;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: #0f172a;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(15, 43, 102, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card:hover {
  transform: translateY(-2px);
  border-color: #93b4f5;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.12);
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card__media {
  flex-shrink: 0;
  width: 100%;
  height: clamp(66px, 5.25vw, 79px);
  margin: 0;
  padding: 0;
  background: #e8e8e8;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  line-height: 0;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom center;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 12px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card__title {
  margin: 0 0 4px;
  font-size: clamp(0.72rem, 0.62rem + 0.35vw, 0.92rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

body.tev-public-marketplace.tev-home-page .tev-vehicle-card__range {
  margin: 0;
  font-size: clamp(0.68rem, 0.58rem + 0.3vw, 0.84rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

body.tev-public-marketplace.tev-home-page .tev-capacity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-sizing: border-box;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.12);
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .card-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card:hover .card-image {
  transform: scale(1.05);
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card h3 {
  font-size: 1rem;
  color: #0f172a;
  margin: 0 0 0.4rem;
  font-weight: 700;
  line-height: 1.3;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card p {
  color: #475569;
  margin: 0 0 0.8rem;
  font-size: 0.85rem;
  line-height: 1.45;
  flex: 1;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .card-product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin-top: auto;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .guns-container {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  flex-wrap: nowrap;
  max-width: 100%;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .gun-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: transparent;
  border: none;
  color: #64748b;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: help;
  padding: 0;
  min-width: 0;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .gun-badge:hover {
  color: #2563eb;
  transform: translateY(-1px) scale(1.05);
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .gun-badge svg {
  width: 16px;
  height: 16px;
  display: block;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .gun-type-label {
  font-size: 0.52rem;
  font-weight: 800;
  margin-top: 1px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: #64748b;
  line-height: 1;
  white-space: nowrap;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .gun-badge:hover .gun-type-label {
  color: #0ea5e9;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .price-tag {
  display: inline-block;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  margin-top: 0.1rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card--no-listing {
  /* Soften unavailable tiers — avoid blur which made the whole grid look broken */
  filter: saturate(0.75);
  opacity: 0.78;
  position: relative;
  cursor: pointer;
}

body.tev-public-marketplace.tev-home-page .tev-hm-charger-card--no-listing::after {
  content: 'No listing yet';
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  z-index: 2;
}

body.tev-public-marketplace.tev-home-page .tev-mp-shell .tev-hm-featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__img {
  aspect-ratio: 1;
  padding: 0.25rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__img img {
  max-height: 88px;
}

@media (min-width: 1280px) {
  body.tev-public-marketplace.tev-home-page .tev-mp-shell .tev-hm-featured {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  body.tev-public-marketplace.tev-home-page .tev-vehicle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tev-public-marketplace.tev-home-page .tev-capacity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.tev-public-marketplace.tev-home-page .tev-mp-shell .tev-hm-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.tev-public-marketplace.tev-home-page img.tev-home-img--missing {
  object-fit: contain;
  background: #fff;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__img img.tev-home-img--missing {
  object-fit: contain;
  background: #eef2f7;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card__icon.tev-home-img--missing {
  opacity: 0.85;
  background: #eef2f7;
  border-radius: 4px;
}

@media (max-width: 767px) {
  body.tev-public-marketplace.tev-home-page .tev-home-section {
    padding: 14px 10px;
  }

  body.tev-public-marketplace.tev-home-page .tev-home-section h2 {
    font-size: 1.2rem;
  }

  body.tev-public-marketplace.tev-home-page .tev-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.tev-public-marketplace.tev-home-page .tev-vehicle-card__media {
    height: 59px;
  }

  body.tev-public-marketplace.tev-home-page .tev-capacity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body.tev-public-marketplace.tev-home-page .tev-hm-charger-card {
    padding: 0.85rem;
  }

  body.tev-public-marketplace.tev-home-page .tev-hm-charger-card .card-image {
    height: 130px;
    margin-bottom: 0.75rem;
  }

  body.tev-public-marketplace.tev-home-page .tev-mp-shell .tev-hm-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Vehicle cards (legacy tev-hm-*) —— */
body.tev-public-marketplace.tev-home-page .tev-hm-vehicles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle--active,
body.tev-public-marketplace.tev-home-page .tev-hm-vehicle:hover {
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle--active {
  border-width: 2px;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle:hover {
  transform: translateY(-2px);
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle__img {
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  overflow: hidden;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle__body {
  padding: 0.65rem 0.75rem 0.8rem;
  text-align: center;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle__icon {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  flex-shrink: 0;
}

body.tev-public-marketplace.tev-home-page .tev-hm-vehicle__range {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

/* —— Capacity chips —— */
body.tev-public-marketplace.tev-home-page .tev-hm-capacity {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-cap {
  display: block;
  text-decoration: none;
  text-align: center;
  background: #f8fbff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.65rem 0.4rem;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

body.tev-public-marketplace.tev-home-page .tev-hm-cap:hover {
  border-color: #60a5fa;
  background: #eff6ff;
  transform: translateY(-1px);
}

body.tev-public-marketplace.tev-home-page .tev-hm-cap strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.2;
}

body.tev-public-marketplace.tev-home-page .tev-hm-cap span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.3;
}

body.tev-public-marketplace.tev-home-page .tev-hm-cap--wide strong {
  font-size: 0.82rem;
}

/* —— Quick start —— */
body.tev-public-marketplace.tev-home-page .tev-hm-section--quick .tev-hm-head {
  margin-bottom: 0.65rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  min-height: 100%;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.1);
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card__icon {
  width: 3rem;
  height: 2.25rem;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
  border-radius: 6px;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card__text {
  min-width: 0;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

body.tev-public-marketplace.tev-home-page .tev-hm-quick-card p {
  margin: 0;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}

/* —— Featured products —— */
body.tev-public-marketplace.tev-home-page .tev-hm-featured {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.7rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.12);
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__badge {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  z-index: 2;
  background: #16a34a;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__img {
  aspect-ratio: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__body {
  padding: 0.55rem 0.6rem 0.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__power {
  margin: 0;
  font-size: 0.65rem;
  color: #64748b;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__price {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__price del {
  font-weight: 500;
  color: #94a3b8;
  font-size: 0.68rem;
  margin-right: 0.25rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__off {
  color: #dc2626;
  font-size: 0.65rem;
  font-weight: 700;
}

body.tev-public-marketplace.tev-home-page .tev-hm-product__cta {
  display: none;
}

/* —— Compact panels —— */
body.tev-public-marketplace.tev-home-page .tev-hm-duo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.85rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

body.tev-public-marketplace.tev-home-page .tev-hm-panel__banner {
  display: block;
  width: calc(100% + 2.4rem);
  max-width: none;
  height: auto;
  margin: -1.15rem -1.2rem 0.85rem;
  object-fit: cover;
  aspect-ratio: 4 / 1;
}

body.tev-public-marketplace.tev-home-page .tev-hm-panel--highlight {
  background: linear-gradient(135deg, #eff6ff 0%, #fff 55%);
  border-color: #bfdbfe;
}

body.tev-public-marketplace.tev-home-page .tev-hm-panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0c1e4a;
}

body.tev-public-marketplace.tev-home-page .tev-hm-panel p {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

body.tev-public-marketplace.tev-home-page .tev-hm-panel ul {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.55;
}

body.tev-public-marketplace.tev-home-page .tev-hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #fff;
}

body.tev-public-marketplace.tev-home-page .tev-hm-btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

body.tev-public-marketplace.tev-home-page .tev-hm-btn--orange {
  background: #ea580c;
  border-color: #ea580c;
}

body.tev-public-marketplace.tev-home-page .tev-hm-btn--orange:hover {
  background: #c2410c;
  border-color: #c2410c;
}

body.tev-public-marketplace.tev-home-page .tev-hm-btn--outline {
  background: #fff;
  color: #2563eb;
}

/* —— Brands —— */
body.tev-public-marketplace.tev-home-page .tev-hm-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

body.tev-public-marketplace.tev-home-page .tev-hm-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.tev-public-marketplace.tev-home-page .tev-hm-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* —— Stories —— */
body.tev-public-marketplace.tev-home-page .tev-hm-stories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 42rem;
  margin: 0 auto;
}

body.tev-public-marketplace.tev-home-page .tev-hm-story--solo blockquote + blockquote {
  margin-top: 0.45rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-story {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

body.tev-public-marketplace.tev-home-page .tev-hm-story__stars {
  color: #f59e0b;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-story blockquote {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #334155;
}

body.tev-public-marketplace.tev-home-page .tev-hm-story__meta {
  font-size: 0.68rem;
  color: #64748b;
}

body.tev-public-marketplace.tev-home-page .tev-hm-story__meta strong {
  display: block;
  color: #0f172a;
  font-size: 0.72rem;
}

body.tev-public-marketplace.tev-home-page .tev-hm-muted {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* —— Responsive —— */
@media (max-width: 1200px) {
  body.tev-public-marketplace.tev-home-page .tev-hm-featured {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-capacity {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  body.tev-public-marketplace.tev-home-page .tev-hm-vehicles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.tev-public-marketplace.tev-home-page .tev-hm-vehicles,
  body.tev-public-marketplace.tev-home-page .tev-hm-quick {
    grid-template-columns: 1fr;
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-capacity {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-stories {
    grid-template-columns: 1fr;
  }
  body.tev-public-marketplace.tev-home-page .tev-hm-section {
    padding: 1rem 0 1.15rem;
  }
}

/* —— Hero Slider —— */
.tev-hero-slider {
  position: relative;
  width: 100%;
  max-width: var(--tev-mp-max-w, 1400px);
  margin: 0 auto;
  height: clamp(140px, 20vw, 300px);
  overflow: hidden;
  background: #f8fafc;
}

.tev-hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.tev-hero-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.tev-hero-slider__slide.active {
  opacity: 1;
  z-index: 2;
}

.tev-hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tev-hero-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.tev-hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background 0.3s;
}

.tev-hero-slider__dot.active {
  background: #2563eb;
  border-color: #2563eb;
}
