css .main-pagination {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-pagination .page-link {
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfd1cf;
  border-radius: 6px !important;
  background: #ffffff;
  color: #3d080a;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.main-pagination .page-link:hover {
  background: #f5e9e8;
  border-color: #530e11;
  color: #530e11;
}

.main-pagination .active .page-link {
  background: #3d080a;
  border-color: #3d080a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(61, 8, 10, 0.18);
}

.main-pagination .page-link:focus {
  box-shadow: none;
  outline: none;
}

.main-pagination .page-item {
  margin: 0;
  cursor: pointer;
}

.main-pagination .page-item:first-child .page-link,
.main-pagination .page-item:last-child .page-link {
  width: 40px;
  border-color: #d8c8c5;
  color: #530e11;
  font-size: 14px;
}

.main-pagination .page-item:first-child .page-link:hover,
.main-pagination .page-item:last-child .page-link:hover {
  background: #530e11;
  border-color: #530e11;
  color: #ffffff;
}

.main-pagination .page-item.disabled .page-link {
  background: #f7f5f4;
  border-color: #ebe5e3;
  color: #aaa;
  cursor: not-allowed;
}

.main-pagination .page-item.disabled .page-link:hover {
  background: #f7f5f4;
  border-color: #ebe5e3;
  color: #aaa;
}

@media (max-width: 575.98px) {
  .main-pagination {
    gap: 4px;
  }

  .main-pagination .page-link {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .main-pagination .page-item:first-child .page-link,
  .main-pagination .page-item:last-child .page-link {
    width: 34px;
  }
}
