.arr-col .details h5, 
.arr-col .text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.arr-col .details-btn,
.pagination a {
  text-decoration: none;
  transition: background .2s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  color: #333;
}

.breadcrumb {
    text-align: center;
    font-size: 24px;
    margin: 10px 0;
}
.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

.results-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Inter, sans-serif;
  color: #333;
}

.results-container h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.results-container p {
  font-size: .95rem;
  margin-bottom: 15px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: 500;
  transition: color .2s;
}

.back-btn:hover {
  color: #0056b3;
}

.back-btn i {
  margin-right: 5px;
  font-size: 1.2rem;
}

.arr-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.arr-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  height: 100%;
}

.arr-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

.arr-col .image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.arr-col .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arr-col .details {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 180px);
}

.arr-col .details h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  white-space: nowrap;
}

.arr-col .features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  color: #666;
  margin-bottom: 10px;
}

.arr-col .features span {
  background: #f0f0f0;
  padding: 3px 6px;
  border-radius: 4px;
}

.arr-col .text {
  font-size: .85rem;
  color: #555;
  line-height: 1.2;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 10px;
}

.arr-col .price {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arr-col .price p {
  font-weight: 700;
  color: #000;
  margin: 0;
}

.arr-col .details-btn {
  background: #007bff;
  color: #fff;
  font-size: .85rem;
  padding: 5px 10px;
  border-radius: 5px;
}

.arr-col .details-btn:hover {
  background: #0056b3;
}


@media (max-width: 1200px) {
  .arr-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .arr-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .arr-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

@media (max-width: 480px) {
    .arr-row {
    grid-template-columns: repeat(1, 1fr);
  }
 
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.pagination .page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 14px;
  color: #007bff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
  background: #fff;
}

.pagination .page-btn:hover {
  background-color: #007bff;
  color: #fff;
}

.pagination .page-btn.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  font-size: 14px;
  color: #555;
}

@media (max-width: 480px) {
  .pagination {
    gap: 4px;
  }

  .pagination .page-btn,
  .pagination .dots {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
    padding: 0 8px;
  }
}