.phone {
  height: 3.5rem;
  display: flex;
  align-items: center;
}
.phone:hover,
.phone__dropdown-item.js-back-ring button:hover,
.phone__dropdown-item:hover,
.phone__item:hover {
  color: var(--color-accent);
}

.phone__text {
  color: var(--top-text-color);
  font-weight: 400;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  margin: 0 0.6rem 0 0;
  font-size: 1.3rem;
}

.phone_container {
  display: flex;
  height: 100%;
  align-items: center;
}

.phone__num_dropdown {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  white-space: nowrap;
}

.phone__num_dropdown svg {
  width: 2rem;
  height: 2rem;
  display: inline-block !important;
  vertical-align: middle;
  position: relative;
  fill: currentColor;
  fill-rule: evenodd;
  order: -1;
  margin-right: 1rem;
  flex-shrink: 0;
}

.phone__num {
  margin: 0 0 0 6px;
  color: var(--color-text-inverse);
  transition: all 0.4s ease-in-out;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone__num svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
  flex-shrink: 0;
}

.dropdown__container.phone__dropdown {
  width: auto;
  left: auto;
  right: 0;
}

.phone__dropdown_hidden {
  display: none;
}

.phone__dropdown-block {
  display: block;
}

/* Отступ между блоком часов работы и блоком телефонов */
.phone__dropdown-block_worktime + .phone__dropdown-block_phones {
  margin-top: 1rem;
}

.phone__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phone__dropdown-item {
  display: block;
  padding: 0.5rem 2rem;
  text-decoration: none;
  transition: color 0.25s;
  color: var(--color-text);
  font-size: 1.6rem;
}

.phone__dropdown-item.js-back-ring {
  padding: 0;
}

.phone__dropdown-item.js-back-ring button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 2rem;
  font-size: 1.4rem;
  color: var(--color-text);
  background: transparent;
  border: none;
  text-align: left;
  transition: color 0.25s;
  white-space: nowrap;
}

.phone__dropdown-item_worktime {
  cursor: default;
}

.phone__dropdown-item_worktime:hover {
  color: var(--color-text);
}

.phone__num_dropdown_worktime {
  cursor: default;
  pointer-events: none;
}

.phone__item {
  display: flex;
  align-items: center;
  transition: all 0.4s ease-in-out;
}

.wrapper-back-ring {
  margin: 2px;
}

.wrapper-back-ring button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  transition: all 0.4s ease-in-out;
}

.phone__dropdown .phone__dropdown-item.js-back-ring button.back-ring-button svg,
.phone__dropdown-item.js-back-ring button.back-ring-button svg,
.phone__dropdown .phone__dropdown-item .js-back-ring button svg,
.phone__dropdown-item .js-back-ring button svg {
  width: 2.8rem !important;
  height: 2.8rem !important;
  max-width: 2.8rem !important;
  max-height: 2.8rem !important;
  min-width: 2.8rem !important;
  min-height: 2.8rem !important;
  display: inline-block !important;
  vertical-align: middle;
  position: relative;
  fill: currentColor;
  fill-rule: evenodd;
  order: -1;
  margin-right: 1rem;
  margin-left: -0.5rem;
  flex-shrink: 0;
}

.phone__dropdown .phone__dropdown-item .wrapper-back-ring button svg,
.phone__dropdown-item .wrapper-back-ring button svg,
.wrapper-back-ring button svg {
  width: 2rem !important;
  height: 2rem !important;
  max-width: 2rem !important;
  max-height: 2rem !important;
  min-width: 2rem !important;
  min-height: 2rem !important;
  display: inline-block !important;
  vertical-align: middle;
  position: relative;
  fill: currentColor;
  fill-rule: evenodd;
  order: -1;
  margin-right: 1rem;
  flex-shrink: 0;
}

.phone__dropdown .phone__dropdown-item .js-back-ring button svg use,
.phone__dropdown-item .js-back-ring button svg use,
.phone__dropdown .phone__dropdown-item .wrapper-back-ring button svg use,
.phone__dropdown-item .wrapper-back-ring button svg use,
.wrapper-back-ring button svg use {
  width: 100% !important;
  height: 100% !important;
}

.wrapper-back-ring button:hover {
  color: var(--color-accent);
}

@media (max-width: 1200px) {
  .phone__dropdown_hidden {
    display: block;
  }
}

@media (max-width: 767px) {
  .phone__text {
    flex-direction: column;
  }
  .phone {
    margin: 10px 0;
  }
}

