/* Бургер кнопка */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-button span {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    flex-direction: column;
    gap: 20px;
}

.mobile-menu ul li a {
    font-size: 18px;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #eee;
}

/* Оверлей для мобильного меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}


@media (max-width: 768px) {
  header .header-currency .container {
    gap: 0;
    justify-content: space-around;
  }
  
  /* Скрываем десктопное меню на мобильных */
  header .header-main .container .desktop-menu {
    display: none;
  }
  
  /* Показываем бургер кнопку на мобильных */
  header .header-main .container .mobile-menu-button {
    display: flex;
  }
  
  /* Показываем мобильное меню при активации */
  .mobile-menu {
    display: block;
  }
  
  .sec-1 .container .sec-1-inner {
    padding: 15px;
  }
  .sec-1 .container .sec-1-inner .sec-1-inner-row-1 {
    flex-wrap: wrap;
  }
  .sec-1 .container .sec-1-inner .sec-1-inner-row-1 .custom-select-container {
    flex: 0 0 100%;
  }
  .sec-1 .container .sec-1-inner .sec-1-inner-row-2 {
    flex-direction: column;
    gap: 0;
  }
  .sec-1 .container .sec-1-inner .sec-1-inner-row-2 .specifications {
    width: 100%;
  }
  .sec-1 .container .sec-1-inner .sec-1-inner-row-2 .specifications .selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .sec-1 .container .sec-1-inner .sec-1-inner-row-3 {
    grid-template-columns: 1fr 1fr;
  }
  .car-detail-top .container {
    grid-template-columns: 1fr;
  }
}

.responsive-svg {
  width: 86%;
  height: auto;
  max-width: 297px;
}