.lg-0e2f8aca-wrapper {
    display: flex;
    flex-direction: column;
}

.lg-0e2f8aca-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lg-0e2f8aca-title {
    margin: 0;
    padding: 0;
}

.lg-0e2f8aca-count {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
    font-weight: 600;
}

.lg-0e2f8aca-grid {
    display: grid;
}

.lg-0e2f8aca-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.lg-0e2f8aca-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.lg-0e2f8aca-item:hover img {
    transform: scale(1.05);
}

/* Lightbox styles */
.lg-0e2f8aca-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lg-0e2f8aca-lightbox.lg-0e2f8aca-lightbox-active {
    opacity: 1;
}

.lg-0e2f8aca-lightbox-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 90vh;
}

.lg-0e2f8aca-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    user-select: none;
}

.lg-0e2f8aca-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 2;
    transition: color 0.2s;
}

.lg-0e2f8aca-lightbox-close:hover {
    color: #ccc;
}

/* Navigation arrows */
.lg-0e2f8aca-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 16px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    z-index: 2;
}

.lg-0e2f8aca-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.lg-0e2f8aca-lightbox-prev {
    left: 20px;
}

.lg-0e2f8aca-lightbox-next {
    right: 20px;
}

.lg-0e2f8aca-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    font-weight: 500;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 12px;
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .lg-0e2f8aca-lightbox-img-container {
        width: 100%;
        padding: 0 10px;
    }
    
    .lg-0e2f8aca-lightbox-nav {
        background: transparent;
        font-size: 24px;
        padding: 10px;
        width: 40px;
        height: 40px;
    }
    
    .lg-0e2f8aca-lightbox-prev { left: 5px; }
    .lg-0e2f8aca-lightbox-next { right: 5px; }
}