.ttc-section,
.ttc-section * {
    box-sizing: border-box;
}

.ttc-section {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.ttc-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 24px;
    text-align: center;
    line-height: 1;
}

.ttc-heading-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.25px;
    white-space: nowrap;
}

.ttc-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}

.ttc-heading-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.ttc-heading-line {
    width: 27px;
    height: 2px;
    flex: 0 0 27px;
}

.ttc-slider {
    position: relative;
    width: 100%;
}

.ttc-viewport {
    overflow: hidden;
    width: 100%;
}

.ttc-track {
    display: flex;
    align-items: flex-start;
    gap: 0 !important;
    will-change: transform;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

.ttc-item {
    min-width: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    outline: none;
}


.ttc-track > .ttc-item:not(:last-child) {
    margin-inline-end: var(--ttc-gap-desktop, 26px);
}

.ttc-item:focus-visible .ttc-icon-circle {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.ttc-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: 1px solid #ff6500;
    border-radius: 50%;
    color: #ff6500;
    background: transparent;
    overflow: hidden;
    margin-bottom: 7px;
    transition: transform .2s ease;
}

.ttc-item:hover .ttc-icon-circle {
    transform: translateY(-2px);
}

.ttc-icon-circle i {
    line-height: 1;
    font-size: 52px;
}

.ttc-icon-circle svg {
    width: 52px;
    height: 52px;
    fill: currentColor;
}

.ttc-icon-image {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.ttc-item-title,
.ttc-item-count {
    display: block;
    width: 100%;
}

.ttc-item-title {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.18;
    margin-top: 0;
}

.ttc-item-count {
    color: #1b1b1b;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 3px;
}

.ttc-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid #ff6500;
    border-radius: 50%;
    background: #fff;
    color: #ff6500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.ttc-slider:hover .ttc-arrow,
.ttc-arrow:focus-visible,
.ttc-slider.ttc-arrows-always .ttc-arrow {
    opacity: 1;
    visibility: visible;
}

.ttc-prev { left: var(--ttc-arrow-gap-desktop, 2px); }
.ttc-next { right: var(--ttc-arrow-gap-desktop, 2px); }

.ttc-arrow span {
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
}

.ttc-arrow[disabled] {
    opacity: .25 !important;
    cursor: default;
}

@media (max-width: 767px) {
    /* Full-bleed mobile layout: span the phone viewport even when the
       Elementor parent/container has its own horizontal padding. */
    .ttc-section.ttc-mobile-full-width {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ttc-section.ttc-mobile-full-width .ttc-slider,
    .ttc-section.ttc-mobile-full-width .ttc-viewport {
        width: 100%;
        max-width: 100%;
    }

    .ttc-track {
        gap: 0 !important;
    }

    /* Mobile spacing is calculated by JS so negative visual gap never lets
       a third card peek into the two-card viewport. */
    .ttc-track > .ttc-item:not(:last-child) {
        margin-inline-end: 0;
    }

    .ttc-item {
        transition: transform .2s ease;
    }

    .ttc-heading {
        gap: 8px;
    }

    .ttc-heading-text {
        font-size: 17px;
    }

    .ttc-heading-line {
        width: 20px;
        flex-basis: 20px;
    }

    .ttc-slider .ttc-arrow {
        opacity: 1;
        visibility: visible;
    }

    .ttc-prev { left: var(--ttc-arrow-gap-mobile, 0px); }
    .ttc-next { right: var(--ttc-arrow-gap-mobile, 0px); }
}

@media (prefers-reduced-motion: reduce) {
    .ttc-track,
    .ttc-icon-circle,
    .ttc-arrow {
        transition: none !important;
    }
}
