.hero {
  height: 420px;
  background: url("../pictures/hero.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero p {
  font-size: 18px;
  margin-bottom: 22px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.search-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.search-box button {
  padding: 12px 18px;
  border-radius: 25px;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.search-box button:hover {
  transform: scale(1.05);
  background: #f1f1f1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.container h2 {
  font-size: 28px;
  color: #183153;
  margin-bottom: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 8px 24px rgba(17, 38, 67, 0.08);
}

.card:hover {
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 16px;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #183153;
}

.card-content p {
  margin-bottom: 6px;
  color: #55657c;
}

.price {
  font-weight: 700;
  color: #183153 !important;
  margin-top: 8px;
}

.add-btn {
  width: 100%;
  margin-top: 14px;
  background: white;
  color: #183153;
  border: 1px solid #dcdcdc;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: 0.2s;
}

.add-btn:hover {
  background: #fff5f7;
  border-color: #ff385c;
  color: #ff385c;
}

@media (max-width: 768px) {
  .hero {
    height: 340px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  .container {
    padding: 28px 16px;
  }

  .container h2 {
    font-size: 24px;
  }
}