.inv-body {
  background: #f4f7fb;
  color: #102033;
}

.inv-top,
.inv-wrap {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
}

.inv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  gap: 12px;
}

.inv-top a {
  color: #1f5fbf;
  font-weight: 700;
  text-decoration: none;
}

.inv-wrap h1 {
  margin: 8px 0 16px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.1;
}

.inv-filters fieldset {
  border: 1px solid #d5e0ef;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  margin: 0 0 18px;
}

.inv-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 140px;
}

.inv-filters input,
.inv-filters select,
.inv-filters button {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #b7c7dc;
  padding: 0 10px;
  font: inherit;
}

.inv-filters button,
.inv-btn {
  background: #1f5fbf;
  color: #fff;
  border: 0;
  min-height: 44px;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.inv-btn-primary {
  background: #164a94;
}

.inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.inv-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(22, 74, 148, 0.08);
}

.inv-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #d9e4f5;
}

.inv-card img,
.inv-slide img,
.inv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inv-card-body,
.inv-contact {
  padding: 14px;
}

.inv-card h2,
.inv-card h2 a {
  margin: 0;
  color: #102033;
  font-size: 1.15rem;
  text-decoration: none;
}

.inv-price {
  margin: 8px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #164a94;
}

.inv-price-lg {
  font-size: 2rem;
}

.inv-msrp {
  margin: 0;
  color: #66788a;
}

.inv-save {
  margin: 0;
  font-weight: 700;
}

.inv-meta,
.inv-badge {
  font-weight: 700;
}

.inv-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #164a94;
}

.inv-sold {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #8d1d1d;
  color: #fff;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
}

.inv-sold-inline {
  position: static;
  display: inline-block;
}

.inv-cta,
.inv-sheet-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.inv-sheet summary {
  list-style: none;
  cursor: pointer;
}

.inv-sheet summary::-webkit-details-marker {
  display: none;
}

.inv-phone {
  font-weight: 600;
  margin-left: 6px;
}

.inv-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-bottom: 16px;
}

.inv-slide,
.inv-video {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  background: #0b0b0b;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.inv-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.inv-specs div {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}

.inv-specs dt {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6b7a;
}

.inv-specs dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.inv-desc {
  white-space: normal;
  line-height: 1.5;
}

.inv-contact {
  background: #fff;
  border-radius: 16px;
  margin: 18px 0 96px;
}

.inv-sticky {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.inv-sticky .inv-cta {
  margin: 0;
}

@media (min-width: 800px) {
  .inv-sticky {
    display: none;
  }
  .inv-contact {
    margin-bottom: 32px;
  }
}

.featured-strip {
  margin: 0 0 16px;
}

.featured-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.featured-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #102033;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}

.featured-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.featured-card span,
.featured-card strong {
  padding: 0 10px;
}

.featured-card strong {
  padding-bottom: 10px;
}

.footer-legal {
  margin-top: 12px;
  font-size: 0.8rem;
  opacity: 0.75;
}
