body {
  margin: 0%;
  background-color: #f9f9f9;
  overflow-x: hidden;
  width: 100%;
}
.header {
  width: 100%;
  height: 6vw;
  display: flex;
  background-color: #597aac;
  justify-content: center;
  align-content: center;
  z-index: 999;
  position: fixed;
}
.header > h1 {
  font-size: 3vw;
  align-self: center;
  color: #fff;
  font-family: "M PLUS 1p";
}
.first {
  display: flex;
  justify-content: center;
}
.first > div {
  background-image: url(./images/ourassortment.png);
  width: 75vw;
  height: 40vw;
  background-size: 75vw 40vw;
  margin-top: 10vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.first > div > div {
  display: flex;
  flex-direction: row;
  margin-bottom: 2vw;
}
.first > div > div > div {
  margin-left: 1.8vw;
}
.first > div > div > img {
  width: 20vw;
  margin-left: 2vw;
}
.first > div > div > div > h1 {
  color: #323232;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 2.5vw;
  margin-bottom: 0%;
}
.first > div > div > div > h2 {
  color: #005ae2;
  font-family: "M PLUS 1p";
  font-weight: 400;
  font-size: 2.5vw;
  margin: 0%;
}
.first > div > div > div > h3 {
  color: #323232;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 1.5vw;
  margin: 0%;
}
.buttons > a {
  text-decoration: none;
}
.buttons > a > div {
  width: 18.1vw;
  height: 5vw;
  background-color: #597aac;
  margin-left: 1.5vw;
  border-radius: 0.5vw;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.buttons > div {
  width: 18.1vw;
  height: 5vw;
  background-color: #597aac;
  border-radius: 0.5vw;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.buttons > a > div > h1 {
  color: transparent;
  color: white;
  font-family: "Roboto";
  font-size: 1.7vw;
  font-weight: 400;
}
.buttons > a > div > img {
  width: 4vw;
}
.buttons > div > a > img {
  width: 4vw;
}
.fontsize {
  font-size: 2.3vw !important;
}
#avito {
  width: 5vw;
  margin-left: 4.1vw;
}
.open {
  width: 20vw;
  height: 6vw;
  background-color: #c7c7c7;
  border-radius: 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3vw;
  flex-direction: column;
}
.open > h1 {
  margin: 0% !important;
}
.open > h2 {
  margin: 0% !important;
  font-family: "Roboto";
  font-weight: 400;
}
.second {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-top: 5vw;
  margin-left: 11.5vw;
  width: 75vw;
  height: 40vw;
  background-image: url(./images/ourassortment.png);
  background-size: 75vw 40vw;
  background-repeat: no-repeat;
}
.rootblocksassortment {
  width: 67vw;
  height: 31vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-left: 3vw;
  overflow-y: scroll;
}
.block {
  display: flex;
  flex-direction: column;
  margin-left: 1vw;
  width: 20vw;
  height: 15vw;
  background-color: #ffffff;
  margin-top: 1vw;
  border-radius: 1vw;
  box-shadow: 0px 0px 20px #3f3f3f;
}
.second > h1 {
  color: #6c646f;
  font-family: "M PLUS 1p";
  font-size: 2.4vw;
}
.rootblocksassortment::-webkit-scrollbar {
  background-color: #9691a7;
  width: 1vw;
  border-radius: 100vw;
}
.rootblocksassortment::-webkit-scrollbar-thumb {
  background-color: #ffffff;
  width: 0.5vw;
  border-radius: 100vw;
  border: 0.25vw solid #9691a7;
}
.block > h1 {
  align-self: center;
  text-align: center;
  color: #383838;
  font-family: "Roboto";
  font-weight: 400;
  font-size: 1.5vw;
}
.shorttext {
  overflow-y: scroll;
  height: 3.5vw;
}
.block > img {
  width: 70%;
  align-self: center;
}
.third {
  display: flex;
  flex-direction: column;
}
.third > h1 {
  align-self: center;
  margin-top: 3vw;
  font-size: 2.6vw;
  color: #6c646f;
  font-family: "M PLUS 1p";
}
.gallery {
  margin: 0%;
  width: 60vw;
  display: flex;
  overflow-x: scroll;
}
.gallery > div {
  display: grid;
  grid-template-columns: auto auto auto;
  padding: 1vw;
  flex: none;
}
.gallery > div > img {
  width: 28vw;
  border-radius: 1vw;
}
.gallery-wrap > div::-webkit-scrollbar {
  display: none;
}
.gallery-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1vw;
}
#backBtn,
#nextBtn {
  width: 5vw;
  cursor: pointer;
  margin: 2vw;
}
.fourth > img {
  width: 100vw;
  height: 50vw;
}
.second > img {
  width: 72vw;
  margin-left: 2.5vw;
}
#five {
  height: 36vw;
  background-size: 75vw 36vw;
}
.sixth {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.sixth > h1 {
  align-self: center;
  margin-top: 3vw;
  font-size: 2.6vw;
  color: #6c646f;
  font-family: "M PLUS 1p";
}
.seventh {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.seventh > h1 {
  align-self: center;
  margin-top: 3vw;
  font-size: 2.6vw;
  color: #6c646f;
  font-family: "M PLUS 1p";
}
.reviews-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.reviews-gallery {
  display: flex;
  width: 60vw; /* Ширина видимой области (2 блока + отступы) */
  overflow: hidden;
  scroll-behavior: smooth;
  gap: 2vw;
}
.reviews-gallery > div {
  flex: 0 0 29vw; /* Ширина одного отзыва (чтобы влезало 2) */
  height: 20vw;
  border-radius: 1vw;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  background-color: #e5e5e5;
}
.reviews-gallery > div > div {
  display: flex;
  margin-top: 1vw;
  margin-left: 1vw;
  align-items: center;
}
.reviews-gallery > div > div > img {
  width: 6vw;
}
.reviews-gallery > div > div > h1 {
  font-family: "M PLUS 1p";
  color: #363636;
  margin-left: 1vw;
  font-size: 1.5vw;
}
.reviews-gallery > div > h1 {
  font-family: "Roboto";
  font-weight: 400;
  color: #363636;
  margin-left: 1.5vw;
  font-size: 1.8vw;
}
#backBtnReviews,
#nextBtnReviews {
  width: 5vw;
  cursor: pointer;
  margin: 0 2vw;
  transition: transform 0.3s;
}
/* Стили для вашего адреса */
/* Контейнер карты */
.map-container {
  width: 70vw;
  margin: 0 auto;
  border-radius: 1.5vw;
  overflow: hidden;
  box-shadow: 0 0.5vw 1.5vw rgba(0, 0, 0, 0.1);
}

/* Карта */
.map-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Кнопка */
.route-button {
  display: block;
  width: 100%;
  padding: 1.2vw;
  background: #ff0000;
  color: white;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 1.5vw;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.route-button:hover {
  background: #cc0000;
}
.footer {
  width: 100vw;
  height: 13vw;
  background-color: #597aac;
  margin-top: 5vw;
  display: flex;
  justify-content: space-between;
}
.footer > div {
  display: flex;
  flex-direction: column;
  margin-right: 15vw;
  text-align: end;
  margin-top: 2vw;
  margin-left: 49vw;
  white-space: nowrap;
}
.footer > div > a {
  font-size: 1.3vw;
  text-decoration: none;
  color: transparent;
  color: #fff;
  font-family: "Roboto";
}
.footer > div > h1 {
  font-size: 1.3vw;
  text-decoration: none;
  color: transparent;
  color: #fff;
  font-family: "Roboto";
  font-weight: 400;
  margin: 0%;
  margin-top: 0.4vw;
}
.footer > a {
  font-size: 1.3vw;
  text-decoration: none;
  color: transparent;
  color: #fff;
  font-family: "Roboto";
  font-weight: 400;
  margin-top: 9vw;
  margin-left: 15vw;
}
.imgmobile {
  display: none;
}
#mob {
  display: none;
}
#openmob {
  display: none;
}
.open > h1 {
  font-family: "Roboto";
  font-weight: 400;
  font-size: 3vw !important;
  text-align: center;
  margin: 0% !important;
}
.open > h2 {
  font-size: 1.5vw;
}
.open.open-status {
  background-color: #4caf50 !important; /* Зеленый для открыто */
}

