/* ============================================================
   Hits Products Section - Model12 Homepage
   ============================================================ */

.furnish-hits {
  padding: 80px 0;
  background: #fff;
}

/* Section Header */
.furnish-hits__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.furnish-hits__title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.furnish-hits__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #00A651;
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}

.furnish-hits__more:hover {
  color: #0A6231;
  gap: 10px;
  text-decoration: none;
}

/* Product Grid */
.furnish-hits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Product Card */
.furnish-hits__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.furnish-hits__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 166, 81, 0.15);
  border-color: #c8e6d5;
}

.furnish-hits__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Product Image */
.furnish-hits__image-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: #f5f7fa;
}

.furnish-hits__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.furnish-hits__card:hover .furnish-hits__image {
  transform: scale(1.05);
}

/* Badge */
.furnish-hits__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 5px 14px;
  background: #00A651;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.furnish-hits__badge--green {
  background: #4caf50;
}

/* Favorite button */
.furnish-hits__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.furnish-hits__fav:hover {
  background: #fff;
  color: #e63946;
  transform: scale(1.1);
}

/* Card Content */
.furnish-hits__content {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.furnish-hits__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #00A651;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.furnish-hits__name {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.furnish-hits__desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Footer */
.furnish-hits__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.furnish-hits__price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.furnish-hits__cart {
  width: 38px;
  height: 38px;
  background: #00A651;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.furnish-hits__cart:hover {
  background: #0A6231;
  transform: scale(1.1);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1199px) {
  .furnish-hits__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .furnish-hits {
    padding: 60px 0;
  }
  .furnish-hits__title {
    font-size: 28px;
  }
  .furnish-hits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .furnish-hits__image-wrap {
    height: 180px;
  }
}

@media (max-width: 639px) {
  .furnish-hits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .furnish-hits__title {
    font-size: 22px;
  }
  .furnish-hits__image-wrap {
    height: 140px;
  }
  .furnish-hits__content {
    padding: 12px 14px 16px;
  }
  .furnish-hits__name {
    font-size: 14px;
  }
  .furnish-hits__price {
    font-size: 15px;
  }
  .furnish-hits__cart {
    width: 32px;
    height: 32px;
  }
}
