.gs-gallery-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.gs-menu {
    flex-shrink: 0;
    width: calc(33.333% - 40px);
    position: sticky;
    top: 20px;
}
.gs-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(220,187,66,.50);
    cursor: pointer;
    user-select: none;
}
.gs-menu-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #1E1E1E;
    font-feature-settings: 'liga' off;
    line-height: normal;
    transition: color .2s;
}
.gs-menu-item.active .gs-menu-label { color: #DCBB42; font-weight: 700; }
.gs-menu-icon { flex-shrink: 0; }

.gs-grid { flex: 1; columns: 2; column-gap: 8px; }
.gs-grid .gs-photo { break-inside: avoid; margin-bottom: 8px; display: block; width: 100%; overflow: hidden; }
.gs-grid .gs-photo img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Mobile menu */
.gs-mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.gs-mobile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(220,187,66,.50);
    cursor: pointer;
    user-select: none;
}
.gs-mobile-item .gs-menu-label { font-size: 24px; font-weight: 400; color: #1E1E1E; flex: 1; }

/* Mobile overlay */
.gs-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99999;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}
.gs-overlay.open { display: flex; }

.gs-overlay-header {
    position: sticky; top: 0; z-index: 10;
    background: #fff;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid rgba(220,187,66,.50);
}
.gs-overlay-title { font-size: 24px; font-weight: 700; color: #DCBB42; font-feature-settings: 'liga' off; }
.gs-overlay-close {
    background: none; border: none; cursor: pointer;
    padding: 8px; display: flex; align-items: center; justify-content: center;
}
.gs-overlay-body { flex: 1; overflow-y: auto; }
.gs-overlay-grid { columns: 2; column-gap: 8px; padding: 8px 0; width: 100%; box-sizing: border-box; }
.gs-overlay-grid .gs-photo { break-inside: avoid; margin-bottom: 8px; display: block; width: 100%; overflow: hidden; }
.gs-overlay-grid .gs-photo img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Lightbox */
.gs-photo { cursor: zoom-in; }

.gs-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
}
.gs-lightbox.open { display: flex; }

.gs-lb-img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gs-lb-img-wrap img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    user-select: none;
}

/* Przycisk zamknij — prostokąt z X tekstowym */
.gs-lb-close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    transition: background .2s;
    z-index: 10;
    font-family: Arial, sans-serif;
}
.gs-lb-close:hover { background: rgba(255,255,255,.3); }

/* Przyciski prev/next — strzałki tekstowe */
.gs-lb-prev,
.gs-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    width: 48px;
    height: 64px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    transition: background .2s;
    z-index: 10;
    font-family: Arial, sans-serif;
}
.gs-lb-prev { left: 12px; }
.gs-lb-next { right: 12px; }
.gs-lb-prev:hover,
.gs-lb-next:hover { background: rgba(255,255,255,.25); }

.gs-lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: rgba(0,0,0,.4);
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .gs-gallery-wrapper { display: none; }
    .gs-mobile-menu { display: flex; }
    .gs-lb-prev { left: 4px; }
    .gs-lb-next { right: 4px; }
}