/* Camera icons + plant photo popup on Current Availability */
.plant-title { display: inline; }
.plant-photo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 34px;
  height: 30px;
  margin: -6px 0 -6px 6px;
  padding: 0;
  border: 1px solid #c9d9c4;
  border-radius: 7px;
  background: var(--green-soft, #e8f0e6);
  color: var(--green, #2f5d3a);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.plant-photo-btn:hover,
.plant-photo-btn:focus-visible { background: var(--green, #2f5d3a); color: #fff; outline: none; }
.photo-hint { font-size: 0.95rem !important; color: var(--muted, #5a6156); }
.photo-hint-icon {
  display: inline-flex; vertical-align: middle; color: var(--green, #2f5d3a);
  background: var(--green-soft, #e8f0e6); border: 1px solid #c9d9c4; border-radius: 6px; padding: 2px 6px;
}

.pp-lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(14, 28, 20, 0.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 58px 12px 22px; color: #f0f1e7;
  touch-action: pan-y;
}
.pp-lightbox[hidden] { display: none; }
.pp-stage {
  position: relative; width: 100%; max-width: 1100px; flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pp-stage img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,.4);
  transition: opacity .18s ease, transform .18s ease;
  user-select: none; -webkit-user-drag: none;
}
.pp-stage img.pp-loading { opacity: .25; }
.pp-caption { margin-top: 12px; font-size: 1rem; text-align: center; color: #f0dfbd; min-height: 1.4em; }
.pp-dots { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.pp-dots[hidden] { display: none; }
.pp-dots button {
  width: 11px; height: 11px; padding: 0; border-radius: 50%;
  border: 1px solid #f0dfbd; background: transparent; cursor: pointer;
}
.pp-dots button[aria-current="true"] { background: #f0dfbd; }
.pp-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 22px;
  font: inherit; font-size: .95rem; padding: 9px 16px; cursor: pointer;
}
.pp-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 64px; border: 0; border-radius: 8px;
  background: rgba(0,0,0,.35); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.pp-nav[hidden] { display: none; }
.pp-prev { left: 8px; }
.pp-next { right: 8px; }
.pp-hint { font-size: .78rem; color: #cfd9cc; margin-top: 6px; }
.pp-hint[hidden] { display: none; }
@media (max-width: 600px) {
  .plant-photo-btn { width: 32px; height: 28px; margin-left: 5px; }
  .pp-lightbox { padding: 54px 6px 18px; }
  .pp-nav { width: 38px; height: 56px; font-size: 1.7rem; background: rgba(0,0,0,.28); }
  .pp-prev { left: 2px; }
  .pp-next { right: 2px; }
}
@media (prefers-reduced-motion: reduce) { .pp-stage img { transition: none; } }
