.img-responsive {
  max-width: 100%;
  height: auto;
}

.plant-popup {
  background-color: var(--color-neutral-0);
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  z-index: 3000;
  max-height: 400px;
  width: 300px;
  overflow-y: auto;
}

.plant-popup ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.plant-popup li {
  padding: 5px 0;
  cursor: pointer;
}

.plant-popup li:hover {
  background-color: var(--color-neutral-100);
}

.plant-popup a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.plant-popup img.plant-thumbnail {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  object-fit: cover;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.column {
  flex: 1;
  padding: 10px;
}

.bold {
  font-weight: bold;
}

.show-only-available {
  margin-left: 5px;
  font-weight: bold;
}

hr.show-only-available {
  width: 100%;
}

.only_available_shown {
  display: none;
}

/* Media query for wide screens */
@media (min-width: 768px) {
  .row {
    max-width: 1200px;
    margin: 0 auto;
  }

  .column {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .column.span-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.plant-thumbnail {
  position: relative;

  img {
    width: 100%;
  }

  img.pointer {
    cursor: pointer;
  }

  .plant-unavailable {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 8px;
    color: var(--color-neutral-0);
    background: var(--color-red);
    border-radius: var(--border-radius);

    &.fa-triangle-exclamation { background: var(--color-yellow); }
  }

  .whishlist-toggle {
    position: absolute;
    top: 4px;
    left: 4px;

    i {
      cursor: pointer;
      padding: 8px;
      background: var(--color-green-light);
      border-radius: var(--border-radius);
      color: var(--color-green-dark);
      opacity: 0;

      &:hover,
      &.fa-solid { opacity: 1; }
    }
  }

  .plant-bottom {
    position: absolute;
    bottom: 3px;
    color: var(--color-green-dark);
    font-size: 20px;
    font-weight: 500;
    background: rgba(255, 255, 255, .75);
    width: 100%;
    padding: 6px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .only_available_shown {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 20px;
  }

  .plant-thumbnail .plant-unavailable {
    right: 20px;
  }
}

.plant-details .plant-thumbnail {
  width: 240px;
  margin-bottom: 10px;

  .whishlist-toggle i { opacity: 1; }
}

.glightbox-clean .gslide-title {
  color: #fff;
  text-align: center;
}

.glightbox-clean .gslide-description {
  background-color: rgba(0, 0, 0, 0);
}
