/* ============================================================
   CHEVRONS DE LAS TABS (solo hasta 767px)
   ============================================================ */
.tabs-scroll-wrapper {
    position: relative;
}

.tabs-chevron {
    display: none;
}

@media (max-width: 767.98px) {
    .tabs-chevron {
        display: flex;
        position: absolute;
        top: 0;
        z-index: 2;
        align-items: center;
        width: 40px;
        height: 48px;               /* 50px de la tab - 2px del subrayado: no lo tapa */
        padding: 0;
        border: 0;
        cursor: pointer;
        opacity: 1;
        visibility: visible;
        transition: opacity .2s ease, visibility .2s ease;
    }

    .tabs-chevron.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Fundido para que las tabs no se corten en seco.
       Cambia #FFF si el fondo de la sección no es blanco. */
    .tabs-chevron--prev {
        left: 0;
        justify-content: flex-start;
        background: linear-gradient(to right, #FFF 55%, rgba(255, 255, 255, 0));
    }

    .tabs-chevron--next {
        right: 0;
        justify-content: flex-end;
        background: linear-gradient(to left, #FFF 55%, rgba(255, 255, 255, 0));
    }

    /* Icono chevron con máscara SVG: el color se controla con background-color */
    .tabs-chevron::before {
        content: '';
        width: 24px;
        height: 24px;
        background-color: #2F6852;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    /* El de la izquierda es el mismo icono volteado */
    .tabs-chevron--prev::before {
        transform: scaleX(-1);
    }

    .tabs-chevron:focus-visible {
        outline: 2px solid #00A443;
        outline-offset: -2px;
    }
}
