/* Thumb Carousel – main layout */
.shz-tc-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Thumbnails column */
.shz-tc-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 120px;
    max-height: 500px;
    overflow-y: auto;
}

.shz-tc-thumbs img.shz-tc-thumb {
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
    object-fit: cover;
}

.shz-tc-thumbs img.shz-tc-thumb:hover {
    border-color: #0073aa;
    transform: translateY(-1px);
}

/* Main image */
.shz-tc-main {
    position: relative;
    flex: 1;
}

.shz-tc-main img.shz-tc-main-image {
    width: 100%;
    max-width: 1000px;
    border-radius: 6px;
    display: block;
    cursor: zoom-in;
}

/* Minimal arrows: only icons, no background */
.shz-tc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #ffffff;
    border: none;
    width: auto;
    height: auto;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.shz-tc-arrow.shz-tc-prev {
    left: 10px;
}

.shz-tc-arrow.shz-tc-next {
    right: 10px;
}

.shz-tc-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Lightbox overlay */
.shz-tc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.shz-tc-lightbox.shz-tc-show {
    display: flex;
}

.shz-tc-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.shz-tc-lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.shz-tc-lightbox-inner img.shz-tc-zoomed {
    transform: scale(1.7);
    cursor: zoom-out;
}

/* Close icon */
.shz-tc-lightbox-close {
    position: absolute;
    top: -30px;
    right: -5px;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .shz-tc-wrapper {
        flex-direction: column-reverse;
    }

    .shz-tc-thumbs {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .shz-tc-thumbs img.shz-tc-thumb {
        width: 80px;
        flex-shrink: 0;
    }
}
