.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown_button {
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  transition: all 0.3s ease;
  outline: none;
  width: auto;
  min-width: 80px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #D4D4D4;
}

.dropdown_button-text {
  margin-right: auto;
  color: var(--color-title);
  font-size: var(--font-size-small);
  line-height: var(--line-height);
}

.dropdown_button svg {
  width: 14px;
  height: 7px;
  fill: currentColor;
}

.dropdown_menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  min-width: 70px;
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #D4D4D4;
}

.dropdown_menu[data-state="show"] {
  display: block;
  opacity: 1;
}

.dropdown_menu-item {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 10px;
}

.dropdown_menu-item.is-active {
  pointer-events: none;
  cursor: default;
}

.dropdown_menu-item:hover {
  font-weight: 600;
  color: var(--color-accent);
}

@media (max-width: 767px) {

  .dropdown_button {
    min-width: 70px;
  }

  .dropdown_menu-item {
    height: 50px;
  }
}