.header-modern {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  padding-bottom: 60px;
}

.header-modern__top {
  display: none;
}
body.scrolled .header-modern__top {
  display: none;
}

.header-modern__top-content {
  padding: 20px 0;
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.header-modern__top-search-md .field {
  position: relative;
}

.header-modern__top-search-md .field label {
  display: block;
  width: 100%;
}

.header-modern__top-search-md .field label input {
  padding: 12px 48px 12px 12px;
  width: 100%;
  outline: none;
  background: #FFF;
  border-radius: 6px;
  border: 1px solid #E1E2EB;
  font-family: Inter;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #111;
}

.header-modern__top-search-md .field label input::-moz-placeholder {
  font-family: Inter;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #777;
}

.header-modern__top-search-md .field label input::placeholder {
  font-family: Inter;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  color: #777;
}

.header-modern__top-search-md .field .icon {
  display: block;
  min-width: 20px;
  width: 20px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translate(0, -50%);
}

.header-modern__top-row--dropdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.header-modern__top-row--dropdown .dropdown {
  position: relative;
}

.header-modern__top-row--dropdown .dropdown__box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-modern__top-row--dropdown .dropdown .dropdown__box .label {
  font: 400 16px/1.5 "Inter" sans-serif;
  color: #515270;
}

.header-modern__top-row--dropdown .dropdown__items,
.header-modern__top-row--dropdown .dropdown__items {
  display: none;
  position: absolute;
  left: 0;
  z-index: 1;
  width: 100%;
  min-width: 220px;
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1215686275);
}
.header-modern__top-row--dropdown .dropdown__items.open,
.header-modern__top-row--dropdown .dropdown__items.open {
  display: block;
  animation: showBlockBtoT 0.1s linear forwards;
}

