
/* Kontener główny galerii */
#projector_photos.photos {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

/* 1. Główne duże zdjęcie (po lewej stronie, od góry) */
#projector_photos .photos__slider {
    order: 1 !important;
    flex: 1 1 auto !important;
    width: calc(100% - 112px) !important;
    max-height: 600px !important;
    height: 600px !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: zoom-in !important;
}

#projector_photos .photos___slider_wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

#projector_photos .photos___slider_wrapper > .photos__figure {
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

#projector_photos .photos___slider_wrapper > .photos__figure:first-child,
#projector_photos .photos___slider_wrapper > .photos__figure.active-slide {
    display: flex !important;
}

#projector_photos .photos___slider_wrapper .photos__photo {
    max-height: 570px !important;
    max-width: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    transition: transform 0.25s ease !important;
}

/* 2. Lista zdjęć po prawej pionowo */
#projector_photos #photos_nav.photos__nav {
    order: 2 !important;
    flex: 0 0 96px !important;
    width: 96px !important;
    max-height: 600px !important;
    height: 600px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 2px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
    box-sizing: border-box !important;
}

#projector_photos .photos__nav .photos__figure.--nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 88px !important;
    width: 88px !important;
    height: 88px !important;
    margin: 0 !important;
    padding: 3px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#projector_photos .photos__nav .photos__figure.--nav:hover {
    border-color: #0f172a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
}

#projector_photos .photos__nav .photos__figure.--nav:first-child,
#projector_photos .photos__nav .photos__figure.--nav.active-thumb {
    border-color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18) !important;
}

#projector_photos .photos__nav .photos__photo.--nav {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 6px !important;
}

@media (max-width: 767px) {
    #projector_photos.photos {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 4px !important;
    }
    #projector_photos .photos__slider {
        order: 1 !important;
        width: 100% !important;
        max-height: 380px !important;
        height: 380px !important;
    }
    #projector_photos #photos_nav.photos__nav {
        order: 2 !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        justify-content: flex-start !important;
    }
    #projector_photos .photos__nav .photos__figure.--nav {
        flex: 0 0 70px !important;
        width: 70px !important;
        height: 70px !important;
    }
}

/* --- 2. ELEGANCKA PREZENTACJA RAT (BEZ ROZCIĄGANIA SEKCJI) --- */
.cms-button-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cms-button-wrapper a.cms-button__link.btn {
    flex: 1 1 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 46px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cms-button-wrapper a[href*="zakupy-na-raty"] {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.cms-button-wrapper a[href*="zakupy-na-raty"]:hover {
    background: #ffffff !important;
    border-color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.08) !important;
}

.cms-button-wrapper a[href*="zakupy-na-raty"]::before {
    content: '%' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.cms-button-wrapper a[href*="szybkie-zakupy"] {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

.cms-button-wrapper a[href*="szybkie-zakupy"]:hover {
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* --- 3. KARTA PARAMETRÓW TECHNICZNYCH --- */
#projector_dictionary.dictionary {
    margin-top: 18px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

#projector_dictionary .headline {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #0f172a !important;
    padding-bottom: 6px !important;
    display: inline-block !important;
}
