.product-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.product-image-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(23, 24, 22, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(5px);
  transition: 0.2s;
}

.product-image-button:hover .zoom-hint,
.product-image-button:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}

.image-lightbox {
  width: min(94vw, 920px);
  max-width: none;
  height: min(92vh, 920px);
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #f4f3ef;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.image-lightbox::backdrop {
  background: rgba(15, 16, 14, 0.78);
  backdrop-filter: blur(6px);
}

.lightbox-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 24, 22, 0.86);
  color: #fff;
  font: 400 30px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.lightbox-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .zoom-hint {
    opacity: 1;
    transform: none;
  }

  .image-lightbox {
    width: 94vw;
    height: 82vh;
    border-radius: 18px;
  }
}
