.grid__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  flex-wrap: nowrap;
}

.grid__item-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-right: 10px;
}

.grid__item-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.grid__item-title {
  width: 100%;
  max-width: 100% !important;
}

.grid__item-weight,
.grid__item-drink,
.grid__item-time {
  margin-top: 10px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  align-self: center !important;
  width: fit-content !important;
  white-space: nowrap !important;
}

/* Две версии цены для разных экранов */
.grid__price-desktop {
  display: flex;
  white-space: nowrap;
  margin-left: 15px;
  margin-right: 15px;
  align-self: center;
  font-weight: 500;
}

.grid__price-mobile {
  display: none;
  /* Скрываем на десктопе */
  margin-top: -5px;
  white-space: nowrap;
  font-weight: 500;
}

.grid__image-block-item {
  margin-left: 15px;
  margin-right: 10px;
  max-width: 100px;
  flex-shrink: 0;
  align-self: flex-start;
}

.grid__image-no-photo {
  margin-left: auto;
  margin-right: 10px;
  width: 100px;
  height: 10px;
  flex-shrink: 0;
}

/* Стили для зумируемых изображений */
.zoomable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.zoomable-image:hover {
  transform: scale(1.05);
}

/* Стили для модального окна */
.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

/* Содержимое модального окна - изображение */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  object-fit: contain;
}

/* Текст подписи */
#modalCaption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 1001;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Адаптивность для малых экранов */
@media only screen and (max-width: 700px) {
  .modal-content {
    max-width: 90%;
  }

  .modal-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .grid__item {
    position: relative;
    min-height: 70px;
  }

  .grid__item-wrapper {
    margin-right: 110px;
    /* Создаем пространство для картинки справа */
  }

  .grid__item-content {
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
  }

  /* Переключаем отображение цены */
  .grid__price-desktop {
    display: none;
    /* Скрываем на мобильных */
  }

  .grid__price-mobile {
    display: block;
    /* Показываем на мобильных */
    text-align: left;
  }

  .grid__image-block-item {
    position: absolute;
    right: 20px;
    width: 100px;
  }

  .grid__image-no-photo {
    position: absolute;
    top: 0;
    right: 20px;
  }
}

@media (max-width: 420px) {
  .grid__item-wrapper {
    margin-right: 100px;
    /* Немного уменьшаем отступ */
  }

  .grid__image-block-item {
    width: 90px;
    max-width: 90px;
    right: 10px;
  }

  .grid__image-no-photo {
    width: 90px;
    right: 10px;
  }
}

.grid__block:not(:last-child) {
  margin-bottom: 20px;
}

.m-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: #212121;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition:
    background-color .4s ease, color .4s ease;
  height: 46px;
  font-size: 16px;
  padding: 15px 20px;
}

..m-more :hover {
  background-color: #fff;
  color: #212121;
}