.header__mobile .header__divider {
  border-right: 1px solid black;
  opacity: 0.15;
  height: 32px;
  margin: 0 16px;
}

.header__mobile .header__buttons {
  display: flex;
  align-items: center;
}

.header__container.header__mobile {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

@media screen and (min-width: 1205px) {
  .header__container.header__mobile {
    display: none;
  }
}

.header__mobile .c-burger {
  display: grid;
  gap: 6px;
}

.header__mobile .c-burger__item {
  height: 2px;
  width: 22px;
  border-radius: 100px;
  background: var(--primary);
}

.c-mobile-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  z-index: -10;
  opacity: 0;
  transition: opacity 0.3s var(--move);
  overflow-y: auto;
  padding-bottom: 50px;
  pointer-events: none;
}

.c-mobile-menu--active {
  z-index: 999;
  opacity: 1;
  pointer-events: all;
  top: 0;
}

@media screen and (min-width: 1205px) {
  .c-mobile-menu {
    display: none;
  }
}

.c-mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.c-mobile-menu__close {
  display: flex;
  justify-content: center;
  align-items: center;
}

.c-mobile-menu__links {
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
  display: grid;
  gap: 16px;
}

.c-mobile-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.c-mobile-menu__item > .c-mobile-menu__link {
  width: 100%;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-mobile-menu__container {
  display: grid;
  margin: 0 auto;
  margin-top: 40px;
  width: 71%;
  position: relative;
}

.c-mobile-menu__buttons {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.c-mobile-menu__buttons .btn,
.c-mobile-menu__login {
  height: 40px;
}

.c-mobile-menu__divider {
  margin: 32px 0;
  border-bottom: 1px solid black;
  opacity: 0.15;
}

.c-dropdown-mobile__container {
  background: var(--secondary);
  border-radius: 8px;
  width: 100%;
  font-size: 12px;
  color: white;
  position: relative;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height, opacity, 0.3s var(--move);
}

.c-dropdown-mobile__container--active {
  max-height: 750px;
  opacity: 1;
  pointer-events: all;
  transition: max-height, opacity, 0.3s var(--move);
}

.c-dropdown-mobile__container::before {
  content: "";
  background: inherit;
  border-radius: inherit;
  width: 80vw;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
  z-index: -1;
}

.c-dropdown-mobile__links {
  display: grid;
  gap: 16px;
  padding: 24px 0;
}

.c-dropdown-mobile__link {
  padding: 8px 0;
}

.c-mobile-menu__link svg {
  transition: transform 0.3s var(--move);
}

.c-mobile-menu__link:has(+ .c-dropdown-mobile__container--active) {
  color: var(--primary);
}

.c-mobile-menu__link:has(+ .c-dropdown-mobile__container--active) svg {
  transform: rotate(180deg);
}
