.header {
  max-width: 95%;
  display: flex;
  width: 95%;
  position: fixed;
  height: 78px;
  margin: 24px calc((100% - 95%) / 2) 0 !important;
  z-index: 10000;
}

.header-block {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: var(--font-size-sm);
  padding: 0 1.875vw;
  line-height: 140%;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  justify-content: space-between;
}

.header-small {
  display: none;
}

.left-cont {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header .logo {
  width: 126.6px;
  height: 21.76px;
  object-fit: contain;
}

.menu-text {
  display: flex;
  font-size: var(--font-size-sm);
  line-height: 140%;
  color: var(--color-foreground-accent);
}

.menu-text-icon {
  display: flex;
  gap: 7px;
  width: 94px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  border: 1px solid var(--color-foreground-accent);
}

/* Анимация выпадания */
@keyframes smoothDrop {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.links {
  display: flex;
  height: 3.594vw;
  justify-content: space-between;
  align-items: center;
  gap: 2.6vw;
}

/* Новое меню выпадающее */
.drop-point-main {
  position: relative;
}

.drop-my-menu-main,
.drop-my-menu-main-mini {
  position: absolute;
  left: 0;
  bottom: -310px;
  padding-top: 35px;
  width: auto;
  height: 310px;
  display: none;
}

.main-2 {
  bottom: -84px !important;
  height: 84px !important;
}

.drop-my-menu-main .drop-my-menu-main-ul,
.drop-my-menu-main-mini .drop-my-menu-main-mini-ul,
.drop-my-menu-main .drop-dop-item  {
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  list-style: none;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;

  animation-name: smoothDrop;
  animation-duration: 0.3s;
  animation-timing-function: ease;
}

.drop-point-main:hover .drop-my-menu-main {
  display: flex;
}

.links-item a {
  color: var(--color-foreground-accent);
  font-size: var(--font-size-sm);
  line-height: 140%;
}

/* Полупрозрачность ссылок */
.links-item .links-a {
  opacity: 1;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.links.is-hover .links-item:hover .links-a {
  opacity: 1;
}

.links.is-hover .links-item .links-a {
  opacity: 0.5;
}

/* Анимация пробегающая на header */
.links-item {
  position: relative;
}

.links-a:before {
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0; 
  bottom: -3px;
  background-color: var(--color-foreground-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s;
}

.links-a:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.links-a-dop:hover {
  border-bottom: solid 1px var(--color-foreground-accent-hover);
}

.btn .show {
  border: none !important;
}

.header-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 54px;
}

.phone-num {
  display: flex;
  padding: 8px 24px;
  gap: 3px;
  align-items: start;
}

.phone-num-icon {
  width: 18px;
  height: 19px;
  flex-shrink: 0;
}

.phone-num-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phone-num-info-block {
  position: relative;
}

.phone-num-info-block:hover .phone-num-info-drop {
  display: flex;
}

.phone-num-info-drop .phone-num {
  padding: 8px 12px;
}

.phone-num-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* мягкое */
@keyframes smoothDropDop {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.phone-num-info-drop {
  position: absolute;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 20px 20px;
  padding: 12px 0;
  gap: 12px;
  background-color: var(--color-background-primary);
  box-shadow: 4px 0 9px 0 rgba(1, 18, 38, 0.08);
  display: none;
  top: -12px;
  left: 12px;
  width: 176px;

  animation-name: smoothDropDop;
  animation-duration: 0.7s;
  animation-timing-function: ease;
}

.phone-num-info-link {
  font-size: var(--font-size-sm);
  line-height: 140%;
  color: var(--color-foreground-accent);
}

.phone-num-info-t {
  font-size: var(--font-size-xs);
  line-height: 125%;
  color: var(--color-foreground-tertiary);
}

.phone-drop {
  width: 11px;
  height: 22px;
}

.phone-drop img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.header-btns-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 28px;
  color: var(--color-background-primary);
  background-color: var(--color-foreground-accent);
  height: 100%;
  justify-content: space-between;

  transition: background-color 0.3s ease, color 0.3s ease;
}

.header-btns-btn span {
  display: flex;
}

.header-btns-btn div {
  height: 15.98px;
  width: 16.03px;
  background-image: url('../../img/general/header-application-dark.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header-btns-btn:hover {
  color: var(--color-foreground-primary);
  background-color: var(--color-background-primary);
}

.header-btns-btn:hover div {
  background-image: url('../../img/general/header-application.svg');
}

.all-btns {
  display: flex;
  gap: 16px;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 28px;
  background-color: var(--color-background-page);
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: var(--color-foreground-accent);
}

.search-btn-icon {
  width: 24px;
  height: 24px;
}

.search-btn-icon div {
  height: 100%;
  width: 100%;
  background-image: url('../../img/general/search-icon.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
}

.search-btn:hover div {
  background-image: url('../../img/general/search-hover-icon.svg');
}

/* Регион в хедере */
.region-cont {
  display: flex;
  gap: 3px;
  align-items: center;
  cursor: pointer;
}

.region-cont.active .region-cont-img,
.region-cont.active .region-cont-city {
  opacity: 50%;
}

.region-cont-img {
  width: 16px;
  height: 16px;
  background-image: url('../../img/general/region-solid-icon.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.region-cont-city {
  font-size: 16px;
  line-height: 140%;
  color: var(--color-foreground-accent);
}

/* Для анимации */
.header-block {
	opacity: 0;
	transform: translateY(-100px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Адаптация на большие экраны (> 1280)*/
@media screen and (min-width: 1450px) {
  .header {
    max-width: 95.556%;
    width: 95.556%;
    height: 78px;
    margin: 24px calc((100% - 95.556%) / 2) 0 !important;
  }

  .phone-num {
    padding: 8px 24px;
  }

  .phone-num-info-drop .phone-num {
    padding: 8px 0 8px 24px;
  }

  .phone-num-info-drop {
    width: 205px;
    left: 0;
  }

  .phone-num-icon {
    width: 18px;
    height: 22px;
  }

  .phone-num-info-link {
    font-size: 16px;
  }

  .links {
    gap: 4px;
  }

  .links-item {
    margin: 0 24px;
  }

  .links-item a {
    font-size: 16px;
  }

  .drop-my-menu-main, .drop-my-menu-main-mini {
    margin-top: 54px;
    bottom: -365px;
    height: 365px;
  }

  .main-2 {
    bottom: -90px !important;
    height: 90px !important;
  }
}

/* Адаптация на большие экраны (> 1280)*/
@media screen and (min-width: 1920px) {
  .header {
    max-width: 95.261%;
    height: 86px;
    width: 95.261%;
    margin: 24px calc((100% - 95.261%) / 2) 0 !important;
  }

  .header-btns-btn {
    font-size: var(--font-size-md);
    line-height: 125%;
  }

  .phone-num-info-drop {
    top: -16px;
    padding: 16px 0;
  }

  .links-item {
    margin: 0 32px;
  }

  .drop-my-menu-main, .drop-my-menu-main-mini {
    margin-top: 60px;
    bottom: -370px;
    height: 370px !important;
  }

  .main-2 {
    bottom: -96px !important;
    height: 96px !important;
  }

  .search-modal {
    width: 95.261%;
    left: calc((100vw - 95.261%) / 2);
  }
}

/* Адаптация на большие экраны (> 1280)*/
@media screen and (min-width: 2560px) {
  .header-block {
    justify-content: space-between;
  }
}

/* Адаптация на маленькие экраны (< 1280)*/
@media screen and (max-width: 1270px) {
  .header {
    max-width: 95%;
	width: 95%;
	margin: 24px calc((100% - 95%) / 2) 0 !important;
  }

  .header-block {
    justify-content: space-between;
  }

  .header-btns {
    display: none;
  }

  .links {
    display: none;
  }

  .links-item {
    margin: 0;
  }

  .header-small {
    display: block;
  }

  .search-modal {
    width: 95%;
    left: calc((100vw - 95%) / 2);
  }

  .search-option-text {
    font-size: var(--font-size-md);
    line-height: 125%;
  }

  .drop-my-menu-main {
    padding-top: 63px;
    margin-top: 0;
    top: 7px;
    /* bottom: 0; */
    left: -30px;
    height: fit-content;
  }

  .phone-drop {
    display: none;
  }

  .drop-my-menu-main .drop-my-menu-main-ul {
    padding: 12px;
    gap: 8px;
    border-radius: 4px;
  }

  .drop-my-menu-main .links-item {
    width: fit-content;
  }

  .drop-my-menu-main-mini {
    position: absolute;
    padding-top: 0;
    margin-top: 0;
    padding-right: 61px;
    width: 110px;
    left: -135px;
  }

  .drop-my-menu-main-mini .drop-my-menu-main-mini-ul {
    animation-name: smoothSlide-new;
  }

  .drop-point-main-mini 
  {
    padding-right: 0;
    margin-right: 0
  }

  .drop-point-main-mini:hover .drop-my-menu-main-mini {
    display: flex;
    top: 0;
    height: fit-content;
  }

  /* плавное вбок */
  @keyframes smoothSlide-new {
    0% {
      opacity: 0;
      transform: translateX(20px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .main-mini-1 {
    position: absolute;
    margin-top: 0;
    margin-right: 70px;
    width: 150px;
    left: -195px;
    padding-right: 160px;
    padding-top: 20px;
    top: 0;
    height: fit-content;
  }

  .main-mini-1 .links-a-dop {
    border-bottom: solid 1px transparent;
  }

  .main-mini-1 .links-a-dop:hover {
    border-bottom: solid 1px var(--color-foreground-accent-hover);
  }
}

@media screen and (max-width: 735px) {
  .phone-num {
    display: none;
  }
}

/* Адаптация на маленькие экраны (< 480)*/
@media screen and (max-width: 600px) {
  .header .logo {
    width: 87.27px;
    height: 15px;
  }

  .left-cont {
    gap: 16px;
  }

  .header {
    max-width: 93.334%;
	margin: 16px calc((100% - 93.334%) / 2) 0 !important;
	height: 56px;
	width: 93.334%;
  }

  .header-block {
	padding: 0 12px;
  }

  .menu-text {
    display: none;
  }

  .menu-text-icon {
    height: 40px;
    width: fit-content;
    padding: 11px 16px;
  }

  .drop-my-menu-main {
    left: -73px;
    top: -10px;
  }

  .search-btn {
    width: 40px;
    height: 40px;
  }

  .search-btn-icon {
    width: 18px;
    height: 18px;
  }
}