/* ── Inventory Listing Page ── */
.inv-hero {
  position: relative;
  background: url('../img/elite-img-inventory.webp') center center / cover no-repeat;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  color: #fff;
}
.inv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1, 34, 154, 0.55);
}
.inv-hero h1,
.inv-hero p {
  position: relative;
  z-index: 1;
}
.inv-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.inv-hero p {
  font-size: 1.05rem;
  opacity: .88;
  max-width: 540px;
  margin: 0 auto;
}

.inv-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.inv-count {
  font-size: .9rem;
  color: var(--slate-500);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.inv-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgb(0 0 0 / .07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.inv-card:hover {
  box-shadow: 0 8px 24px rgb(0 0 0 / .12);
  transform: translateY(-3px);
}

.inv-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
}
.inv-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.inv-card:hover .inv-card__img-wrap img {
  transform: scale(1.04);
}

.inv-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: #10B981;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
}
.inv-badge--condition {
  right: .75rem;
  left: auto;
  background: #1E40AF;
}

.inv-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.inv-card__model {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.inv-card__size {
  font-size: .95rem;
  color: var(--slate-500);
  margin-bottom: .85rem;
  font-weight: 500;
}

.inv-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem .75rem;
  margin-bottom: .9rem;
}
.inv-spec-item {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}
.inv-spec-icon {
  color: #139641;
  flex-shrink: 0;
  margin-top: 2px;
}
.inv-spec-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--slate-400);
  display: block;
  line-height: 1.2;
}
.inv-spec-val {
  font-size: .9rem;
  font-weight: 600;
  color: var(--slate-700);
  display: block;
  line-height: 1.3;
}

.inv-card__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1E40AF;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--slate-200);
  margin-bottom: .9rem;
}

.inv-btn {
  display: block;
  text-align: center;
  background: #1E40AF;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  padding: .7rem 1rem;
  border-radius: 8px;
  transition: background .18s;
  text-decoration: none;
}
.inv-btn:hover { background: #1d4ed8; }

@media (max-width: 640px) {
  .inv-grid { grid-template-columns: 1fr; }
}