.tl-pb-widget {
    position: relative;
    width: 100%;
    height: 100%;
    --tl-pb-fade-direction: to right;
    --tl-pb-fade-start: transparent;
    --tl-pb-fade-mid: #000;
    --tl-pb-fade-end: transparent;
    --tl-pb-fade-stop: 12%;
}

.tl-pb-swiper {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 12px;
}

.tl-pb-swiper .swiper-wrapper {
    align-items: stretch;
}

.tl-pb-slide {
    height: 100%;
}

.tl-pb-cover {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    mask-repeat: no-repeat;
    min-height: 420px;
}

.tl-pb-widget.tl-pb-has-fade .tl-pb-swiper {
    -webkit-mask-image: linear-gradient(
        var(--tl-pb-fade-direction),
        var(--tl-pb-fade-start) 0,
        var(--tl-pb-fade-mid) var(--tl-pb-fade-stop),
        var(--tl-pb-fade-mid) calc(100% - var(--tl-pb-fade-stop)),
        var(--tl-pb-fade-end) 100%
    );
    mask-image: linear-gradient(
        var(--tl-pb-fade-direction),
        var(--tl-pb-fade-start) 0,
        var(--tl-pb-fade-mid) var(--tl-pb-fade-stop),
        var(--tl-pb-fade-mid) calc(100% - var(--tl-pb-fade-stop)),
        var(--tl-pb-fade-end) 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.tl-pb-background,.elementor img.tl-pb-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: var(--tl-pb-object-fit, cover);
    object-position: var(--tl-pb-object-position, center center);
    transition: transform 0.6s ease;
}

.tl-pb-widget.tl-pb-hover-zoom .tl-pb-cover:hover .tl-pb-background {
    transform: scale(1.05);
}

.tl-pb-overlay {
    position: absolute;
    inset: 0;
    display: block;
    mix-blend-mode: multiply;
}

.tl-pb-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tl-pb-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
}

.tl-pb-text {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tl-pb-title {
    margin: 0;
    font-size: clamp(26px, 2vw, 36px);
    line-height: 1.1;
}

.tl-pb-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.tl-pb-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    min-width: 160px;
    background-color: rgba(17, 17, 17, 0.6);
    padding: 20px 24px;
    border-radius: 24px;
    backdrop-filter: blur(6px);
}

.tl-pb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    background-color: #ffffff;
    color: #111111;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.tl-pb-button-label {
    display: inline-flex;
    align-items: center;
}

.tl-pb-button-arrow {
    display: inline-flex;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.tl-pb-button-arrow-media {
    display: inline-block;
    max-width: 20px;
    height: auto;
}

.tl-pb-button:hover .tl-pb-button-arrow,
.tl-pb-button:focus .tl-pb-button-arrow {
    transform: translateX(4px);
}

.tl-pb-button:hover,
.tl-pb-button:focus {
    background-color: #111111;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.tl-pb-button-link {
    text-decoration: none;
}

.tl-pb-badge {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tl-pb-price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.tl-pb-price,
.tl-pb-old-price,
.tl-pb-price-note {
    margin: 0;
}

.tl-pb-price {
    font-size: clamp(22px, 1.8vw, 30px);
    font-weight: 600;
}

.tl-pb-old-price {
    font-size: 16px;
    opacity: 0.75;
}

.tl-pb-price-note {
    font-size: 12px;
    opacity: 0.85;
}

.tl-pb-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.tl-pb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.tl-pb-nav:hover,
.tl-pb-nav:focus {
    background-color: rgba(255, 255, 255, 1);
    color: #111111;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tl-pb-nav--prev {
    left: 16px;
}

.tl-pb-nav--next {
    right: 16px;
}

.tl-pb-nav-icon {
    font-size: 18px;
    line-height: 1;
}

.tl-pb-pagination {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.tl-pb-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.55);
    opacity: 1;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.tl-pb-pagination .swiper-pagination-bullet-active {
    transform: scale(1.4);
    background-color: #ffffff;
}

@media (max-width: 1280px) {
    .tl-pb-nav--prev {
        left: 8px;
    }

    .tl-pb-nav--next {
        right: 8px;
    }
}

@media (max-width: 1024px) {
    .tl-pb-content {
        gap: 20px;
    }

    .tl-pb-text {
        max-width: 65%;
    }

    .tl-pb-nav {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 767px) {
    .tl-pb-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .tl-pb-text {
        max-width: 100%;
    }

    .tl-pb-info {
        align-items: flex-start;
    }

    .tl-pb-price-block {
        align-items: flex-start;
    }

    .tl-pb-nav {
        display: none;
    }
}


html  .tl-pb-button-link {
max-width: fit-content;
    min-width: fit-content;
}