/* Lightbox Modal CSS - Master Mind Kitchen Equipment */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100005 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px calc(20px + env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    touch-action: pan-y;
}
.lightbox-modal.open {
    opacity: 1;
    visibility: visible;
}
.lightbox-content-wrap {
    position: relative;
    max-width: 95vw;
    max-height: 82dvh;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 100%;
    max-height: 70dvh;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    object-fit: contain;
    background: #0b1120;
}
.lightbox-caption {
    margin-top: 12px;
    color: #f1f5f9;
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    max-width: 92vw;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.lightbox-close-btn {
    position: absolute;
    top: max(14px, env(safe-area-inset-top, 14px));
    right: max(14px, env(safe-area-inset-right, 14px));
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100010 !important;
    transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close-btn:hover {
    background: #ea580c;
    transform: scale(1.08);
}
body.lightbox-active .mobile-sticky-cta-bar,
.lightbox-modal.open ~ .mobile-sticky-cta-bar {
    display: none !important;
}
