/* ==========================================================================
   SBT HERO CAROUSEL
   ==========================================================================
   ¿Qué es este archivo?
   --------------------------------------------------------------------------
   Este archivo contiene los estilos del sistema de banners SBT.

   El sistema muestra un banner principal tipo carrusel, con:
   - Slides o banners rotativos.
   - Imagen de fondo por cada slide.
   - Texto principal, descripción y botón.
   - Tabs inferiores para cambiar de banner.
   - Barra de progreso automática.
   - Botones laterales para mover los tabs.
   - Dots para navegación en pantallas pequeñas.

   --------------------------------------------------------------------------
   Archivos relacionados
   --------------------------------------------------------------------------
   Este CSS debe usarse junto con:

   - sbt.js
     Controla el cambio de slides, autoplay, tabs, dots y navegación.

   - HTML del carrusel
     Contiene la estructura del banner, los textos, imágenes y enlaces.

   --------------------------------------------------------------------------
   Nombres importantes
   --------------------------------------------------------------------------
   ID principal:
   #sbtHeroCarousel

   Prefijo de clases:
   .sbt-hero-

   Ejemplos:
   .sbt-hero-carousel
   .sbt-hero-slide
   .sbt-hero-bg
   .sbt-hero-title
   .sbt-hero-tabs
   .sbt-hero-tab
   .sbt-hero-dot

   --------------------------------------------------------------------------
   Notas de uso
   --------------------------------------------------------------------------
   - Está pensado para usarse como un banner principal por página.
   - Si hay un solo slide, los tabs, dots y botones se ocultan.
   - En pantallas pequeñas se ocultan las imágenes grandes y se usan dots.
   - El primer banner puede usar preload antes del <section> para mejorar carga.
   - Si cambias clases o el ID principal, también debes actualizar el HTML y JS.

   --------------------------------------------------------------------------
   Personalización rápida
   --------------------------------------------------------------------------
   Puedes modificar colores, alturas, ancho máximo y tamaños desde las variables
   CSS definidas en #sbtHeroCarousel.

   Ejemplos:
   --sbt-accent
   --sbt-dark
   --sbt-max-width
   --sbt-hero-image-height-desktop
   --sbt-hero-image-height-mobile
   --sbt-hero-tab-min-width

   ========================================================================== */
#sbtHeroCarousel {
    --sbt-accent: #84a7c8;
    --sbt-dark: #05070b;
    --sbt-white: #ffffff;
    --sbt-line: rgba(255, 255, 255, 0.25);
    --sbt-line-soft: rgba(255, 255, 255, 0.14);
    --sbt-max-width: 1380px;
    --sbt-font: "DM Sans", sans-serif;
    --sbt-hero-image-height-desktop: 620px;
    --sbt-hero-image-height-laptop: 540px;
    --sbt-hero-image-height-tablet: 600px;
    --sbt-hero-image-height-mobile: 540px;
    --sbt-hero-tabs-height: 118px;
    --sbt-hero-tabs-row-height: 110px;
    --sbt-hero-tabs-reserved-height: 118px;
    --sbt-slide-bg1: #000000;
    --sbt-slide-image-position: right center;
    --sbt-hero-tab-min-width: 230px;
    --sbt-hero-tab-min-width-laptop: 215px;
    --sbt-hero-tab-row-gap: 0px;
    --sbt-hero-tab-column-gap: 0px;
    --autoplay-ms: 7200ms;
    --sbt-hero-image-position-desktop: right center;
}


#sbtHeroCarousel.sbt-hero-carousel {
    font-family: "DM Sans", sans-serif;
}

#sbtHeroCarousel .sbt-hero-title {
    font-family: "Space Grotesk", sans-serif;
}

#sbtHeroCarousel .sbt-hero-eyebrow,
#sbtHeroCarousel .sbt-hero-text,
#sbtHeroCarousel .sbt-hero-secondary,
#sbtHeroCarousel .sbt-hero-btn,
#sbtHeroCarousel .sbt-hero-tab,
#sbtHeroCarousel .sbt-hero-tab-title {
    font-family: "DM Sans", sans-serif;
}

.sbt-hero-carousel {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--sbt-dark);
    isolation: isolate;
    font-family: var(--sbt-font);
    min-height: calc(var(--sbt-hero-image-height-desktop) + var(--sbt-hero-tabs-reserved-height));
    contain: layout paint style;
}

