:root {
  --green: #6cc51d;
  --black: #333333;
  --gray: #B4B8B3;
  --grayborder: #EBEBEB;
  --white: #ffffff;
}

.center {
  min-height: 250px;
}


/* Общие стили */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap');

body {
  font-family: 'Google Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
}



.main-banner {
  min-height: auto;
  height: auto;
  overflow: hidden;
  position: relative;
}
.main-banner img {
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.slick-init-hidden {
  visibility: hidden;
}



.ico {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: black;
  justify-content: center;
  height: 40px;
  text-decoration: none;
  width: 40px;
}


.number {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
}
.ico i {
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mapbtn {
  width: 40px;
  height: 40px;
  background-color: var(--grayborder);
  border-radius: 8px;

}

.sel {
  border-color: var(--white) !important;
}
.fa {
  font-size: 20px;
  line-height: 15px;
  color: var(--black);
}
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

.restaurant-card {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* Хедер */
.header {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.subtitle {
  font-weight: 500;
  font-size: 14px;
  color: #888;
}

.location-search {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 400px;
}

.location {
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
  gap: 5px;
}

.location .label {
  color: #888;
}

.location .city {
  font-weight: bold;
  color: #2d8f00;
}

.search-form {
  flex: 1;
  display: flex;
}

.search-form input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
}

.search-form button {
  padding: 8px 15px;
  background-color: #6cc51d;
  border: none;
  color: white;
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  color: #444;
}

.phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone .info {
  text-align: left;
  line-height: 1;
}

.phone .support {
  font-size: 12px;
  margin-bottom: 4px;
  color: #B4B8B3;
}

.phone .number {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
}

.profile a {
  color: black;
  text-decoration: none;
}



/* .slider img {
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}
.slick-slide {
  padding: 0 10px;
} */


/* Слайдер */
/* .slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 20px;
  scroll-snap-type: x mandatory;
}

.slider img {
  min-width: 300px;
  height: auto;
  scroll-snap-align: start;
  border-radius: 10px;
} */

/* Категории */
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.categories button {
  padding: 10px 20px;
  border: 1px solid #6cc51d;
  border-radius: 30px;
  background: white;
}

/* Секции и карточки */
.section {
  max-width: 1600px;
  margin: auto;
  padding: 20px;
}

.section h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.restaurant-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.restaurant-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1));
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.overlay h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.overlay .desc {
  font-size: 14px;
  color: #e1e1e1;
}

.overlay .info {
  display: flex;
  gap: 15px;
  font-size: 13px;
  margin-top: 10px;
}

/* Кнопка */
.more-button {
  text-align: center;
  margin: 40px 0;
}

.more-button button {
  padding: 10px 30px;
  background-color: #6cc51d;
  color: white;
  border: none;
  border-radius: 30px;
}

/* Футер */
.footer {
  background-color: #f8f9fa;
  padding: 40px 0;
  font-size: 14px;
  color: #666;
}

.footer-inner {
  max-width: 1600px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer .copyright {
  text-align: center;
  margin-top: 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: unset;
    align-items: flex-start;
    gap: 1rem;
  }

  .contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .location-search {
    flex-direction: column;
    min-width: unset;
    width: 100%;
  }

  .search-form {
    width: 100%;
  }

  .search-form input {
    width: 100%;
    border-radius: 5px;
  }

  .search-form button {
    width: 100%;
    border-radius: 5px;
    margin-top: 10px;
  }

  /* .slider {
    flex-direction: column;
    padding: 10px;
  } */

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    margin: 20px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .restaurant-card img {
    height: 160px;
  }

  .overlay h3 {
    font-size: 16px;
  }

  .overlay .desc {
    font-size: 13px;
  }

  .overlay .info {
    font-size: 12px;
    gap: 10px;
  }
  /* .phone {
    display: none;
  } */
  .contacts .info {
    display: none;
  }
  .contacts .divider {
    display: none;
  }
  .accaunt span {
    display: none;
  }

  .logo img {
    height: 34px;
  }
  .search-form button {
    width: 50px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 10px;
    height: 40px;
  }
  .search-form input {
    height: 40px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-color: var(--grayborder);
  }
  .search-form {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .header-inner {
    flex-direction: unset;
    align-items: flex-start;
    gap: 1rem;
  }
  .location-search {
    flex-direction: column;
    min-width: 100%;
    width: 100%;
  }


  
}
