.template-slider-widget-4b563f74 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Tabs Navigation */
.template-slider-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* Default center, overridable by control */
    gap: 15px;
}

.ts-tab-item {
    background: #D1880C;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px; /* Pill shape */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: none;
    flex: 0 1 auto; /* Don't stretch to full width */
    min-width: fit-content;
}

.ts-tab-item:hover {
    opacity: 0.9;
}

.ts-tab-item.active {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ts-tab-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.ts-tab-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-tab-icon svg {
    width: 20px;
    height: 20px;
}

.ts-tab-text {
    display: flex;
    flex-direction: column;
}

.ts-tab-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.ts-tab-subtitle {
    font-size: 12px;
    color: #777;
    margin-top: 3px;
    line-height: 1.2;
}

/* Swiper */
.ts-swiper-4b563f74 {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ts-swiper-4b563f74 .swiper-wrapper {
    display: flex;
}

.ts-swiper-4b563f74 .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    position: relative;
}

.ts-slide-content {
    width: 100%;
}

.template-slider-empty {
    padding: 40px;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
    color: #999;
}

/* Responsive Tabs for Mobile (Horizontal Scroll) */
@media (max-width: 767px) {
    .template-slider-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
        padding-bottom: 5px; /* prevent shadow cutoff */
        justify-content: flex-start !important; /* Force start on mobile for scroll */
    }
    
    .template-slider-tabs-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .ts-tab-item {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}