.sbt-hero-carousel[data-slide-count="1"] .sbt-hero-tabs,
.sbt-hero-carousel[data-slide-count="1"] .sbt-hero-dots {
    display: none !important;
}

.sbt-hero-stage {
    position: relative;
    height: var(--sbt-hero-image-height-desktop);
    min-height: var(--sbt-hero-image-height-desktop);
    max-height: var(--sbt-hero-image-height-desktop);
    overflow: hidden;
    background: #000000;
    contain: layout paint style;
    touch-action: pan-y;
}

.sbt-hero-track {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sbt-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background-color: var(--sbt-slide-bg1, #000000);
    transition: opacity 650ms ease, visibility 650ms ease;
}

.sbt-hero-slide[hidden] {
    display: none !important;
}

.sbt-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sbt-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right top;
    display: block;
    background: #000000;
}

.sbt-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: none;
}

.sbt-hero-shell {
    position: relative;
    z-index: 4;
    width: min(100%, var(--sbt-max-width));
    height: var(--sbt-hero-image-height-desktop);
    min-height: var(--sbt-hero-image-height-desktop);
    max-height: var(--sbt-hero-image-height-desktop);
    margin: 0 auto;
    padding: 76px 40px 72px;
    display: flex;
    align-items: center;
    overflow: hidden;
    contain: layout paint style;
}

.sbt-hero-content {
    width: min(100%, 660px);
    min-height: 360px;
    max-height: 100%;
    opacity: 1;
    transform: none;
    transition: opacity 560ms ease, transform 560ms ease;
}

.sbt-hero-carousel.is-ready .sbt-hero-slide:not(.is-active) .sbt-hero-content {
    opacity: 0;
    transform: translateY(12px);
}

.sbt-hero-carousel.is-ready .sbt-hero-slide.is-active .sbt-hero-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 110ms;
}

.sbt-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    color: var(--sbt-white);
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.sbt-hero-eyebrow::before {
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    width: 38px;
    height: 2px;
    background: var(--sbt-accent);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.sbt-hero-title {
    margin: 0;
    color: var(--sbt-white);
    font-size: clamp(44px, 5.1vw, 74px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 800;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.sbt-hero-text {
    max-width: 680px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(18px, 1.35vw, 20px);
    line-height: 1.55;
    font-weight: 700;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
}

.sbt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.sbt-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 16px 26px;
    border-radius: 0;
    background: rgba(27, 31, 39, 0.96);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.018em;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.sbt-hero-btn::after {
    content: "›";
    font-size: 22px;
    line-height: 0;
    transform: translateY(-1px);
}

.sbt-hero-btn:hover,
.sbt-hero-btn:focus-visible {
    background: var(--sbt-accent);
    color: #05101a;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.sbt-hero-secondary {
    margin-top: 44px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 800;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.58);
}

.sbt-hero-tabs {
    position: relative;
    z-index: 8;
    width: 100%;
    min-height: var(--sbt-hero-tabs-reserved-height);
    background: #000000;
    border-top: 1px solid rgba(132, 167, 200, 0.16);
    border-bottom: 1px solid rgba(132, 167, 200, 0.42);
    overflow: hidden;
    contain: layout paint style;
}

.sbt-hero-tabs-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.sbt-hero-tabs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    min-width: 100%;
    min-height: var(--sbt-hero-tabs-reserved-height);
    background: rgba(0, 0, 0, 0.78);
    overflow: hidden;
    scrollbar-width: none;
    gap: var(--sbt-hero-tab-row-gap) var(--sbt-hero-tab-column-gap);
}

.sbt-hero-tab {
    position: relative;
    min-width: var(--sbt-hero-tab-min-width);
    flex: 1 1 var(--sbt-hero-tab-min-width);
    max-width: 100%;
    border: 0;
    border-left: 3px solid var(--sbt-line);
    padding: 22px 28px;
    min-height: var(--sbt-hero-tabs-row-height);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.sbt-hero-tab:first-child {
    border-left-color: var(--sbt-line-soft);
}

.sbt-hero-tab::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--sbt-accent);
    transition: height 260ms ease;
}

.sbt-hero-tab:hover,
.sbt-hero-tab:focus-visible {
    color: #ffffff;
    background: rgba(132, 167, 200, 0.08);
    outline: none;
}

