/* HF 4.3.3 — Shared Vehicle Card */

.mo-shared-vehicle-card {
  min-width: 0;
}

.mo-shared-vehicle-card__link {
  height: 100%;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(219, 228, 239, .96);
  border-radius: 28px;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(15, 23, 42, .095);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.mo-shared-vehicle-card__link:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 25, 32, .38);
  box-shadow: 0 30px 68px rgba(15, 23, 42, .15);
}

.mo-shared-vehicle-card__media {
  position: relative;
  height: 244px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #334155);
}

.mo-shared-vehicle-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(1.04) contrast(1.05) saturate(1.08);
  transition: transform .4s ease, filter .4s ease;
}

.mo-shared-vehicle-card__link:hover .mo-shared-vehicle-card__media img {
  transform: scale(1.04);
  filter: brightness(1.07) contrast(1.08) saturate(1.12);
}

.mo-shared-vehicle-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .03), rgba(15, 23, 42, .10));
  pointer-events: none;
}

.mo-shared-vehicle-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mo-shared-vehicle-card__top span,
.mo-shared-vehicle-card__seal {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .065em;
}

.mo-shared-vehicle-card__top span {
  background: rgba(255, 255, 255, .95);
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
}

.mo-shared-vehicle-card__seal {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  background: #d71920;
  color: #fff;
  box-shadow: 0 14px 28px rgba(215, 25, 32, .30);
}

.mo-shared-vehicle-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mo-shared-vehicle-card__main h3 {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 950;
}

.mo-shared-vehicle-card__chassis {
  min-height: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.mo-shared-vehicle-card__chassis small,
.mo-shared-vehicle-card__spec-item small,
.mo-shared-vehicle-card__price small {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mo-shared-vehicle-card__chassis strong {
  display: block;
  color: #334155;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

.mo-shared-vehicle-card__spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}

.mo-shared-vehicle-card__spec-item {
  min-width: 0;
  min-height: 62px;
  padding: 11px 12px;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  background: #f8fafc;
}

.mo-shared-vehicle-card__spec-item strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 850;
}

.mo-shared-vehicle-card__spec-item.is-full-width {
  grid-column: 1 / -1;
}

.mo-shared-vehicle-card__spec-item.is-centered {
  text-align: center;
}

.mo-shared-vehicle-card__bottom {
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mo-shared-vehicle-card__price strong {
  display: block;
  color: #d71920;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 950;
}

.mo-shared-vehicle-card__button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 14px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .065em;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.mo-shared-vehicle-card__link:hover .mo-shared-vehicle-card__button {
  background: #d71920;
  transform: translateX(1px);
}

.mo-catalog-featured-grid.is-list-view .mo-shared-vehicle-card__link {
  display: grid;
  grid-template-columns: minmax(300px, 36%) minmax(0, 1fr);
}

.mo-catalog-featured-grid.is-list-view .mo-shared-vehicle-card__media {
  height: 100%;
  min-height: 250px;
}

@media (max-width: 760px) {
  .mo-shared-vehicle-card__link {
    min-height: auto;
  }

  .mo-shared-vehicle-card__media {
    height: 220px;
  }

  .mo-catalog-featured-grid.is-list-view .mo-shared-vehicle-card__link {
    display: flex;
  }

  .mo-catalog-featured-grid.is-list-view .mo-shared-vehicle-card__media {
    min-height: 0;
  }

  .mo-shared-vehicle-card__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .mo-shared-vehicle-card__button {
    width: 100%;
  }
}
