.search-result-product-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 250px));
  column-gap: 10px;
  row-gap: 5px;
  margin-top: 10px;
}

.search-product-item {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  padding: 10px 5px;
  max-width: 250px;
}

.search-ramadan-label {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  width: 85px;
  z-index: 1;
}

.search-expressDelivery {
  position: absolute;
  top: 260px;
  left: 5px;
  background-color: #ff0000;
  color: #ffffff;
  padding: 0px 5px;
  font-size: 14px;
}

.search-product-item-img {
  position: relative;
  max-height: 270px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  min-height: 270px;
}

.search-product-name {
  font-size: 16px;
  color: #222;
  text-align: left;
  padding: 8px 5px;
  font-weight: 300;
  margin-bottom: 2px;
}

.search-product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 5px;
}

.search-product-price {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  position: relative;
  top: 2px;
}

.search-product-price-span {
  position: relative;
  top: -2px;
}

.search-price-old {
  font-size: 12px;
  color: #000000;
  text-decoration: line-through;
  margin-left: 2px;
}

.search-discount-badge {
  background: #fff;
  color: #ff6c18;
  font-size: 12px;
  font-weight: 700;
  margin-left: 0;
  padding: 0;
  top: 0;
}

.search-emi-option {
  font-size: 10px;
  padding: 5px 5px 0 5px;
  color: #5a5858;
}

.search-view-more-result {
  display: block;
  background-color: #ffffff;
  padding: 16px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: background-color 0.3s ease;
  border: 1px solid black;
  margin-top: 18px;
  text-align: center;
  cursor: pointer;
}

.search-view-more-result:hover {
  background-color: #000000;
  color: #ffffff;
}

/* media query */
@media (max-width: 1500px) {
  .search-result-product-container {
    grid-template-columns: repeat(4, minmax(220px, 250px));
  }
}
