/* ============================================================
   DealWise - Searched Cars Section
   ============================================================ */

.deal-searched {
  padding: 70px 0;
  background: #fff;
}

.deal-searched__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.deal-searched__title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.deal-searched__tabs {
  display: flex;
  gap: 10px;
}

.deal-searched__tab {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deal-searched__tab:hover {
  border-color: #1a1a2e;
  color: #1a1a2e;
}

.deal-searched__tab.active {
  background: #dca804;
  border-color: #dca804;
  color: #fff;
}

.deal-searched__grid {
  /* Container only - grid moved to .deal-searched__list */
}

.deal-searched__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.deal-searched__card {
  background: #f8f9fa;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

.deal-searched__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.deal-searched__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #eee;
}

.deal-searched__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.deal-searched__card:hover .deal-searched__img img {
  transform: scale(1.05);
}

.deal-searched__heart {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dca804;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.deal-searched__heart:hover {
  background: #dca804;
  color: #fff;
}

.deal-searched__heart.is-active {
  background: #dca804;
  color: #fff;
}

.deal-searched__count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
}

.deal-searched__info {
  padding: 20px 22px 22px;
}

.deal-searched__name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
  line-height: 1.3;
}

.deal-searched__spec {
  font-size: 13px;
  color: #888;
  margin-bottom: 14px;
  display: block;
}

.deal-searched__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.deal-searched__price {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
}

.deal-searched__explore {
  font-size: 13px;
  font-weight: 600;
  color: #dca804;
  text-decoration: none;
  transition: color 0.3s;
}

.deal-searched__explore:hover {
  color: #88b60c;
  text-decoration: none;
}

.deal-searched__city {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 1199px) {
  .deal-searched__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .deal-searched {
    padding: 50px 0;
  }

  .deal-searched__list {
    grid-template-columns: 1fr;
  }

  .deal-searched__title {
    font-size: 26px;
  }

  .deal-searched__tabs {
    flex-wrap: wrap;
  }

  .deal-searched__tab {
    padding: 8px 18px;
    font-size: 13px;
  }
}