/* Drink thumbnails + lightbox — shared across main page, menu page, divination */

.drink-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  cursor: zoom-in;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
  vertical-align: middle;
}
.drink-thumb:hover,
.drink-thumb:focus-visible {
  transform: scale(1.06);
  border-color: rgba(220, 193, 94, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 0 12px rgba(220, 193, 94, 0.18);
  outline: none;
}

/* Menu row layout: when a thumb is present, switch alignment from baseline
   to flex-start so the image doesn't push text around. The existing
   .menu-item rule already supplies display:flex / justify-content:space-between. */
.menu-item.menu-item-with-thumb {
  align-items: flex-start;
}
.menu-item-thumb-wrap {
  padding-top: 2px;
  flex-shrink: 0;
}

/* Main-page menu overlay (app.js) uses a different structure where the
   description sits as a sibling of the name/price row. Wrap the whole
   entry so the thumb spans both. */
.menu-entry-with-thumb {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(212, 180, 88, 0.07);
}
.menu-entry-with-thumb:last-child { border-bottom: none; }
.menu-entry-with-thumb .menu-entry-text {
  flex: 1;
  min-width: 0;
}
.menu-entry-with-thumb .menu-item {
  border-bottom: none;
  padding: 0;
}
.menu-entry-with-thumb .menu-item-desc {
  margin-top: 0.1rem;
}

/* Lightbox */
.drink-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(8, 7, 12, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
  pointer-events: none;
  cursor: zoom-out;
}
.drink-lightbox.active {
  background: rgba(8, 7, 12, 0.92);
  pointer-events: all;
}
.drink-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  max-height: 85dvh;
  border-radius: 6px;
  border: 2px solid rgba(201, 168, 76, 0.35);
  box-shadow:
    0 15px 60px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(201, 168, 76, 0.08);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  object-fit: contain;
  cursor: zoom-out;
}
.drink-lightbox.active .drink-lightbox-img {
  transform: scale(1);
  opacity: 1;
}

@media (max-width: 600px) {
  .drink-thumb {
    width: 44px;
    height: 44px;
  }
}
