.pc-a03b0270-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pc-a03b0270-desc {
    margin-bottom: 20px;
}

.pc-a03b0270-layout-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pc-a03b0270-main-wrapper {
    position: relative;
    width: 100%;
}

.pc-a03b0270-main-aspect {
    width: 100%;
    position: relative;
    padding-bottom: 125%; /* 4:5 Aspect Ratio */
    overflow: visible;
    box-shadow: none !important;
}

.pc-a03b0270-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    box-shadow: none !important;
    touch-action: pan-y; /* Pozwala na przewijanie strony w pionie, ale przechwytuje poziomy swipe */
}

.pc-a03b0270-next-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pc-a03b0270-next-trigger:hover {
    transform: translateX(4px) translateY(-10px) !important;
}

.pc-a03b0270-next-trigger svg {
    display: block;
}

.pc-a03b0270-arrow-custom {
    max-width: 100%;
    height: auto;
}

.pc-a03b0270-carousel-outer {
    width: 100%;
    overflow: visible;
}

.pc-a03b0270-carousel {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0px 0px 0px 40px; /* górny=0, prawy=0, dolny=40, lewy=40 */
}

.pc-a03b0270-carousel::-webkit-scrollbar {
    display: none;
}

.pc-a03b0270-thumb-item {
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    overflow: visible;
    transform: none;
}

.pc-a03b0270-thumb-aspect {
    width: 100%;
    position: relative;
    padding-bottom: 125%; /* 4:5 Aspect Ratio */
    overflow: hidden;
}

.pc-a03b0270-thumb-aspect img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Active Class: 60% opacity, bez wysunięcia */
.pc-a03b0270-thumb-item.pc-a03b0270-active {
    opacity: 0.6 !important;
    transform: none;
}

/* Usunięto hover translateY dla mobile - miniatury się nie podnoszą */
.pc-a03b0270-thumb-item:hover {
    transform: none;
}

.pc-a03b0270-thumb-item.pc-a03b0270-active:hover {
    opacity: 0.6 !important;
    transform: none;
}

/* Telefon (<768px): tylko aktywny 60%, reszta 100% */
@media (max-width: 767px) {
    .pc-a03b0270-thumb-item {
        opacity: 1 !important;
    }
    .pc-a03b0270-thumb-item.pc-a03b0270-active {
        opacity: 0.6 !important;
    }
}

/* Tablet & Desktop layout changes */
@media (min-width: 768px) {
    .pc-a03b0270-layout-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    .pc-a03b0270-carousel-outer {
        flex: 1;
        overflow: visible;
    }

    .pc-a03b0270-carousel {
        padding: 0px 0px 0px 40px; /* BEZ paddingu z góry i z prawej */
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 550px; 
    }

    /* Active bez wysunięcia na desktop */
    .pc-a03b0270-thumb-item.pc-a03b0270-active {
        transform: none;
    }

    /* Hover: wysunięcie o 30px w lewo na desktop */
    .pc-a03b0270-thumb-item:hover {
        transform: translateX(-30px);
    }

    /* Active + Hover na desktop */
    .pc-a03b0270-thumb-item.pc-a03b0270-active:hover {
        opacity: 0.6 !important;
        transform: translateX(-30px);
    }
}

.pc-a03b0270-empty {
    padding: 30px;
    background: #f9f9f9;
    border: 1px dashed #ccc;
    text-align: center;
    color: #666;
}