

/* --------------------------   header bar   ----------------------------- */

.btn-bookmark {
  width: 30px;
  height: 30px;
  background-image: url('/img/icons/noun-heart-7406370-red.svg');
  background-size: 100%;
  vertical-align: middle;
}

.btn-bookmark.bookmarked {
  background-image: url('/img/icons/noun-heart-7406370-red-filled.svg');
}


/* --------------------------   image-bar   ----------------------------- */

.image-bar .desktop-view {
  height: 500px;
}

.image-bar .desktop-view .box-grid {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.image-bar .desktop-view .box-grid .box-image:nth-child(1) {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 3;
  /* background-color: aquamarine; */
}

.image-bar .desktop-view .box-grid .box-image:nth-child(2) {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 3;
  grid-column-end: 4;
  /* background-color: red; */
}

.image-bar .desktop-view .box-grid .box-image:nth-child(3) {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 4;
  grid-column-end: 5;
  /* background-color: blueviolet; */
}

.image-bar .desktop-view .box-grid .box-image:nth-child(4) {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 3;
  grid-column-end: 4;
  /* background-color: brown; */
}

.image-bar .desktop-view .box-grid .box-image:nth-child(5) {
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 4;
  grid-column-end: 5;
  /* background-color: bisque; */
}

.image-bar .desktop-view .box-grid .box-image {
  overflow: hidden;
}

.image-bar .desktop-view .box-grid .box-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.image-bar .mobile-view {
  height: 300px;
}

.image-bar .mobile-view .swiper {
  background-image: url('/img/food-default.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-bar .mobile-view .swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.image-bar .mobile-view .swiper-pagination-fraction {
  /* background-color: #fff; */
  /* border: 1px solid #555; */
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 5px;
  width: unset;
  right: unset;
  left: 10px;
  padding: 0.2rem 1rem;
}

.image-bar button.show-all-images {
  font-size: 1.1rem;
  padding: 10px 20px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
}

.image-bar button.show-all-images .icon {
  width: 20px;
}

@media screen and (max-width: 1399px) {
  .image-bar .desktop-view {
    height: 400px;
  }
}


/* --------------------------   modal all images   ----------------------------- */

.modal-all-images img {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  border-radius: 5px;
}

/* --------------------------   main side   ----------------------------- */

/* --------------------------   floating side   ----------------------------- */

.floating-side .card {
  position: sticky;
  top: 20px;
  font-size: 1.25rem;
}

@media screen and (max-width: 991px) {
  .floating-side .card {
    position: static;
  }
  .floating-side .box-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 9999;
  }
}
