:root {
  --red: #c8102e;
  --yellow: #ffcc00;
  --black: #000;
}

/* ============================
   CATEGORY HEADER (HERO)
============================= */
.category-header {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay */
.category-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Text wrapper */
.category-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

/* Header text */
.category-header-content h1 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0,0,0,0.75);
}

.category-header-content p {
  color: #e5e5e5;
  font-size: 1.15rem;
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-header {
    height: 220px;
  }

  .category-header-content h1 {
    font-size: 1.8rem;
  }

  .category-header-content p {
    font-size: 1rem;
  }
}

/* ============================
   PRODUCT CARDS
============================= */
.product-card {
  border-radius: 10px;
  border: 1px solid #eee;
  border-bottom: 4px solid var(--yellow);
  overflow: hidden;
  transition: .25s ease;
  background: #fff;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  border-bottom-color: var(--red);
}

.product-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.product-card .card-body {
  padding: 15px;
}

.product-card h5 {
  font-weight: 600;
  color: var(--black);
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-row .btn {
  flex: 1;
}

/* Spacing for "Available Models" */
#availableTitle {
  font-weight: 700;
  color: var(--black);
}
