.vape-elementor-thanks {
    --thanks-item-width: 20.8333vw;
    --thanks-item-height: 26.0417vw;
    --thanks-item-hover-width: 26.3889vw;
    --thanks-item-hover-height: 33.3333vw;
    --thanks-overlay-padding: 1.3889vw;
    --thanks-overlay-font: 1.1111vw;
    --thanks-overlay-line: 1.6667vw;
    --thanks-overlay-offset: 0.5556vw;

    width: 100%;
    height: 43.4028vw;
    padding: 3.4722vw 0 0;
    background: #2ef0d6;
    overflow: hidden;
}

.vape-elementor-thanks-title {
    margin: 0 0 3.4722vw;
    height: 3.0556vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--vape-font-brand);
    font-weight: 700;
    font-size: 2.5vw;
    line-height: 3.0556vw;
    letter-spacing: 0.14em;
    color: #0d0d0d;
}

.vape-elementor-thanks-viewport {
    width: 100%;
    height: 33.3333vw;
    overflow: hidden;
}

.vape-elementor-thanks-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.vape-elementor-thanks-item {
    position: relative;
    flex: 0 0 var(--thanks-item-width);
    height: var(--thanks-item-height);
    overflow: hidden;
    transition:
        flex-basis 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.vape-elementor-thanks-item.is-hovered {
    flex-basis: var(--thanks-item-hover-width);
    height: var(--thanks-item-hover-height);
}

.vape-elementor-thanks .vape-elementor-thanks-image,
.vape-elementor-thanks .vape-elementor-thanks-placeholder {
    width: 100%;
    height: 100%;
    display: block;
}

.vape-elementor-thanks .vape-elementor-thanks-image {
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

.vape-elementor-thanks-placeholder {
    background:
        linear-gradient(135deg, rgba(143, 137, 250, 0.16), rgba(46, 240, 214, 0.18)),
        #eef3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-family: var(--vape-font-brand);
    font-size: var(--thanks-overlay-font);
    font-weight: 700;
}

.vape-elementor-thanks-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--thanks-overlay-padding);
    background: rgba(0, 0, 0, 0.28);
    color: #ffffff;
    text-align: center;
    font-family: var(--vape-font-brand);
    font-weight: 700;
    font-size: var(--thanks-overlay-font);
    line-height: var(--thanks-overlay-line);
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(var(--thanks-overlay-offset));
    transition:
        opacity 0.28s ease,
        transform 0.28s ease;
    pointer-events: none;
}

.vape-elementor-thanks-item.is-hovered .vape-elementor-thanks-overlay {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .vape-elementor-thanks {
        --thanks-item-width: 25.4vw;
        --thanks-item-height: 30vw;
        --thanks-item-hover-width: 33.2vw;
        --thanks-item-hover-height: 38.3vw;
        --thanks-overlay-padding: 2.4vw;
        --thanks-overlay-font: 1.6vw;
        --thanks-overlay-line: 2.3vw;
        --thanks-overlay-offset: 0.8vw;

        height: 52vw;
        padding-top: 5vw;
    }

    .vape-elementor-thanks-title {
        margin-bottom: 4.5vw;
        height: 4.2vw;
        font-size: 3vw;
        line-height: 4.2vw;
    }

    .vape-elementor-thanks-viewport {
        height: 38.3vw;
    }
}

@media (max-width: 768px) {
    .vape-elementor-thanks {
        --thanks-item-width: 52vw;
        --thanks-item-height: 40vw;
        --thanks-item-hover-width: 62vw;
        --thanks-item-hover-height: 50.5vw;
        --thanks-overlay-padding: 5vw;
        --thanks-overlay-font: 4vw;
        --thanks-overlay-line: 6vw;
        --thanks-overlay-offset: 1.5vw;

        height: 72vw;
        padding-top: 8vw;
    }

    .vape-elementor-thanks-title {
        margin-bottom: 6vw;
        height: 7.5vw;
        font-size: 5.2vw;
        line-height: 7vw;
    }

    .vape-elementor-thanks-viewport {
        height: 50.5vw;
    }
}