.thm-upsells__title {
    padding: 0 50px;
    font-weight: 400;
    font-size: 22px;
    line-height: 133%;
    color: #353535;
    margin-bottom: 26px;
    letter-spacing: 0.02em;
    margin-top: 0;
}

.thm-upsells__swiper {
    position: static !important;
}

.thm-upsells__swiper-wrap {
    position: relative;
    padding: 0 50px;
}

.thm-upsells__swiper .swiper-slide {
    width: 198px;
    height: auto;
    display: flex;
}

.thm-upsells__swiper .swiper-slide .thm-shop-products-product-additional-image.product-has-image {
    display: none;
}

.thm-upsells__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 8px 8px;
}

.thm-upsells__form {
    margin: 0 !important;
}

.thm-upsells__btn-prev,
.thm-upsells__btn-next {
    cursor: pointer;
    width: 35px;
    height: 35px;
    color: #353535;
    position: absolute;
    top: 50%;
    transform: translateY(-75%);
    transition: color 0.2s;
    user-select: none;

    &.swiper-button-disabled {
        color: #CED4DA;
        user-select: none;
    }
}

.thm-upsells__btn-prev {
    left: -5px;
}

.thm-upsells__btn-next {
    right: 5px;
}

.thm-upsells__btn-prev:hover,
.thm-upsells__btn-next:hover {
    color: #2170E7;
}

.woocommerce-back-link-wrapper {
    margin-bottom: 12px;

    a#woocommerce-back-link {
        display: flex;
        width: fit-content;
        justify-content: center;
        gap: 8px;
        align-items: center;
        font-weight: 400;
        line-height: 2.1;
        font-size: 16px;
        padding: 4px 12px;
        background: transparent;
        border-radius: 100px;
        color: #9ca8b4;
        transition: all 0.2s;

        &:hover, &:focus {
            color: #2070E8;
        }
    }

    svg {
        transition: all 0.2s;
    }
}

@media (max-width: 1024px) {
    .thm-upsells__swiper .thm-shop-products-product-content-info-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        overflow: hidden;
        height: 20px;
    }
}

@media (max-width: 767px) {
    .thm-upsells__swiper .swiper-slide {
        width: 180px;
    }

    .thm-upsells__swiper-wrap {
        padding: 0;
    }

    .thm-upsells__btn-prev,
    .thm-upsells__btn-next {
        display: none;
    }

    .thm-upsells__title {
        padding: 0;
        text-wrap-style: balance;
        margin-bottom: 16px;
    }
}