.header-modern__top-row--dropdown .dropdown__box-in {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.header-modern__top-row--dropdown .dropdown__box-in .value {
  font: 500 16px/1.5 "Inter" sans-serif;
  color: #111;
}

.header-modern__top-row--dropdown .dropdown__box-in .arrow {
  display: block;
  min-width: 10px;
  width: 10px;
  height: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: grayscale(0) brightness(0);
  cursor: pointer;
}

.header-modern__top-row--dropdown .dropdown__items li {
  list-style-type: none;
  border-radius: 6px;
  margin: 5px;
  padding: 5px 10px;
  font-family: Inter;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  color: #111;
}

/* .header-modern__top-row--dropdown .dropdown__items li:hover { */
/*    background: #F2F4FC; */
/*    color: #3339D6; */
/* } */
.header-modern__top-row--nav .tracking {
  -webkit-text-decoration: none;
  text-decoration: none;
  position: relative;
  padding-left: 26px;
}

.header-modern__top-row--nav .tracking .icon {
  display: block;
  min-width: 16px;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 4px;
  /* filter: grayscale(0) brightness(0); */
}

.header-modern__top-row--nav .tracking .link {
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  color: #111;
}

.header-modern__top-row--nav {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.header-modern__top-row--nav nav ul li.dropdown {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.header-modern__top-row--nav nav ul {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.header-modern__top-row--nav nav ul li {
  list-style-type: none;
}

.header-modern__top-row--nav nav ul li a {
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #111;
}

.header-modern__bottom {
  background: #141766;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.header-modern__bottom-wr {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-modern__bottom-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -15px;
}

.header-modern__bottom-logo a {
  display: inline-block;
  padding: 8px;
  background: #3339D6;
}

.header-modern__bottom-logo a span {
  display: block;
  min-width: 54px;
  width: 54px;
  height: 44px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.3s ease;
}

.header-modern__bottom-content {
  padding: 10px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.header-modern .header-modern__bottom-search,
.header-modern .call,
.header-modern .socials {
  display: none;
}

.header-modern__bottom-catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #fff;
}

.header-modern__bottom-catalog .icon {
  display: block;
  min-width: 20px;
  font-size: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.header-modern__bottom-items {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-btn {
  margin: -12px;
  padding: 12px;
  border-radius: 8px;
  transition: 0.3s;
}

.header-modern__bottom-items .wishist--wrapper {
  position: relative;
}

.header-modern__bottom-items .favourite::before {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  display: block;
  min-width: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #41CC58;
}

.header-modern__bottom-items .favourite--null::before {
  display: none;
}

.header-modern__bottom-items .favourite .icon {
  display: block;
  min-width: 24px;
  width: 24px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.header-modern__bottom-items .compare--wrapper {
  position: relative;
}

.header-modern__bottom-items .compare::before {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  display: block;
  min-width: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #41CC58;
}

.header-modern__bottom-items .compare--null::before {
  display: none;
}

.header-modern__bottom-items .compare .icon {
  display: block;
  min-width: 24px;
  width: 24px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.header-modern__burger {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 0.7s ease;
  cursor: pointer;
}
.header-modern__burger.open {
  transform: rotate(450deg);
  background: #3339D6;
}

.header-modern__burger span {
  width: 18px;
  height: 2px;
  background-color: #fff;
  margin: 2px 0;
  border-radius: 6px;
  transition: margin 0.3s ease 0s, transform 0.3s ease 0s;
  transform: rotate(0);
}
.header-modern__burger span:nth-of-type(3) {
  width: 16px;
  margin-left: 2px;
}

.header-modern__burger.open span {
  margin: -1px 1px -1px -1px;
  background-color: #fff;
  width: 18px;
}

.header-modern__burger.open span:nth-of-type(1) {
  transform: rotate(45deg);
  transition: 0.3s ease;
}

.header-modern__burger.open span:nth-of-type(2) {
  display: none;
}

.header-modern__burger.open span:nth-of-type(3) {
  transform: rotate(-45deg);
  transition: 0.3s ease;
}

.header-modern .menu-bottom {
  display: none;
}
.header-modern .menu-bottom.open {
  display: block;
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  background: #FFF;
  animation: showBlockRtoL 0.3s linear forwards;
}

@keyframes showBlockRtoL {
  0% {
    transform: translateX(100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes showBlockBtoT {
  0% {
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}
.header {
  background-color: #eee;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
.header__logo {
  font-size: 3.5rem;
  color: firebrick;
  padding: 4px 0;
}
.header__logo:hover {
  color: red;
}
.header__logo a {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: inherit;
}
.header__logo svg {
  display: block;
}
.header__nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

footer {
  background: #222;
  color: #eee;
}

/* hot fixes */
:root {
  --header-height: 116px;
}

main {
  flex-grow: 1;
}

main::before {
  content: "";
  display: block;
  height: 116px;
  height: var(--header-height);
}

.header-modern {
  z-index: 10 !important;
}

.header-modern__bottom-catalog .link {
  display: block !important;
}

.header-modern .call:hover {
  background: none !important;
}

.footer-modern__col nav ul {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

.header-modern .socials li::before {
  content: none !important;
}

.header-modern__bottom-wr {
  gap: 5px;
}

.icon {
  width: 1em;
  height: 1em;
}

.header-modern__bottom ._container {
  padding: 0;
}

.header-modern__bottom-logo {
  margin-left: 0 !important;
}
.header-modern__bottom-content {
  gap: 2px;
  width: auto !important;
  max-width: calc(100vw - 75px);
}
@media screen and (min-width: 767.98px) {
  .header-modern {
    padding-bottom: 0;
  }
  .header-modern__top {
    display: block;
    padding: 12px 0;
    background: #fff;
  }
  .header-modern__top-search-md {
    display: none;
  }
  .header-modern__top-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }
  .header-modern__top-row--nav {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 20px;
  }
  .header-modern__top-row--nav nav ul li.dropdown {
    display: block;
    position: relative;
  }
  .header-modern__top-row--nav nav ul li.dropdown .dropdown__box {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .header-modern__top-row--nav nav ul li.dropdown .dropdown__box .arrow {
    display: block;
    min-width: 10px;
    width: 10px;
    height: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(0) brightness(0);
    cursor: pointer;
    margin-bottom: -2px;
  }
  .header-modern__top-row--nav nav ul.dropdown__items {
    display: none;
    position: absolute;
    left: 0;
    z-index: 2;
    width: 100%;
    min-width: 160px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1215686275);
  }
  .header-modern__top-row--nav nav ul.dropdown__items li {
    list-style-type: none;
    border-radius: 6px;
    margin: 5px;
    padding: 5px 10px;
    font-family: Inter;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    color: #111;
  }
  .header-modern__top-row--nav nav ul li.dropdown:hover ul.dropdown__items {
    display: block;
    animation: showBlockBtoT 0.1s linear forwards;
  }
  .header-modern__bottom {
    position: relative;
  }
  .header-modern__bottom-logo {
    margin-left: 0;
  }
  .header-modern__burger {
    display: none;
  }
  .header-modern .menu-bottom {
    display: none;
  }
  .header-modern .menu-bottom.open {
    display: none;
  }
  .header-modern .header-modern__bottom-search,
  .header-modern .socials {
    display: block;
  }
  .header-modern .header-modern__bottom-search {
    max-width: 105px;
  }
  .header-modern .header-modern__bottom-search .field {
    position: relative;
  }
  .header-modern .header-modern__bottom-search .field label {
    display: block;
    width: 100%;
  }
  .header-modern .header-modern__bottom-search .field label input {
    padding: 8px 48px 8px 8px;
    width: 100%;
    outline: none;
    background: #FFF;
    border-radius: 6px;
    border: 1px solid #E1E2EB;
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #111;
  }
  .header-modern .header-modern__bottom-search .field label input::-moz-placeholder {
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #777;
  }
  .header-modern .header-modern__bottom-search .field label input::placeholder {
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #777;
  }
  .header-modern .header-modern__bottom-search .field .icon {
    display: block;
    min-width: 20px;
    width: 20px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translate(0, -50%);
  }
  .header-modern .socials {
    display: flex;
    align-items: center;
    gap: 1px;
    margin: 0;
    padding: 0;
    font-size: 32px;
    line-height: 1;
  }
  .header-modern .socials li {
    list-style-type: none;
  }
  .header-modern .socials a {
    display: block;
    border: 2px solid transparent;
    border-radius: 50%;
  }
  .header-modern .socials .icon {
    display: block;
    z-index: 2;
  }
}
@media screen and (min-width: 767.98px) and (any-hover: hover) {
  .header-modern .socials a:hover, .hoverable:hover .header-modern .socials a {
    border-color: #fff;
  }
}
@media screen and (min-width: 991.98px) {
  .header-modern__top-wr {
    margin-left: 174px;
  }
  .header-modern__top-row--nav nav ul.dropdown__items {
    left: -60px;
    min-width: 180px;
  }
  .header-modern__bottom-logo {
    margin-top: -44px;
  }
  body.scrolled .header-modern__bottom-logo {
    margin-top: 0;
  }
  body.scrolled .header-modern__bottom-logo a span {
    height: 34px;
    width: 50px;
    min-width: 50px;
  }
  .header-modern__bottom-logo a {
    padding: 14px 16px;
  }
  .header-modern__bottom-logo a span {
    min-width: 102px;
    width: 102px;
    height: 84px;
  }
  .header-modern__bottom-wr {
    gap: 40px;
  }
  .header-modern__bottom-catalog .link {
    white-space: nowrap;
  }
  .header-modern .header-modern__bottom-search {
    max-width: none;
    max-width: initial;
  }
  .header-modern .header-modern__bottom-search .field label input {
    padding: 8px 48px 8px 16px;
  }
  .header-modern .call {
    font-size: 18px;
  }
  .header-modern .socials li a span {
    min-width: 36px;
    width: 36px;
    height: 36px;
    white-space: nowrap;
  }
}
@media screen and (min-width: 1199.98px) {
  .header-modern .call {
    display: block;
    font: 600 16px/28px "Inter" sans-serif;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: #FFF;
  }
  .header-modern__top-wr {
    margin-left: 183px;
  }
  .header-modern__top-content {
    max-height: 24px;
  }
  .header-modern__top-row--dropdown .dropdown__items,
  .header-modern__top-row--dropdown .dropdown__items {
    padding: 0;
    margin: 0 5px;
  }
  .header-modern__top-row--dropdown .dropdown__items li {
    padding: 10px;
  }
  .header-modern__top-row--dropdown .dropdown__items li:hover {
    cursor: pointer;
    background: #F2F4FC;
    color: #3339D6;
  }
  .header-modern__top-row--nav nav ul.dropdown__items {
    padding: 0;
    margin: 0 5px;
  }
  .header-modern__top-row--nav nav ul.dropdown__items li {
    padding: 10px;
  }
  .header-modern__top-row--nav nav ul.dropdown__items li:hover {
    cursor: pointer;
    background: #F2F4FC;
  }
  .header-modern__top-row--nav nav ul.dropdown__items li:hover a {
    color: #3339D6;
  }
  .header-modern__top-row--dropdown .dropdown__box-in:hover .value {
    color: #3339D6;
  }
  .header-modern__top-row--dropdown .dropdown__box-in:hover .arrow {
    filter: initial;
  }
  .header-modern__top-row--nav .tracking:hover .icon {
    filter: initial;
  }
  .header-modern__top-row--nav .tracking:hover .link {
    color: #3339D6;
  }
  .header-modern__top-row--nav nav ul li.dropdown .dropdown__box:hover .nav-link {
    color: #3339D6;
  }
  .header-modern__top-row--nav nav ul li.dropdown .dropdown__box:hover .arrow {
    filter: initial;
  }
  .header-modern__bottom-logo a:hover {
    background: #41CC58;
  }
  .header-modern__bottom-catalog {
    padding: 9px 10px;
    border-radius: 6px;
  }
  .header-modern__bottom-catalog:hover {
    background: #3339D6;
  }
  .header-modern__bottom-catalog .link {
    display: block;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #FFF;
  }
  .header-modern__bottom-items .wishist--wrapper {
    padding: 11px 10px;
    border-radius: 6px;
  }
  .header-modern__bottom-items .favourite::before {
    top: 4px;
    right: 4px;
  }
  .header-modern__bottom-items .wishist--wrapper:hover {
    background: #3339D6;
  }
  .header-modern__bottom-items .compare--wrapper {
    padding: 11px 10px;
    border-radius: 6px;
  }
  .header-modern__bottom-items .compare::before {
    top: 4px;
    right: 4px;
  }
  .header-modern__bottom-items .compare--wrapper:hover {
    background: #3339D6;
  }
  .header-modern .call {
    padding: 7px 10px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .header-modern__bottom-content {
    gap: 20px;
  }
  .header-modern__bottom-search {
    flex: 1;
  }
  .header-modern .socials li {
    position: relative;
  }
  .header-modern .socials li:hover::before {
    display: block;
  }
}
@media screen and (min-width: 1199.98px) and (any-hover: hover) {
  .header-modern .call:hover, .hoverable:hover .header-modern .call {
    opacity: 0.5;
  }
}
@media screen and (min-width: 1439.98px) {
  .header-modern__top-row--nav nav ul.dropdown__items {
    left: 0;
    min-width: 200px;
  }
}
@media screen and (min-width: 1639.98px) {
  .header-modern__top-row--nav nav ul.dropdown__items {
    min-width: 280px;
  }
}
@media (max-width: 639.98px) {
  .header-modern__bottom-items {
    gap: 8px;
  }
  .header-modern__bottom-items {
    gap: 4px;
  }
  .catalog-cars .pagination .pagination__page ul {
    gap: 4px !important;
  }
}
@media screen and (max-width: 440px) {
  .header-modern__top-row--dropdown .dropdown__items,
  .header-modern__top-row--dropdown .dropdown__items {
    min-width: 160px;
  }
}
@media screen and (max-width: 380px) {
  .header-modern__top-row--dropdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (any-hover: hover) {
  .menu-btn:hover, .hoverable:hover .menu-btn {
    background: #3339D6;
  }
}
