.solx-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, .65fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  width: 100%;
  margin: 0 0 54px;
  padding: 28px 0 14px;
  background: transparent;
  color: #0E1A53;
}

.solx-intro-copy {
  max-width: 900px;
}

.solx-eyebrow {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  color: #0E1A53;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.solx-eyebrow::before {
  width: 56px;
  height: 2px;
  background: #0E1A53;
  content: "";
}

.solx-intro h2 {
  max-width: 920px;
  margin: 0;
  color: #0E1A53;
  font-family: inherit;
  font-size: clamp(44px, 5.4vw, 82px);
  font-weight: 800;
  letter-spacing: .018em;
  line-height: 1.08;
}

.solx-intro p {
  max-width: 840px;
  margin: 34px 0 0;
  color: #0E1A53;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.65;
}

.solx-listing-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 190px;
  padding: 0;
  background: transparent;
  color: #0E1A53;
}

.solx-summary-status {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}

.solx-summary-status i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00a651;
}

.solx-listing-summary strong {
  margin: 18px 0 4px;
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1;
}

.solx-listing-summary > span:last-child {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
}

.solx-grid {
  display: grid;
  grid-template-columns: repeat(var(--solx-columns, 3), minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.solx-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) minmax(230px, 1.2fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
}

.solx-filters label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.solx-filters label span {
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.solx-filters select {
  width: 100%;
  min-height: 46px;
  padding: 0 38px 0 13px;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  background-color: #fff;
  color: #111827;
  font: inherit;
}

.solx-price-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.solx-price-filter legend {
  margin-bottom: 7px;
  padding: 0;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.solx-range-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #0E1A53;
  font-size: 12px;
}

.solx-range-wrap {
  position: relative;
  height: 24px;
}

.solx-range-track {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #d1d5db 0 var(--solx-left, 0%),
    #0E1A53 var(--solx-left, 0%) calc(100% - var(--solx-right, 0%)),
    #d1d5db calc(100% - var(--solx-right, 0%)) 100%
  );
}

.solx-range-wrap input[type="range"] {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

.solx-range-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: transparent;
}

.solx-range-wrap input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  border: 3px solid #fff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #0E1A53;
  box-shadow: 0 1px 6px rgba(15, 23, 42, .3);
  pointer-events: auto;
  cursor: grab;
}

.solx-range-wrap input[type="range"]::-moz-range-track {
  height: 5px;
  background: transparent;
}

.solx-range-wrap input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0E1A53;
  box-shadow: 0 1px 6px rgba(15, 23, 42, .3);
  pointer-events: auto;
  cursor: grab;
}

.solx-reset-wrap {
  display: flex;
  align-self: end;
}

.solx-filter-reset {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #0E1A53;
  border-radius: 9px;
  color: #0E1A53;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.solx-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(15, 23, 42, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.solx-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .11);
}

.solx-image {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f5f7;
  color: #6b7280;
  text-decoration: none;
}

.solx-state-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 46, 109, .94);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
}

.solx-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.solx-card:hover .solx-image img {
  transform: scale(1.025);
}

.solx-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.solx-content h3 {
  display: -webkit-box;
  height: 3.9em;
  margin: 0 0 12px;
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.solx-pricing {
  display: flex;
  height: 92px;
  align-items: flex-start;
  flex-direction: column;
  margin: 0 0 18px;
}

.solx-pricing strong {
  margin: 0 0 18px;
  color: #0E1A53;
  font-size: 22px;
  font-weight: 700;
}

.solx-pricing.is-sale strong,
.solx-detail-pricing.is-sale strong {
  color: #e30613;
}

.solx-pricing del,
.solx-detail-pricing del {
  color: #6b7280;
  font-size: 15px;
}

.solx-sale-label {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e30613;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.solx-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid #0E1A53;
  border-radius: 999px;
  color: #0E1A53;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.solx-card .solx-button {
  align-self: flex-start;
  margin-top: auto;
}

.solx-button:hover {
  background: #0E1A53;
  color: #fff;
}

.solx-message {
  width: 100%;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
}

.solx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 42px;
  gap: 8px;
}

