* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.no-results {
  min-height: 70vh;
  text-align: center;
  align-content: center;
}

.dialog {
  padding: 5px 0 0 50px;
  margin: 0 0 0 20px;
  color: #000;
}

.search-dialog {
  min-height: 70vh;
  text-align: center;
  color: #000;
  align-content: center;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  width: 100%;
  height: 100%;
  min-height: 60vh;
  /* border-bottom: 1px solid black; */
  padding: 10px 0 10px 0;
  margin: 0 0 20px 0;
}

.product-grid .product {
  display: block;
  max-width: 260px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  margin: 20px 0 20px 70px;
  /* border: 1px solid rgb(255, 255, 255); */
  /* border-radius: 8px; */
  padding: 5px;
  text-wrap: wrap;
}

.product-grid .product .link-product {
  text-decoration: none;
  color: rgb(0, 0, 0);
  column-gap: normal;
  font-weight: 600;
}

.product-grid .product .description {
  min-height: 40px; 
  overflow: hidden; 
  display: block;
}

.product-grid .product .description a{
  text-decoration: none;
  cursor: pointer;
  font-weight: bold;
  color: black;
}

.product-grid .product a:hover {
  text-decoration: underline;
}

.product-grid .product p {
  text-decoration: none;
  color: rgb(0, 0, 0);
  margin-top: 10px;
  margin-bottom: 10px;
}

.container-image  {
  width: 250px;
  height: 280px;
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.product-grid .img-product {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  background-size: cover;
  transition: transform ease-in-out 500ms;
  transform: scale(1.0);
}


.product-grid .img-product:hover {
  transform: scale(1.4);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.pagination a:hover {
    background: #f0f0f0;
}

.pagination a.active {
    background: #4caf50;
    color: white;
    border-color: #4caf50;
    font-weight: 500;
}
