/* ============================================
   STATE/LIGHTBOX_FULLSCREEN_V2.CSS
   Lightbox fullscreen untuk image preview
   SHARED untuk katalog slider + produk page
   AD LASER WON — Level 2A CBSS, SMACSS V2
   Generated: 1 Juni 2026
   ============================================ */

/* Class baru: .lb-fs (lightbox fullscreen) supaya gak konflik 
   dengan .lightbox existing dari init_index_v2.js */

.lb-fs {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
    box-sizing: border-box;
}

.lb-fs.show {
    display: flex;
    animation: lbFadeIn 0.2s ease-out;
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lb-fs-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    cursor: default;
}

.lb-fs-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
    z-index: 10001;
}

.lb-fs-close:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.6);
    transform: scale(1.1);
}

.lb-fs-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    max-width: 90%;
    text-align: center;
}

/* Cursor pointer untuk image yang clickable */
.lb-clickable {
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.lb-clickable:hover {
    opacity: 0.85;
}
