.sopan-pg-gallery {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.sopan-pg-main img {
    width: 100%;
    height: auto;
    border: 2px solid #ccc;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.sopan-pg-thumbs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.sopan-pg-thumb {
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 10px);
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease;
}
.sopan-pg-thumb:hover,
.sopan-pg-thumb.active-thumb {
    border-color: #0073aa;
}
