/* Regular */
@font-face {
  font-family: "Graphik LCG";
  src: url("/static/fonts/GraphikLCG-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "Graphik LCG";
  src: url("/static/fonts/GraphikLCG-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Semibold */
@font-face {
  font-family: "Graphik LCG";
  src: url("/static/fonts/GraphikLCG-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Graphik LCG";
  src: url("/static/fonts/GraphikLCG-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: "Graphik LCG";
  src: url("/static/fonts/GraphikLCG-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Base */

*,
:after,
:before {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f5f5f5;
  font-family: "Graphik LCG", Arial, sans-serif;
  font-weight: 400;
  line-height: 150%;
  font-size: 14px;
}

button {
  border: none;
  padding: 0;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
  font-family: "Graphik LCG", Arial, sans-serif;
  font-weight: 400;
}

a {
  display: contents;
  text-decoration: none;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0
}

/* Container */

.container {
  max-width: 840px;
  width: 100%;
  margin: 0 auto
}

/* Header */

.header {
  margin: 20px 0px;
}

.container {
  max-width: 840px;
  width: 100%;
  margin: 0 auto
}

.header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.search,
.menu {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.search {
  margin-left: 8%;
}

.menu {
  margin-right: 8%;
}

.search:hover,
.menu:hover {
  opacity: 0.7;
}

@media (max-width: 840px) {
  .search {
    margin-left: 16px;
  }
  
  .menu {
    margin-right: 16px;
  }
}

/* Footer */

.footer__inner {
  background: var(--color-dark-bg);
  border-radius: 40px;
  padding: 30px 20px;
  color: #fff;
}

.footer_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer_logo {
  text-align: left;
}

.footer-logo {
  max-width: 120px;
  height: auto;
}

.footer_info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.footer_info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer_info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #fff;
}

.footer_info-item {
  font-size: 14px;
  line-height: 1.4;
}

.contacts-title {
  font-size: 14px;
  margin-bottom: 4px;
}

.contacts-subtitle {
  font-weight: 600;
  font-size: 14px;
}

.footer_private-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_private-item {
  font-size: 12px;
  line-height: 1.4;
}

.footer_description {
  color: #878787;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.footer_mark {
  font-weight: 500;
  font-size: 14px;
}

@media (min-width: 768px) {
  .footer_info {
    flex-direction: row;
    justify-content: space-between;
    width: 600px;
    gap: 40px;
  }
  
  .footer_mark {
    font-size: 16px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .footer_info {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
  }
}

@media (max-width: 360px) {
  .footer__inner {
    padding: 24px 16px;
    border-radius: 24px;
  }
  
  .footer_info-title {
    font-size: 16px;
  }
  
  .footer_info-item {
    font-size: 13px;
  }
  
  .footer_description {
    font-size: 11px;
  }
  
  .footer_list {
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .footer_info {
    gap: 24px;
  }
  
  .footer_info-title {
    font-size: 17px;
    margin-bottom: 12px;
  }
}

/* Buttons */

.btn {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 45px;
  line-height: 45px;
  background: var(--color-dark-bg);
  color: var(--color-white);
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  transition: transform 0.5s ease 0.5s;
}

.btn:hover {
  background: var(--color-green);
  color: var(--color-black);
}

.btn--image {
  margin-right: 12px;
}

.dealer-search-bottom-sheet {
  padding: 0;
}

.dealer-search-bottom-sheet .group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dealer-search-bottom-sheet .dealer-search--title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  text-align: center;
  margin: 0;
}

.dealer-search-bottom-sheet .button-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.dealer-search-bottom-sheet .dealer-search--btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--color-black);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.dealer-search-bottom-sheet .dealer-search--btn:hover {
  border-color: var(--color-dark-bg);
}

.dealer-search-bottom-sheet .dealer-search--btn.active {
  border-color: var(--color-dark-bg);
}

.dealer-search-bottom-sheet .dealer-search-dropdown {
  position: relative;
  width: 100%;
}

.dealer-search-bottom-sheet .dealer-search-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 2px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  max-height: 180px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.dealer-search-bottom-sheet .dealer-search-dropdown-content.show {
  display: block;
}

.dealer-search-bottom-sheet .dealer-search-scroll-container {
  padding: 8px;
  max-height: 180px;
  overflow-y: auto;
}

.dealer-search-bottom-sheet .dealer-search-option {
  display: block;
  width: 100%;
  padding: 12px;
  background: none;
  border: none;
  border-radius: var(--radius-xxs);
  text-align: left;
  font-size: var(--text-md);
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--color-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dealer-search-bottom-sheet .dealer-search-option:hover {
  background: var(--color-light-gray);
}

.dealer-search-bottom-sheet .btn {
  width: 100%;
  margin-top: 8px;
}

.bottom-sheet .body {
  -ms-overflow-style: none;
  scrollbar-width: none; 
}

.bottom-sheet .body::-webkit-scrollbar {
  display: none;
}

.bottom-sheet .body {
  overflow-y: auto;
}

.bottom-sheet .modal-body {
  padding-right: 24px;
  padding-left: 24px;
}

.dealer-search-bottom-sheet .dealer-search-scroll-container {
  max-height: calc(3 * 48px + 16px);
}

.dealer-search-bottom-sheet .dealer-search-scroll-container {
  max-height: calc(3 * 48px + 16px);
}

.dealer-search-bottom-sheet .dealer-search-dropdown {
  position: relative;
  width: 100%;
}

.bottom-sheet .body {
  width: 100%;
  box-sizing: border-box;
}


/* Bottom-sheet */

.bottom-sheet {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  pointer-events: none;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.1s linear;
  z-index: 1000;
}

.bottom-sheet.show {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet .sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background: #000;
}

.bottom-sheet .content {
  width: 100%;
  position: relative;
  background: #fff;
  max-height: 100vh;
  height: 50vh;
  max-width: 1024px;
  padding: 24px;
  transform: translateY(100%);
  border-radius: 36px 36px 0 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: 0.3s ease;
}

.bottom-sheet.show .content {
  transform: translateY(0%);
}

.bottom-sheet.dragging .content {
  transition: none;
}

.bottom-sheet.fullscreen .content {
  border-radius: 0;
  overflow-y: hidden;
}

.bottom-sheet .header {
  display: flex;
  justify-content: center;
}

.header .drag-icon {
  cursor: grab;
  user-select: none;
  margin-top: -15px;
}

.header .drag-icon span {
  height: 5px;
  width: 31px;
  display: block;
  background: #f5f5f5;
  border-radius: 100px;
}

.bottom-sheet .body {
  height: 100%;
  overflow-y: auto;
  padding: 0 0 40px;
  scrollbar-width: none;
}

.bottom-sheet .body::-webkit-scrollbar {
  width: 0;
}

.bottom-sheet .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  position: relative;
  margin-bottom: 16px;
}

.bottom-sheet .modal-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  flex: 1;
}

.bottom-sheet .modal-close {
  background: #f5f5f5;
  border: none;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  z-index: 1;
}

body:has(.bottom-sheet.show) {
  pointer-events: none;
  overflow: hidden;
  height: 100dvh;
}





















.sidebar-text {
  font-weight: 500;
  font-size: 16px;
}

.sidebar-link {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.sidebar-item{
  width: 150px;
  padding: 6px 24px;
  border-radius: 12px;
  cursor: pointer;
}

.sidebar-item:hover {
  background-color: #fff;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desktop-sidebar {
  top: 86px;
  position: sticky;
  float: left;
  left: 6%;
  background: transparent;
}

.sidebar-icon {
  margin-right: 6px;
}

@media (max-width: 1300px) {
  .desktop-sidebar {
    left: 20px;
  }
}

@media (max-width: 1150px) {
  .desktop-sidebar {
    display: none;
  }
}