/* Lightbox styles for product images */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease;
    z-index: 9999;
}
.lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-overlay .lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay img.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.06);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10000;
}
.menu-card__image-wrapper img {
    cursor: zoom-in;
}

/* Desktop: render the zoomed image smaller for better layout */
@media (min-width: 769px) {
    .lightbox-overlay .lightbox-content {
        max-width: 60vw;
        max-height: 80vh;
    }
    .lightbox-overlay img.lightbox-img {
        max-width: 60vw;
        max-height: 80vh;
    }
}
