.navbar {
	position: fixed;
	width: 100%;
	z-index: 999;
	top: 0;
	background-color: #fff;
	padding: 0px 0 0;
}

.navbar .container {
	min-height: 75px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar__caption px-2 {
	min-height: 68px;
}

.brand {
	position: relative;
	z-index: 10;
}

.navbar__menu {
	padding-left: 0;
	margin-bottom: 0;
	list-style-type: none;
}

.navbar__menu li {
	display: inline-block;
}

.navbar__menu-link {
	font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 14px;
  line-height: 100%;
	color: #121314;
	text-decoration: none;
	transition: all 0.3s;
	padding: 15px;
}

.navbar__contact-link {
	font-size: 14px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0.05em;
	color: #707070;
	text-decoration: none;
	transition: all 0.3s;
	padding: 15px;
}

.navbar__actions actions-navbar {
	margin-top: 0;
	margin-bottom: 0;
}

.actions-navbar__item {
	
}

.actions-navbar__btn {
	border-radius: 5px;
	padding: 10px;
	background-color: #0d6efd;
	display: flex;
	justify-content: center;
}

.navbar__caption_content {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
}

.navbar__caption_content-part {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
}

.navbar__caption_link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	text-align: center;
	font-size: 14px;
	color: #121314;
}

.caption_content-text {
	font-size: 14px;
	color: #121314;
	padding-left: 5px;
	margin-bottom: 0;
}

.icon-item-nav {
	width: 14px;
  height: 14px;
}

.navbar__menu > li.has-dropdown {
    position: relative;
}

.navbar__menu > li.has-dropdown.has-megamenu {
    position: static;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    height: auto;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.navbar__menu > li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown__link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 150%;
    color: #121314;
}

.dropdown__link:hover {
    background-color: #F5F7FA;
    color: #000000;
}

.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background-color: #ffffff;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.08);
    padding: 24px;
    box-sizing: border-box;
    z-index: 999;
    border-top: 2px solid #F5F7FA;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navbar__menu > li.has-dropdown.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Показ мега-меню при наведении на пункт "Модельный ряд" 
.has-dropdown:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
*/

/* Сетка для карточек автомобилей (6 в ряд) 
.megamenu__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
*/

.megamenu__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 12px;
    box-sizing: border-box;
}

@media (max-width: 1199.98px) {
    .megamenu__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.megamenu__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.2s ease;
    padding: 24px !important;
}

.megamenu__item:hover {
    background-color: #F5F7FA;
}

.megamenu__img-wrap {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.megamenu__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.megamenu__title {
  font-size: 16px;
  font-weight: 600;
  color: #1E1F21;
  text-align: center;
}

.megamenu__button {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #D1D5DB;
  color: #1E1F21;
  padding: 4px 12px;
  margin-bottom: 8px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 150%;
  color: #121314;
  white-space: nowrap;
}

.megamenu__description {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 1;
  color: #8d8d8d;
}

.dropdown .dropdown__link {
    white-space: nowrap;
}



@media (min-width: 1200px) {
.mobile-wrap {
    position: flex;
    background-color: #fff;
}
 
.burger {
   display: none;  
}

.navbar__menu-link {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 14px;
  line-height: 100%;
  color: #121314;
  text-decoration: none;
  transition: all 0.3s;
  padding: 15px;
}

}

@media (max-width: 992px) {
.burger {
    display: block;
}

.actions-navbar__btn {
    display: none;
}

.mobile-wrap {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0!important;
    right: 0;
    bottom: 0;
    margin-top: 70px;
    padding: 0 15px;
    left: 100px;
    height: 100vh;
    width: 100%;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
    transform: translate(0,-100%);
    transition: transform   0.3s;
}

.menu-open .mobile-wrap{
    transform: translate(0,0);
} 

.navbar__menu {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 340px;
    height: 100%;
}

  .navbar__menu {
    position: relative !important;
  }

.navbar__menu li {
    width: 100%;
    padding: 15px 0;
    background-color: #fff;
    border-left: none;
    border-top: 1px solid #e8ebee;
}

.navbar__menu .megamenu {
    display: none;
    width: 100%;
    position: static;
    box-shadow: none;
    padding: 0;
}

.navbar__menu .megamenu.is-active {
    display: block;
    margin-left: 40px;
}

 .megamenu__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 0 10px 15px; 
    box-sizing: border-box;
}

.megamenu__item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.megamenu__button {
    display: none !important;
}

.megamenu__img-wrap {
    width: 50%;
    height: auto;
    margin: 0;
}

.megamenu__title {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.megamenu__description {
    font-size: 14px;
    padding-right: 10px;
}

.navbar__menu > li.has-dropdown.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0) !important;
}

}

@media (max-width: 575.98px) {

.navbar__actions actions-navbar {
	margin-left: 10px;
}

.navbar__contact-link {
	font-size: 10px;
	font-weight: 600;
	line-height: 140%;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #707070;
	text-decoration: none;
	transition: all 0.3s;
	padding: 15px 15px 0px 15px;
}

.navbar__caption_content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 10px; 
    box-sizing: border-box;
}
   
.navbar__caption_content * {
    font-size: 14px;
}

.navbar__contacts-action { 
    display: none; 
}

.burger {
    display: block;
}

.actions-navbar__btn {
    display: none;
}

.mobile-wrap {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0!important;
    right: 0;
    bottom: 0;
    margin-top: 70px;
    padding: 0 15px;
    left: 100px;
    height: 100vh;
    width: 100%;
    background-color: #fff;
    overflow-y: scroll;
    overflow-x: hidden;
    transform: translate(0,-100%);
    transition: transform   0.3s;
}

.menu-open .mobile-wrap{
    transform: translate(0,0);
} 

.navbar__menu {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 340px;
    height: 100%;
}

  .navbar__menu {
    position: relative !important;
  }

.navbar__menu li {
    width: 100%;
    padding: 15px 0;
    background-color: #fff;
    border-left: none;
    border-top: 1px solid #e8ebee;
}

.navbar__menu .megamenu {
    display: none;
    width: 100%;
    position: static;
    box-shadow: none;
    padding: 0;
}

.navbar__menu .megamenu.is-active {
    display: block;
    margin-left: 40px;
}

 .megamenu__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 10px 0 10px 15px; 
    box-sizing: border-box;
}

.megamenu__item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.megamenu__button {
    display: none !important;
}

.megamenu__img-wrap {
    width: 50%;
    height: auto;
    margin: 0;
}

.megamenu__title {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.megamenu__description {
    font-size: 14px;
    padding-right: 10px;
}

.navbar__menu > li.has-dropdown.has-megamenu:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) translateY(0) !important;
}

}