.ttcs-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.ttcs-carousel * {
    box-sizing: border-box;
}

.ttcs-viewport {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.ttcs-track {
    display: flex;
    align-items: center;
    gap: var(--ttcs-slide-gap, 0px);
    height: auto;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.ttcs-slide {
    flex: 0 0 auto;
    height: auto;
    position: relative;
}

.ttcs-slide-link {
    display: block;
    width: 100%;
}

.ttcs-slide-image {
    width: 100%;
    height: auto;
    display: block;
}

.ttcs-slide.ttcs-has-custom-height .ttcs-slide-link,
.ttcs-slide.ttcs-has-custom-height .ttcs-slide-image {
    height: 100%;
}

.ttcs-slide.ttcs-has-custom-height .ttcs-slide-image {
    object-fit: cover;
}

.ttcs-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.ttcs-arrow:hover,
.ttcs-arrow:focus {
    background: rgba(0, 0, 0, 0.72);
    outline: none;
}

.ttcs-arrow span {
    font-size: 44px;
    line-height: 38px;
    display: block;
    margin-top: -4px;
}

.ttcs-prev {
    left: 18px;
}

.ttcs-next {
    right: 18px;
}

.ttcs-arrow img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.ttcs-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 6;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ttcs-dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ttcs-dot.active,
.ttcs-dot:hover,
.ttcs-dot:focus {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.18);
    outline: none;
}

@media (max-width: 767px) {
    .ttcs-arrow {
        width: 38px;
        height: 38px;
    }

    .ttcs-prev {
        left: 10px;
    }

    .ttcs-next {
        right: 10px;
    }
}