.sbt-hero-tab.is-active {
    color: #ffffff;
    background: rgba(132, 167, 200, 0.1);
}

.sbt-hero-tab.is-active::before {
    height: 100%;
}

.sbt-hero-tab-title {
    display: block;
    width: 100%;
    color: inherit;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.45;
    font-weight: 900;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    text-align: center;
}

.sbt-hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.13);
    overflow: hidden;
}

.sbt-hero-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--sbt-accent);
    transform: scaleX(0);
    transform-origin: left center;
}

.sbt-hero-tab.is-active .sbt-hero-progress span {
    animation: sbtProgress var(--autoplay-ms) linear forwards;
}

.sbt-hero-carousel.is-paused .sbt-hero-tab.is-active .sbt-hero-progress span {
    animation-play-state: paused;
}

.sbt-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 9;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 0 6px;
}

.sbt-hero-dot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sbt-hero-dot::before {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 999px;
    background: transparent;
    transition: width 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.sbt-hero-dot.is-active {
    flex-basis: 40px;
    width: 40px;
    min-width: 40px;
    background: transparent;
    border: 0;
}

.sbt-hero-dot.is-active::before {
    width: 26px;
    background: var(--sbt-accent);
    border-color: var(--sbt-accent);
}

.sbt-hero-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 360px) {
    .sbt-hero-dots {
        gap: 1px;
        padding: 0 4px;
    }

    .sbt-hero-dot {
        flex-basis: 28px;
        width: 28px;
        min-width: 28px;
        height: 28px;
        min-height: 28px;
    }

    .sbt-hero-dot.is-active {
        flex-basis: 36px;
        width: 36px;
        min-width: 36px;
    }
}
@keyframes sbtProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 1199px) {
    .sbt-hero-carousel {
        min-height: calc(var(--sbt-hero-image-height-laptop) + var(--sbt-hero-tabs-reserved-height));
    }

    .sbt-hero-stage {
        height: var(--sbt-hero-image-height-laptop);
        min-height: var(--sbt-hero-image-height-laptop);
        max-height: var(--sbt-hero-image-height-laptop);
    }

    .sbt-hero-shell {
        height: var(--sbt-hero-image-height-laptop);
        min-height: var(--sbt-hero-image-height-laptop);
        max-height: var(--sbt-hero-image-height-laptop);
        padding: 68px 34px 66px;
    }

    .sbt-hero-tabs-inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-inline: 0;
    }

    .sbt-hero-carousel {
        --sbt-hero-tab-min-width: var(--sbt-hero-tab-min-width-laptop);
    }

    .sbt-hero-tab {
        padding: 20px 22px;
    }
}

@media (max-width: 991px) {
    .sbt-hero-carousel {
        min-height: var(--sbt-hero-image-height-tablet);
    }

    .sbt-hero-stage {
        height: var(--sbt-hero-image-height-tablet);
        min-height: var(--sbt-hero-image-height-tablet);
        max-height: var(--sbt-hero-image-height-tablet);
    }

    .sbt-hero-shell {
        height: var(--sbt-hero-image-height-tablet);
        min-height: var(--sbt-hero-image-height-tablet);
        max-height: var(--sbt-hero-image-height-tablet);
        padding: 58px 28px 92px;
    }

    .sbt-hero-bg {
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: right top;
    }

    .sbt-hero-slide::before {
        background: none;
    }

    .sbt-hero-tabs {
        display: none;
    }

    .sbt-hero-dots {
        display: flex;
    }
}

