.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  padding: 8px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #dce4e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 26, 49, .07);
}

.filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 9px;
  color: #40566b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.filters a:hover {
  color: #0865c8;
  background: #edf5fc;
  transform: translateY(-1px);
}

.filters a.active {
  color: #fff;
  background: #0865c8;
  box-shadow: 0 7px 18px rgba(8, 101, 200, .24);
}

html[dir="rtl"] .filters {
  margin-left: auto;
}

.card-quote {
  display: block;
  margin-top: 17px;
  padding: 11px 15px;
  border: 1px solid #0865c8;
  border-radius: 7px;
  color: #0865c8;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: .2s ease;
}

.card-quote:hover {
  color: #fff;
  background: #0865c8;
}

@media (max-width: 600px) {
  .filters {
    flex-wrap: nowrap;
    width: 100%;
    margin-bottom: 25px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