.open.closed-status {
  background-color: #f44336 !important; /* Красный для закрыто */
}
@media screen and (max-width: 500px) {
  .header {
    height: 20vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .header > h1 {
    text-align: center;
    font-size: 5.5vw;
    white-space: nowrap;
    margin-left: 0vw;
  }
  .imgmobile {
    display: block !important;
    width: 83vw !important;
    margin-top: 2vw;
  }
  .first > div {
    margin-top: 25vw;
    width: 95vw;
    height: 110vw;
    background-size: 95vw 110vw;
    background-image: url(./images/framemob.png);
  }
  .first > div > div > div {
    margin-right: 34vw;
  }
  .first > div > div > div > h1 {
    font-size: 6vw;
    width: 50vw;
  }
  #openmob.open-status {
    background-color: #4caf50 !important;
  }

  #openmob.closed-status {
    background-color: #f44336 !important;
  }
  .first > div > div > div > h2 {
    font-size: 5.8vw;
    width: 50vw;
  }
  .first > div > div > div > h3 {
    font-size: 3vw;
    width: 45vw;
  }
  .first > div > div > img {
    display: none;
  }
  .open {
    display: none;
  }
  .reviews-gallery > div > div > h1 {
    font-size: 8vw !important;
  }
  .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3vw;
    width: 100%;
  }
  #openmob > h1 {
    font-size: 5vw !important;
    margin: 0% !important;
  }
  .buttons > a {
    margin: 0;
  }
  .fontsize {
    font-size: 4vw !important;
  }
  .buttons > a > div {
    width: 40vw;
    height: 12vw;
    margin: 0;
    justify-content: center;
    border-radius: 2vw;
  }
  .buttons > div {
    width: 40vw;
    height: 12vw;
    margin: 0 !important;
    justify-content: center;
    border-radius: 2vw;
  }

  .buttons > a > div > h1 {
    font-size: 3.8vw;
  }

  .buttons > a > div > img {
    width: 7vw;
  }
  .buttons > div > a > img {
    width: 7vw;
    margin-left: 4vw;
  }

  #avito {
    width: 12vw;
    margin-left: 0;
  }

  /* Первая строка кнопок (номер и написать) */
  .buttons > a:nth-child(),
  .buttons > div:nth-child(2) {
    order: 1;
  }

  /* Вторая строка кнопок (как доехать и значок инета) */
  .buttons > a:nth-child(3),
  .buttons > a:nth-child(4) {
    order: 2;
  }
  /* Кнопка "Открыто" */
  #openmob {
    order: 0;
    width: 25.5vw;
    height: 12vw;
    margin: 0%;
    border-radius: 2vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c7c7c7;
  }
  /* Контейнер для второй строки */
  .first > div > div:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 3vw;
  }
  #openmob > span {
    font-size: 3.5vw;
    margin-left: 33.5vw !important;
    font-family: "Roboto";
    color: #000000;
    margin: 0% !important;
  }
  .second {
    width: 96vw;
    height: 100vw;
    background-image: url(./images/ourassortment2.png);
    background-size: 96vw 100vw;
    margin-left: 1vw;
    margin-top: 10vw;
  }
  .second > h1 {
    font-size: 5vw;
  }
  .rootblocksassortment {
    width: 90vw;
    height: 82.7vw;
    margin-left: 4.6vw;
    grid-template-columns: auto auto;
  }
  .block {
    width: 40vw;
    height: 30vw;
    margin-top: 3vw;
    margin-left: 2vw;
    box-shadow: 0px 0px 10px #3f3f3f;
  }
  .block > h1 {
    font-size: 3vw;
  }
  .rootblocksassortment::-webkit-scrollbar {
    width: 2vw;
    margin-left: 10vw;
  }
  .rootblocksassortment::-webkit-scrollbar-thumb {
    border: 0.5vw solid #9691a7;
  }
  .third {
    margin-top: 5vw;
  }
  .third > h1 {
    font-size: 5vw;
  }
  .gallery {
    width: 80vw;
  }
  .gallery > div {
    margin: 0%;
  }
  .gallery > div > img {
    width: 70vw;
    height: 80vw;
    border-radius: 2vw;
  }
  .gallery-wrap > img {
    width: 10vw !important;
  }
  .fourth > img {
    display: none;
  }
  .seventh {
    margin-top: 5vw;
  }
  .seventh > h1 {
    font-size: 5vw;
  }
  .reviews-gallery {
    width: 80vw;
  }
  .reviews-gallery > div {
    height: 80vw;
    width: 80vw;
    border-radius: 5vw;
  }
  #backBtnReviews {
    width: 10vw;
    margin: 0%;
  }
  #nextBtnReviews {
    width: 10vw;
    margin: 0%;
  }
  .reviews-gallery > div > div {
    width: 80vw;
    margin-top: 5vw;
    margin-left: 5vw;
  }
  .reviews-gallery > div > div > img {
    width: 20vw;
  }
  .reviews-gallery > div > h1 {
    margin-left: 7vw;
    font-size: 6vw;
  }
  #mob {
    margin-top: 10vw;
    width: 100%;
    height: 70vw;
    display: block !important;
  }
  #five {
    width: 96vw;
    height: 100vw;
    background-image: url(./images/ourassortment2.png);
    background-size: 96vw 95vw;
    margin-left: 1vw;
  }
  #five > h1 {
    text-align: center;
    margin: 0%;
  }
  #five > img {
    display: none;
    width: 75vw;
    margin: 0%;
  }
  .sixth > h1 {
    font-size: 5vw;
  }
  .route-button {
    font-size: 4vw;
  }
  .map-container {
    width: 85vw;
  }
  .footer {
    width: 100vw;
    height: 30vw;
  }
  .footer > div {
    margin-left: 10vw;
    white-space: nowrap;
  }
  .footer > div > a {
    font-size: 4vw;
  }
  .footer > div > h1 {
    font-size: 3vw;
  }
}