@media (max-width: 767px) {
    /*
    .mockup-topbar {
        display: none;
    }

    .mockup-nav {
        min-height: 78px;
        padding: 0 18px;
    }

    .mockup-menu,
    .mockup-cta {
        display: none;
    }

    .mockup-logo {
        font-size: 34px;
    }

    .mockup-logo small {
        font-size: 14px;
    }

    .mockup-mobile-menu-icon {
        width: 28px;
        height: 20px;
        border-top: 2px solid #1f2937;
        border-bottom: 2px solid #1f2937;
        position: relative;
    }

    .mockup-mobile-menu-icon::before {
        content: "";
        position: absolute;
        left: 0;
        top: 7px;
        width: 100%;
        height: 2px;
        background: #1f2937;
    }
    */

    .sbt-hero-stage {
        height: var(--sbt-hero-image-height-mobile);
        min-height: var(--sbt-hero-image-height-mobile);
        max-height: var(--sbt-hero-image-height-mobile);
    }

    .sbt-hero-shell {
        height: var(--sbt-hero-image-height-mobile);
        min-height: var(--sbt-hero-image-height-mobile);
        max-height: var(--sbt-hero-image-height-mobile);
        padding: 48px 22px 86px;
        align-items: flex-end;
    }

    .sbt-hero-title {
        font-size: clamp(36px, 12vw, 52px);
    }

    .sbt-hero-text {
        font-size: 17px;
    }

    .sbt-hero-secondary {
        margin-top: 30px;
        font-size: 15px;
    }

    .sbt-hero-btn {
        width: 100%;
        max-width: 310px;
    }
}

@media (max-width: 480px) {
    .sbt-hero-shell {
        padding-inline: 18px;
    }

    .sbt-hero-eyebrow {
        font-size: 12px;
        padding: 0;
    }

    .sbt-hero-title {
        letter-spacing: -0.035em;
    }
}

@media (min-width: 600px) {
    .sbt-hero-bg {
        display: block;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: right top;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .sbt-hero-shell {
        padding-right: clamp(230px, 34vw, 390px);
    }

    .sbt-hero-content {
        width: 100%;
        max-width: 100%;
        min-height: 380px;
    }
}

@media (max-width: 599px) {
    .sbt-hero-bg {
        display: none !important;
    }

    .sbt-hero-shell {
        padding-right: 22px;
    }

    .sbt-hero-content {
        width: 100%;
        max-width: 100%;
        min-height: 410px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sbt-hero-slide,
    .sbt-hero-content,
    .sbt-hero-btn,
    .sbt-hero-tab,
    .sbt-hero-tab::before,
    .sbt-hero-dot,
    .sbt-hero-dot::before {
        transition: none !important;
    }

    .sbt-hero-progress span {
        animation: none !important;
    }
}


#sbtHeroCarousel {
    --sbt-hero-tabs-reserved-height: 110px;
    --sbt-hero-tab-min-width: 238px;
    --sbt-tabs-edge-control-width: 96px;
    --sbt-tabs-nav-button-size: 42px;
}

#sbtHeroCarousel .sbt-hero-tabs {
    position: relative;
    display: block;
    min-height: var(--sbt-hero-tabs-reserved-height) !important;
    overflow: hidden;
}

#sbtHeroCarousel .sbt-hero-tabs::before,
#sbtHeroCarousel .sbt-hero-tabs::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 18;
    width: var(--sbt-tabs-edge-control-width);
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
}

#sbtHeroCarousel .sbt-hero-tabs::before {
    left: 0;
    background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.92) 42%,
            rgba(0, 0, 0, 0) 100%
    );
}

#sbtHeroCarousel .sbt-hero-tabs::after {
    right: 0;
    background: linear-gradient(
            270deg,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.92) 42%,
            rgba(0, 0, 0, 0) 100%
    );
}

#sbtHeroCarousel .sbt-hero-tabs.has-left-nav::before,
#sbtHeroCarousel .sbt-hero-tabs.has-right-nav::after {
    opacity: 1;
}

#sbtHeroCarousel .sbt-hero-tabs-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-padding-left: var(--sbt-tabs-edge-control-width);
    scroll-padding-right: var(--sbt-tabs-edge-control-width);
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#sbtHeroCarousel .sbt-hero-tabs-inner::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

#sbtHeroCarousel .sbt-hero-tabs-inner::-webkit-scrollbar-track,
#sbtHeroCarousel .sbt-hero-tabs-inner::-webkit-scrollbar-thumb,
#sbtHeroCarousel .sbt-hero-tabs-inner::-webkit-scrollbar-thumb:hover {
    display: none;
    background: transparent;
}

#sbtHeroCarousel .sbt-hero-tabs-list {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: flex-start;
    width: max-content !important;
    min-width: 100%;
    min-height: var(--sbt-hero-tabs-row-height);
    overflow: visible !important;
}

#sbtHeroCarousel .sbt-hero-tab {
    flex: 0 0 var(--sbt-hero-tab-min-width) !important;
    min-width: var(--sbt-hero-tab-min-width);
    max-width: none !important;
}

