.deals-intro .tabs {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.deals-intro .tabs .tab {
  cursor: pointer;
  font-weight: 500;
  padding: 0.5rem;
}

.deals-intro .tabs .active {
  background-color: var(--secondary-color);
  color: white;
}

.deals-products .filters {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.deals-products .filters .sort {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}

.deals-products .filters .sort .label {
  font-weight: 600;
  font-size: 0.9rem;
}

.deals-products .filters .sort select {
  border: none;
  outline: none;
}

.deals-products .products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem;
}

.deals-products .products .product {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  gap: 0.5rem;
  background-color: rgba(1, 51, 36, 0.03);
  padding: 8px;
  transition: all 0.3s ease;
}

.deals-products .products .product img {
  width: 100%;
  height: 12rem;
  object-fit: contain;
  transition: all 0.3s ease;
}

.deals-products .products .product:hover img {
  transform: scale(1.02);
}

.deals-products .products .product .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.deals-products .products .product .info h2 {
  font-size: 1rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.deals-products .products .product .info .sm {
  font-size: 0.9rem;
}

.deals-products .products .product .info .price .old-price {
  font-size: 0.7rem;
  font-weight: 200;
  text-decoration: line-through;
}

.deals-products .products .product .info .price .price-value {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  flex: 1;
}

.deals-products .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.deals-products .pagination button {
  padding: 5px 10px;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  transition: background-color 0.3s;
}

.deals-products .pagination button:disabled {
  cursor: not-allowed;
  background-color: #e9e9e9;
}

.deals-products .pagination .page-info {
  font-size: 14px;
}

@media only screen and (max-width: 997px) {
  .deals-products .products {
    grid-template-columns: repeat(3, 1fr);
  }

  .deals-products .products .product img {
    height: 10rem;
  }
}

@media only screen and (max-width: 700px) {
  .deals-products .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 560px) {
  .deals-products .products {
    grid-template-columns: repeat(1, 1fr);
  }
}