.solx-page {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  color: #0E1A53;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.solx-page:hover,
.solx-page.is-current {
  border-color: #0E1A53;
  background: #0E1A53;
  color: #fff;
}

.solx-page-arrow {
  font-size: 28px;
  line-height: 1;
}

.solx-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: #0E1A53;
  font-weight: 700;
  text-decoration: none;
}

.solx-detail-title {
  max-width: 1200px;
  margin: 0 0 30px;
  color: #111827;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  text-wrap: balance;
}

.solx-vehicle-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, .7fr);
  gap: 48px;
  align-items: start;
}

.solx-gallery {
  min-width: 0;
}

.solx-stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f5f7;
}

.solx-main-image {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  border-radius: 16px;
  background: #f4f5f7;
}

.solx-thumbs {
  display: flex;
  margin-top: 14px;
  padding: 2px 2px 8px;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.solx-thumb {
  flex: 0 0 104px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f4f5f7;
  cursor: pointer;
  scroll-snap-align: center;
}

.solx-thumb.is-active {
  border-color: #0E1A53;
}

.solx-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solx-gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 18px rgba(15, 23, 42, .18);
  color: #0E1A53;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.solx-gallery-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: #fff;
}

.solx-prev {
  left: 18px;
}

.solx-next {
  right: 18px;
}

.solx-gallery-count {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.solx-detail-content {
  position: sticky;
  top: 30px;
}

.solx-detail-pricing {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin: 0 0 28px;
}

.solx-detail-pricing strong {
  color: #0E1A53;
  font-size: 32px;
  font-weight: 800;
}

.solx-detail-pricing .solx-sale-label {
  margin-bottom: 8px;
}

.solx-detail-pricing del {
  margin-bottom: 3px;
  font-size: 18px;
}

.solx-key-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #e5e7eb;
}

.solx-key-specs div {
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  padding: 13px 15px;
  background: #fff;
}

.solx-key-specs span,
.solx-spec-row span {
  color: #6b7280;
  font-size: 13px;
}

.solx-key-specs strong {
  margin-top: 4px;
  color: #111827;
  font-size: 16px;
}

.solx-section {
  margin-top: 58px;
  padding-top: 38px;
  border-top: 1px solid #e5e7eb;
}

.solx-section h2 {
  margin: 0 0 24px;
  color: #111827;
  font-size: 28px;
}

.solx-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
}

.solx-spec-row {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.solx-spec-row strong {
  color: #111827;
  text-align: right;
}

.solx-description {
  max-width: 900px;
  color: #374151;
  line-height: 1.65;
}

.solx-offer {
  background: #0E1A53;
  color: #fff;
}

.solx-detail-placeholder {
  min-height: 420px;
}

@media (max-width: 991px) {
  .solx-intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solx-listing-summary {
    min-height: 0;
  }

  .solx-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solx-vehicle-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .solx-detail-content {
    position: static;
  }

  .solx-thumbs {
    display: flex;
  }
}

@media (max-width: 600px) {
  .solx-intro,
  .solx-filters,
  .solx-grid,
  .solx-pagination,
  .solx-message {
    width: calc(100% - 36px);
    margin-right: auto;
    margin-left: auto;
  }

  .solx-intro {
    margin-bottom: 38px;
    padding-top: 12px;
  }

  .solx-eyebrow {
    gap: 12px;
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: .14em;
  }

  .solx-eyebrow::before {
    width: 38px;
  }

  .solx-intro h2 {
    font-size: 38px;
    letter-spacing: .025em;
  }

  .solx-intro p {
    margin-top: 24px;
    font-size: 16px;
  }

  .solx-detail-title {
    margin-bottom: 20px;
    font-size: 30px;
  }

  .solx-filters {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .solx-filter-reset {
    width: 100%;
  }

  .solx-key-specs,
  .solx-spec-table {
    grid-template-columns: 1fr;
  }

  .solx-thumb {
    flex-basis: 88px;
  }

  .solx-gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .solx-prev {
    left: 10px;
  }

  .solx-next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  .solx-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solx-content {
    padding: 18px;
  }

  .solx-content h3 {
    height: auto;
    min-height: 0;
    font-size: 19px;
    -webkit-line-clamp: initial;
  }

  .solx-pricing {
    height: auto;
    min-height: 64px;
  }

  .solx-card .solx-button {
    width: 100%;
    align-self: stretch;
  }
}
