#menu {
  padding: 0 20px;
  max-width: 640px;
  align-self: center;
}

#menu-header,
.menu-category-heading,
.like-container,
.like-button,
.most-liked {
  display: flex;
  align-items: center;
}

#menu-header {
  gap: 8px;
  flex-direction: row;

  & h2 {
    font-size: 1.25rem;
    font-weight: 500;
  }
}

#add-new-product {
  background-color: var(--green);
  color: var(--white);
  border-radius: 20px;
  height: 42px;
  padding: 10px 13px;
  font-weight: 500;
}

.menu-category-heading {
  font-size: 1.125rem;
  font-weight: 500;
  gap: 6px;
  margin-top: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(227, 230, 232);
  border-bottom-style: dashed;
  padding-bottom: 8px;

  & img {
    height: 24px;
  }
}

.menu-item {
  margin-bottom: 20px;
}

.menu-heading-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.name {
  font-size: 1.125rem;
  font-weight: 500;
  word-break: break-word;
  display: flex;
  align-items: center;
}

.price {
  font-size: 1.125rem;
  font-weight: 500;
}

.menu-item-details {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
}

.menu-image {
  width: 280px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.description {
  word-break: break-word;
  width: 280px;
}

.like-container {
  flex-wrap: wrap;
}

.like-button {
  background-color: transparent;
  border: none;
  margin-right: 8px;
  height: 42px;
  justify-content: center;
  gap: 2px;
}

.heart {
  width: 35px;
  height: 25px;
}

.like-counter {
  font-size: 1rem;
}

.most-liked {
  border: 1px solid var(--gray);
  border-radius: 5px;
  font-size: 1rem;
}

.red-heart {
  width: 20px;
  height: 20px;
  margin: 2px;
}

/* Menu modal add/edit forms begins */
.menu-form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: scroll;
}

& h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.menu-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 280px;
  overflow: scroll;
  padding-top: 16px;
}

& input,
textarea,
select {
  min-height: 42px;
}

.menu-item-price-input {
  width: 56px;
}

/* Menu turbo edit forms ends */

@media (min-width: 1024px) {
  .menu-form {
    overflow: hidden;
  }

  #menu {
    padding: 0;
  }

  #menu-header {
    & h2 {
      font-size: 1.75rem;
    }
  }

  .menu-category-heading {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 1.375rem;
    gap: 10px;

    & img {
      height: 36px;
    }
  }

  .menu-item {
    margin-bottom: 32px;
  }

  .menu-heading-container {
    .name {
      font-size: 1.25rem;
    }

    .price {
      font-size: 1.25rem;
    }
  }

  .like-container {
    .like-button {
      .like-counter {
        font-size: 1.125rem;
      }
    }

    .most-liked {
      font-size: 1.125rem;
    }
  }
}
