.page {
  min-height: 100vh;
}
html {
  scroll-behavior: smooth;
}
/* Імпортуємо зовнішні стилі через CDN */
@import url('https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css');
@import url('https://cdn.jsdelivr.net/npm/vue-select@3.20.2/dist/vue-select.css');

/* Глобальні стилі */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --error-color: #f44336;
    --text-color: #333;
    --border-color: #ddd;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--text-color);
}

/* Стилі для приховання смуги прокрутки */
/* Для всього сайту */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Для елементів з прокруткою */
.hide-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* ... інші стилі ... */
.scroll-container {
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}
/* Стилізуємо скролбар */
::-webkit-scrollbar {
  width: 8px; /* Ширина скролбару */
}

/* Фон скролбару */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* Колір фону */
  border-radius: 4px;
}

/* Сам повзунок */
::-webkit-scrollbar-thumb {
  background: #EC470052;
  border-radius: 8px;
}



.modal {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .modal--visible {
    visibility: visible;
    opacity: 1;
  }
  
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  


.modal-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.delivery-header {
}
.delivery-header h5 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    transition: opacity 0.3s ease;
}
.choise-block {
    margin-top: 24px;
}
.choise-btns {
    display: flex;
    color: #757575;
    background: #EDEFF1;
    border-radius: 48px;
    padding: 4px 0; 

}
.choise-btn {
    flex: 1;
    border-radius: 38px;
    margin: 0 4px;
    width: 223.5px; 
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    
}

