.cb-vshowcase {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 860px;
    background: var(--wp--preset--color--offwhite);
    color: var(--wp--preset--color--contrast);
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.cb-vshowcase,
.cb-vshowcase * {
    box-sizing: border-box;
}

/* LEFT PANEL */
.cb-vshowcase__left {
    position: relative;
    padding: 56px 48px;
    background: var(--wp--preset--color--base);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.cb-vshowcase__kicker {
    margin: 0 0 20px;
    font-size: var(--wp--preset--font-size--level-0);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wp--preset--color--primary);
    font-weight: 700;
}

.cb-vshowcase__content-track {
    flex: 1;
    position: relative;
}

.cb-vshowcase__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.cb-vshowcase__content.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cb-vshowcase__content h2 {
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--wp--preset--color--secondary);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    text-align: left;
    letter-spacing: -0.03em;
    color: var(--wp--preset--color--tertiary);
}

.cb-vshowcase__details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.cb-vshowcase__copy p {
    margin: 0 0 22px;
    font-size: var(--wp--preset--font-size--level-2);
    line-height: 1.65;
    color: var(--wp--preset--color--gray);
}

/* RIGHT PANEL */
.cb-vshowcase__right {
    position: relative;
    background: var(--wp--preset--color--tertiary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 860px;
    border: 1px solid white;
}

.cb-vshowcase__image-track {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.cb-vshowcase__image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.cb-vshowcase__image.is-active {
    opacity: 1;
    pointer-events: auto;
}

.cb-vshowcase__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: auto;
    backface-visibility: hidden;
    filter: brightness(0.98) contrast(1.03);
    transition: filter 0.3s ease;
}

.cb-vshowcase__image:hover img {
    filter: brightness(1) contrast(1.06);
}

/* THUMBNAILS */
.cb-vshowcase__thumbs {
    height: 320px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 155px;
    gap: 2px;
    background: var(--wp--preset--color--tertiary);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
}

.cb-vshowcase__thumb,
.cb-vshowcase__thumb:hover,
.cb-vshowcase__thumb:focus,
.cb-vshowcase__thumb:focus-visible,
.cb-vshowcase__thumb:active {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    outline: none !important;
    background: var(--wp--preset--color--secondary) !important;
    color: inherit !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.cb-vshowcase__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: auto;
    opacity: 0.75;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.cb-vshowcase__thumb:hover img,
.cb-vshowcase__thumb.is-active img {
    opacity: 1;
}

.cb-vshowcase__thumb:hover img {
    transform: scale(1.04);
}

.cb-vshowcase__thumb.is-active {
    box-shadow: inset 0 4px 0 var(--wp--preset--color--base) !important;
}

/* NAVIGATION BUTTONS */
.cb-vshowcase__nav {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.cb-vshowcase__nav button,
.cb-vshowcase__nav button:hover,
.cb-vshowcase__nav button:focus,
.cb-vshowcase__nav button:focus-visible,
.cb-vshowcase__nav button:active {
    appearance: none;
    -webkit-appearance: none;
    width: 48px;
    height: 48px;
    border: 0 !important;
    outline: none !important;
    background: yellow !important;
    color: black !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
    border-radius: 50% !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.cb-vshowcase__nav button {
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
    pointer-events: auto;
}

.cb-vshowcase__nav button:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.cb-vshowcase__nav button:active {
    transform: scale(0.94);
    opacity: 1;
}

.cb-vshowcase__nav button span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
}

.cb-vshowcase__prev span {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.cb-vshowcase__next span {
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* MOBILE */
@media (max-width: 768px) {
    .cb-vshowcase {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 14px;
    }

    .cb-vshowcase__left {
        padding: 28px 24px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .cb-vshowcase__content-track {
        flex: none;
        height: auto;
        min-height: unset;
    }

    .cb-vshowcase__content {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        display: none;
    }

    .cb-vshowcase__content.is-active {
        display: flex;
    }

    .cb-vshowcase__content h2 {
        text-align: left;
        margin-bottom: 18px;
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }

    .cb-vshowcase__right {
        min-height: 720px;
    }

    .cb-vshowcase__image {
        padding: 12px;
    }

    .cb-vshowcase__thumbs {
        height: 260px;
        grid-auto-rows: 125px;
        overflow-y: auto;
    }

    .cb-vshowcase__nav {
        right: 16px;
    }

    .cb-vshowcase__nav button,
    .cb-vshowcase__nav button:hover,
    .cb-vshowcase__nav button:focus,
    .cb-vshowcase__nav button:focus-visible,
    .cb-vshowcase__nav button:active {
        width: 44px;
        height: 44px;
    }
}