.pig-b2f7aabf-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}
.pig-b2f7aabf-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}
.pig-b2f7aabf-main-img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}
.pig-b2f7aabf-thumbs {
    width: 120px; 
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px; 
}

.pig-b2f7aabf-thumbs::-webkit-scrollbar {
    width: 6px;
}
.pig-b2f7aabf-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;
}
.pig-b2f7aabf-thumbs::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
.pig-b2f7aabf-thumbs::-webkit-scrollbar-thumb:hover {
    background: #999; 
}

.pig-b2f7aabf-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s;
    flex-shrink: 0;
}
.pig-b2f7aabf-thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.pig-b2f7aabf-thumb.active {
    border-color: #333;
}

@media (max-width: 768px) {
    .pig-b2f7aabf-wrapper {
        flex-direction: column;
    }
    .pig-b2f7aabf-thumbs {
        width: 100% !important;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding-bottom: 5px;
    }
    .pig-b2f7aabf-thumb {
        width: 80px;
    }
}