.choise-btns .active {
    background-color: white;
    color: #2E2D36;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
}
.choise-btn p{
    margin: 10px 16px;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
}
.devivery-block {
    display: flex;
    margin-top: 36px;
    gap: 32px;
    height: 420px;
}
.map-side {
    width: 408px;
    display: flex;
    gap: 16px;
    flex-direction: column;
}
.map-component {
    border-radius: 5.79px;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.map-info {
    text-align: -webkit-left;
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.map-desc {
    display: flex;
}
.circle {
  position: static;
  width: 16px;
  height: 16px;
  border-radius: 16px;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin: 0px 8px;
}

.zone1 {
  background: #A0E162;
}

.zone2 {
  background: #A8A6E1;
}

.zone3 {
  background: #FBC4C4;
}

.input-side {
  width: 338px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.choise-city {
  display: flex;
  justify-content: space-between;
  border-radius: 24px;
  padding: 15px 12px 15px 16px;
  align-items: center;
  cursor: pointer;
  
}
.select-sity {
}

.choise-map {
  border-radius: 24px;
  border: 1px ridge #EC4700;
}


.choise-map-content { 
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.choise-text {
  padding: 12px 16px;
  border-radius: 24px;
}
.choise-address {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative; /* Забезпечує контекст для позиціювання */
  width: 100%;
  margin-top: -10px;
}

.input-header {
  display: flex;
  align-items: center;
  border: 1px ridge #DDDFE4;
  border-radius: 24px;
  padding: 10px 6px 10px 12px;
  width: 100%;
  gap: 12px;
  justify-content: space-between;
  color: #5D5D5D;
  position: relative;
}

.input-header svg {
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0; /* Забезпечує фіксовані розміри для іконки */
}

.address-input {
  border: none;
  outline: none;
  flex-grow: 1; /* Розтягується на всю ширину між іконкою та кнопкою */
  font-size: 14px;
  color: inherit;
  padding: 0 8px;
  min-width: 0; /* Забезпечує, щоб текст не розтягував контейнер */
}

.address-input::placeholder {
  color: #AFAFAF;
}



.search_btn,
.close_btn {
  position: absolute;
  right: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.search_btn {
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  background-color: var(--orange);
  border-radius: 8px;
  border: none;
}

.close_btn svg {
  width: 24px;
  height: 24px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.close_btn:hover svg {
  transform: rotate(90deg);
}

.submit-button {
  background: #FFE0E0; 
  padding: 12px 32px 12px 32px;
  border-radius: 24px;
  color: #AFAFAF;
}
.button-text {

}
.maplibregl-ctrl-attrib-inner {
  display: none !important;
}
.maplibregl-ctrl-bottom-left  {
  display: none !important;
}
.maplibregl-ctrl-bottom-right  {
  display: none !important;
}
.choise-city svg {
  width: 10px;
  height: 10px;
  transform: rotate(270deg);
}
.mobile-map-block {
  display: none;
}
.map-modal-content {
  align-items: flex-start;
  background: white;
  border-radius: 30px;
}
@media (max-width: 768px){ 
  .desktop-map-block {
    display: none;
  }
  .banner__arrows {
    display: none;
  }

  .map-modal-content {
    width: 100%;
  }
  .mobile-map-block {
    display: flex;
    flex-direction: column; 
    height: 100vh; 
    width: 100%;
    margin-top: -20px;
  
  }

  .mobile-map {
    flex-grow: 1; 
    width: 100%;
    background-color: #f0f0f0; 
  }

  .mobile-info-map {
    position: relative;
 
    width: 100%; 
    background-color: #ffffff; 
    padding: 16px; 
    padding-top: 24px ;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 24px; 
    border-top-right-radius: 24px; 
  }

  .mobile-circle-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .map-desc {
    font-size: 12px;
  }
  .selected-address {
    width: 100%;
    text-align: left;
  }
  .cirlce { 
    margin: 0 8px 0 0;
  }
  .map-component-bottom {
    flex-direction: column;
    margin-top: 32px;
  }
  .submit-button{ 
    margin: 40px 0 28px 0;
    min-width: 100% !important;
  }
  .mobile-info-block {
    background-color: #eaeaea;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    
  }

  .mobile-map-button {
    background-color: #007bff; 
    color: white;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
  }

}
.map-container {
  width: 778px;
  height: 420px;
}
.map-block {
  margin-top: -24px;
  margin-bottom: 24px;
  width: 65%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cursor-pointer {
  fill: #323232;
  cursor: pointer;
}
.map-component-bottom {
  width: 778px;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  align-items: center;
}
@media (max-width: 768px) {
  .map-component-bottom {
    width: 100%;
  }
}
.submit-button {
  min-width: 338px;
}
.submit-button.active-bnt {
  background: #EC4700;
  color: #1D1C1C;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.map-component-bottom span{
  font-weight: 600;
  line-height: 18px;
}
.fade-slide-enter-active,
.fade-slide-leave-active {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-slide-enter-from {
  opacity: 0;
  transform: translateY(20px);
}
.menu__blocks {
  width: 100%;
}
.fade-slide-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}
@media (max-width: 798px) {
  .devivery-block{
    gap:12px;
  }
}
@media (max-width: 768px) {
  .modal__wrapper { 
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    border-radius: 0;
    overflow: hidden;
  }
  .menu__blocks {
    display: none;
  }
  .modal-content{ 
    padding: 0px;
    max-width: 100%;
  }
  .choise-btns{
    width: auto;
  }
  .choise-block {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .map-side {
    display: none;
  }
  .submit-button {
    padding: 14px 32px;
    margin-top: 18px !important;
  }
}
@media (max-width: 464px) {
  .choise-btn {
    width: 165px;
  }
}
.city-list {
  z-index: 123;
  position: absolute;
  list-style: none;
  padding: 0;
  margin-top: 50px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  width: 338px;
  height: 325px;
  display: flex;
  flex-direction: column;
  padding: 0px 16px 0px 16px;
  text-align: -webkit-left;
  transition: max-height 0.3s ease;
}

.city-list.mobile-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  z-index: 1000;
  background: white;
  display: flex;
  flex-direction: column;
}

.delivery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 11px 0;
}

.city-list-header button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.city-list-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  overflow: hidden;
}

.city-item {
  padding: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.city-item:hover {
  background-color: #f9f9f9;
}

.city-item svg {
  width: 14px;
  height: 14px;
}

.slide-fade-enter-active,
.slide-fade-leave-active {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slide-fade-enter-from {
  opacity: 0;
  transform: translateY(-10px);
}

.slide-fade-enter-to {
  opacity: 1;
  transform: translateY(0);
}

.slide-fade-leave-from {
  opacity: 1;
  transform: translateY(0);
}
.input-header {
  justify-content: flex-start;
}

.search_btn {
  cursor: pointer;
}

.search_btn[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

.address-suggestions {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  background: #fff;
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

.address-suggestions li {
  padding: 8px 12px;
  cursor: pointer;
}

.address-suggestions li:hover {
  background: #f0f0f0;
}
.city-list {
  position: absolute;
    list-style: none;
    padding: 0;
    margin-top: 278px;
    margin-left: 0 !important;
    border: 1px solid var(--orange);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    width: 338px;
    height: 211px;
    display: flex
;
    flex-direction: column;
    padding: 0px 16px 0px 16px;
    text-align: -webkit-left;
    transition: max-height 0.3s ease;
}

.city-list.mobile-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  z-index: 1000;
  background: white;
  display: flex;
  flex-direction: column;
}

.city-list-header button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}



.city-item {
  padding: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  transition: background-color 0.2s ease;
}

.city-item:hover {
  background-color: #f9f9f9;
}

.city-item svg {
  width: 14px;
  height: 14px;
}

.restaurant-list {
  max-height: 236px;
  overflow-y: auto;
  margin-top: -10px;
}

@media (max-width: 768px) {
  .restaurant-list {
    max-height: 40vh;
    height: auto;
  }
  .footer {
    width: 100%;
    bottom: 0;
  }
}

@media (min-height: 896px) and (max-width: 768px) {
  .restaurant-list {
    max-height: 60vh;
  }
}

.choise-text {
  color: #5d5d5d;
}
.circle {
  width: 8px;
  height: 8px;
}
.restaurant-content {
  display: flex;
  margin: 15px 12px;
  gap: 12px;
  border: 1px ridge #DDDFE4;
  border-radius: 12px;
  padding: 12px;
}
.restaurant-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.title {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}
.work-time {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #5D5D5D;
}
.work-time p {
  text-align: left;
}
.circle {
  margin: 0;
}
.restaraunt-row:hover {
  cursor: pointer;
}
.map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.map {
  position: absolute;
  width: 100%;
  height: 100%;
}

.coordinates {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 999;
  font-size: 14px;
}

.save-btn {
  position: absolute;
  bottom: 50px;
  left: 10px;
  padding: 10px 15px;
  border: none;
  background-color: #198754;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

.save-btn:hover {
  background-color: #145f43;
}
.credetials {
  min-height: 75vh;
  padding: 32px 0 48px;
  line-height: 24px;
  overflow: scroll;
}
@media (max-width: 768px) {
  .nav-menu__item_submenu {
    display: none;
  }
}

.sidebar-accordion {
  width: 100%;
}

.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #eaeaea;
}

.accordion-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-icon.rotated {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 15px 20px;
  background-color: #fff;
  color: #333;
  border-top: 1px solid #ddd;
}

.restaurant-item {
  margin-bottom: 10px;
}

.restaurant-item h4 {
  margin: 0;
  font-size: 16px;
}

.restaurant-item p {
  margin: 5px 0 0;
  color: #666;
}
.accordion-enter-active,
.accordion-leave-active {
  transition: max-height 0.2s ease, opacity 0.2s ease;
  }

.accordion-enter-from,
.accordion-leave-to {
  max-height: 0;
  opacity: 0;
  }

.accordion-content {
  overflow: hidden; 
  max-height: 500px;
  }



  .error-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.9);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  /* .bottom-sheet-swipe-down { */
    /* padding: 0 !important; */
  /* } */

  .bottom-sheet-content {
    background: none !important;
  }

  .heet-pop-up-container {
    height: 102% !important;
  }

  /* Файний ботом модал */
  /* ====== Оверлей (fade) ====== */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease-in-out;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}


/* ====== Модалка (bottom-slide) ====== */

/* Стилі для оверлею */
.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease-in-out;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}


/* Модалка */

.bottom-sheet {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-height: 85vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 1001;
  transition: transform 0.2s ease-out;
}
/* ====== Strip (рухається разом з модалкою) ====== */
.modal__menu_touch_zone {
  position: absolute;
  top: -66px;
  padding: 50px;
  width: 100%; 
  height: 30px;
  cursor: grab;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
}


.menu_strip {
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: white;
}
.modal-card__scroll .modal-card__content {
  margin-top: 0;
}

.contant_ico a  img { 
  width: 24px;
  height: 24px
}

.vti__flag.ru {
  height: 14px;
  background-position: -5175px 0px !important;
}

/* Basket */
.card-mobile__image-ibg img {
  width: 100%;
  height: 48px;
  object-fit: cover;
}
.card-mobile__price span {
  text-wrap: nowrap;
}
.restaurant-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}
.restaurant-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .menu-info__list {
    flex-direction: column;
    gap: 12px;
  }
  .is_hiden {
    display: none !important;
  }
 
}
.nav-menu__item_section_text {
  text-transform: capitalize;
}
.vti__dropdown:hover {
  background: transparent !important;
}
.rewiew-button-back {
  display: none;
}
@media screen and (max-width: 768px) {
  .rewiew-button-back {
    display: block;
  }
}
.title_block {
  font-size: 16px;
  font-weight: 600;
}


.auth-modal.pwa {
  padding-top: 48px;
}

.button-app {
  text-wrap: balance;
}

.choise_warning {
  color: var(--orange);
  background: #EC470014;
}