#sbtHeroCarousel .sbt-hero-dots {
    display: none !important;
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button {
    position: absolute;
    top: 50%;
    z-index: 21;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--sbt-tabs-nav-button-size);
    height: var(--sbt-tabs-nav-button-size);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #000000;
    font-family: "DM Sans", sans-serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
    -webkit-tap-highlight-color: transparent;
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button:hover {
    background: #ffffff;
    color: #000000;
    outline: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button:focus {
    outline: none;
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button:focus-visible {
    background: #ffffff;
    color: #000000;
    outline: none;
    box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.42),
            0 0 0 2px rgba(255, 255, 255, 0.72),
            0 0 0 4px rgba(0, 0, 0, 0.42);
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button:active {
    transform: translateY(-50%) scale(0.96);
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button--prev {
    left: 18px;
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button--next {
    right: 18px;
}

#sbtHeroCarousel .sbt-hero-tabs-nav-button.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1199px) {
    #sbtHeroCarousel {
        --sbt-hero-tab-min-width: 225px;
        --sbt-tabs-edge-control-width: 88px;
    }
}

@media (min-width: 600px) and (max-width: 991px) {
    #sbtHeroCarousel.sbt-hero-carousel {
        min-height: calc(var(--sbt-hero-image-height-tablet) + var(--sbt-hero-tabs-reserved-height)) !important;
    }

    #sbtHeroCarousel .sbt-hero-tabs {
        display: block !important;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    #sbtHeroCarousel {
        --sbt-hero-tab-min-width: 210px;
        --sbt-tabs-edge-control-width: 72px;
        --sbt-tabs-nav-button-size: 38px;
    }

    #sbtHeroCarousel.sbt-hero-carousel {
        min-height: calc(var(--sbt-hero-image-height-mobile) + var(--sbt-hero-tabs-reserved-height)) !important;
    }

    #sbtHeroCarousel .sbt-hero-tab {
        padding: 18px 20px;
    }

    #sbtHeroCarousel .sbt-hero-tabs-nav-button {
        font-size: 19px;
    }

    #sbtHeroCarousel .sbt-hero-tabs-nav-button--prev {
        left: 12px;
    }

    #sbtHeroCarousel .sbt-hero-tabs-nav-button--next {
        right: 12px;
    }
}


@media (max-width: 599px) {
    #sbtHeroCarousel {
        --sbt-hero-tabs-reserved-height: 0px;
    }

    #sbtHeroCarousel.sbt-hero-carousel {
        min-height: var(--sbt-hero-image-height-mobile) !important;
    }

    #sbtHeroCarousel .sbt-hero-tabs {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    #sbtHeroCarousel .sbt-hero-tabs::before,
    #sbtHeroCarousel .sbt-hero-tabs::after {
        display: none !important;
        opacity: 0 !important;
    }

    #sbtHeroCarousel .sbt-hero-tabs-nav-button {
        display: none !important;
    }

    #sbtHeroCarousel .sbt-hero-dots {
        display: flex !important;
    }
}


#sbtHeroCarousel[data-slide-count="1"] {
    --sbt-hero-tabs-reserved-height: 0px;
}

#sbtHeroCarousel[data-slide-count="1"].sbt-hero-carousel {
    min-height: var(--sbt-hero-image-height-desktop) !important;
}

#sbtHeroCarousel[data-slide-count="1"] .sbt-hero-tabs,
#sbtHeroCarousel[data-slide-count="1"] .sbt-hero-dots,
#sbtHeroCarousel[data-slide-count="1"] .sbt-hero-tabs-nav-button {
    display: none !important;
}

@media (max-width: 1199px) {
    #sbtHeroCarousel[data-slide-count="1"].sbt-hero-carousel {
        min-height: var(--sbt-hero-image-height-laptop) !important;
    }
}

@media (max-width: 991px) {
    #sbtHeroCarousel[data-slide-count="1"].sbt-hero-carousel {
        min-height: var(--sbt-hero-image-height-tablet) !important;
    }
}

@media (max-width: 767px) {
    #sbtHeroCarousel[data-slide-count="1"].sbt-hero-carousel {
        min-height: var(--sbt-hero-image-height-mobile) !important;
    }
}