#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--brand);
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;

  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#backToTop i {
  font-size: 1.6rem;
  pointer-events: none;
  margin: 0;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(80px, 100px) 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  align-items: center;
  text-align: center;
  width: 100%;
} 

.auto-filters {
  display: grid;
  grid-template-columns:
    minmax(180px, 2fr)
    minmax(180px, 2fr)
    minmax(100px, 1fr)
    minmax(100px, 1fr);
  gap: 12px;
} 

.motor-filters {
  display: grid;
  grid-template-columns:
    minmax(180px, 2fr)
    minmax(180px, 2fr)
    minmax(100px, 1fr)
    minmax(100px, 1fr);
  gap: 12px;
} 

.search-bar select {
  height: 38px;
  padding: 0 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #cfd6e0;
  background-color: #fff;
  color: #222;
  cursor: pointer;
}

/*
.search-bar select[name="jarmu"] {
  width: 15%;
}

.search-bar select[name="gyarto"] {
  width: 25%;
}

.search-bar select[name="model"] {
  width: 35%;
}

.search-bar select[name="motor"] {
  width: 25%;
} */

.search-bar select:hover {
  border-color: #8b95ff;
}

.search-bar select:focus {
  outline: none;
  border-color: #5b63ff;
  box-shadow: 0 0 0 2px rgba(91, 99, 255, 0.15);
} 

select.select2,
select.select2-prefix {
  visibility: hidden;
}

.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #d0d5dd;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
  line-height: normal;
  padding-left: 0;
  color: #0f172a;  
  font-size: 14px;
}

.select2-container--default
.select2-selection--single
.select2-selection__arrow {
  height: 44px;
}

select:disabled + .select2 .select2-selection {
  background: #f8fafc;
  border-color: #e5e7eb;
  cursor: not-allowed;
  display: flex;
  align-items: center;
}

@media (max-width: 700px) {
  .search-bar {
    grid-template-columns: 1fr;
  }
}

.select2-dropdown {
  max-width: 100%;
  box-sizing: border-box;
}