.elementor-kit-2887{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-2887 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1200px;}.e-con{--container-max-width:1200px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */<!-- PESTAÑAS (TABS) -->
<div class="tabs-motos">
    <div class="tab active" data-show="sliderSR">SR</div>
    <div class="tab" data-show="sliderATV">ATV</div>
    <div class="tab" data-show="sliderMT">MT</div>
    <div class="tab" data-show="slidersxs">SXS</div>
    <div class="tab" data-show="slidercl">CL</div>
</div>

<!-- ESTILOS (CSS) -->
<style>
/* TABS Y CONTENEDOR */
.tabs-motos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 50;
    border: none !important;
    background: transparent !important;
}

.tab {
    cursor: pointer;
    font-size: 28px;
    font-weight: 700;
    color: #666;
    transition: all .3s ease;
    position: relative;
    letter-spacing: 1px;
    white-space: nowrap;
    
    /* 🛑 ELIMINACIÓN TOTAL DE BORDES, CURSORES Y LÍNEAS 🛑 */
    border: 0 !important;
    border-right: none !important;
    border-left: none !important;
    outline: none !important;
    box-shadow: none !important;
    caret-color: transparent !important;
    -webkit-user-select: none !important; 
    -moz-user-select: none !important; 
    -ms-user-select: none !important; 
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.tab:hover,
.tab.active {
    color: #00d9ff;
}

.tab::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 2px;
    background: #00d9ff;
    transition: .3s ease;
}

.tab.active::after {
    width: 100%;
}

/* OCULTAR SLIDERS INICIALMENTE */
#sliderATV,
#sliderMT,
#slidersxs,
#slidercl {
    display: none;
}

#sliderSR {
    display: block;
}

/* RESPONSIVE MÓVILES */
@media (max-width: 768px) {
    .tabs-motos {
        gap: 18px;
        margin-bottom: 25px;
        flex-wrap: nowrap; /* Mantiene todo en una sola línea ordenada */
        max-width: 100%;
        overflow-x: auto; /* Permite scroll horizontal si no cabe en pantallas muy angostas */
        -webkit-overflow-scrolling: touch;
    }

    .tabs-motos::-webkit-scrollbar {
        display: none; /* Oculta la barra de scroll en móviles */
    }

    .tab {
        font-size: 18px;
        border: none !important;
        border-right: none !important;
    }

    /* Anula cualquier pseudoelemento extra de Elementor en el último ítem */
    .tabs-motos .tab:last-child,
    .tabs-motos .tab:last-child::before,
    .tabs-motos .tab:last-child::after {
        border-right: none !important;
    }
}
</style>

<!-- LÓGICA CON JQUERY -->
<script>
jQuery(document).ready(function($) {
    var sliderIds = ['#sliderSR', '#sliderATV', '#sliderMT', '#slidersxs', '#slidercl'];

    // Ocultar todos y mostrar solo sliderSR al inicio
    $(sliderIds.join(', ')).hide();
    $('#sliderSR').show();

    // Evento Hover / Tap
    $('.tabs-motos .tab').on('mouseenter click touchstart', function(e) {
        var targetId = '#' + $(this).attr('data-show');

        $('.tabs-motos .tab').removeClass('active');
        $(this).addClass('active');

        $(sliderIds.join(', ')).hide();
        $(targetId).fadeIn(200);
    });
});
</script>/* End custom CSS */