/* ─────────────────────────────────────────────────────────────
   LSC Hero Slider v2.2.5 — CSS Frontend
   · <img srcset> real, sin background-image, sin object-fit:cover
   · Desktop: texto position:absolute encima de la imagen
   · Móvil: imagen completa arriba + texto debajo (Shopify puro)
   ───────────────────────────────────────────────────────────── */

.lsc-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

.lsc-hero-track {
    position: relative;
    width: 100%;
}

/* Slides apilados — solo is-active ocupa espacio */
.lsc-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.lsc-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

/* ── Imagen: sin recorte ── */
.lsc-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
}

/* ── Overlay (solo visible en desktop) ── */
.lsc-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.lsc-overlay-none .lsc-hero-overlay { background: transparent; }
.lsc-overlay-light .lsc-hero-overlay { background: rgba(255,255,255,var(--lsc-overlay-alpha,0.25)); }
.lsc-overlay-dark .lsc-hero-overlay { background: rgba(0,0,0,var(--lsc-overlay-alpha,0.35)); }
.lsc-overlay-gradient-left .lsc-hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,var(--lsc-overlay-alpha,0.35)) 0%, rgba(0,0,0,var(--lsc-overlay-alpha,0.35)) 50%, rgba(0,0,0,0) 100%); }
.lsc-overlay-gradient-right .lsc-hero-overlay { background: linear-gradient(270deg, rgba(0,0,0,var(--lsc-overlay-alpha,0.35)) 0%, rgba(0,0,0,var(--lsc-overlay-alpha,0.35)) 50%, rgba(0,0,0,0) 100%); }
.lsc-overlay-gradient-bottom .lsc-hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,var(--lsc-overlay-alpha,0.35)) 0%, rgba(0,0,0,var(--lsc-overlay-alpha,0.35)) 50%, rgba(0,0,0,0) 100%); }

/* ── Contenido DESKTOP: position:absolute con X/Y via CSS vars ── */
.lsc-hero-content {
    font-family: var(--lsc-font-family, inherit);
    position: absolute;
    left: var(--lsc-dx, 6%);
    top: var(--lsc-dy, 50%);
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 55%;
}

/* ── Badge ── */
.lsc-hero-badge {
    display: inline-block;
    background: var(--lsc-badge-bg, rgba(255,255,255,0.15));
    border: 1px solid var(--lsc-badge-border, rgba(255,255,255,0.5));
    color: var(--lsc-badge-text, #fff);
    font-size: calc(11px * var(--lsc-desk-badge-scale, 1));
    font-weight: var(--lsc-badge-weight, 600);
    letter-spacing: var(--lsc-badge-letter, 1px);
    padding: calc(4px * var(--lsc-desk-badge-scale, 1)) calc(14px * var(--lsc-desk-badge-scale, 1));
    border-radius: 20px;
    text-transform: var(--lsc-badge-transform, uppercase);
}

/* ── Título ── */
.lsc-hero-title {
    color: var(--lsc-title-color, #fff) !important;
    font-size: clamp(20px, 3.5vw, var(--lsc-desk-title, 56px)) !important;
    font-weight: var(--lsc-title-weight, 700) !important;
    letter-spacing: var(--lsc-title-letter, 0px) !important;
    text-transform: var(--lsc-title-transform, none) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* ── Subtítulo ── */
.lsc-hero-subtitle {
    color: var(--lsc-subtitle-color, rgba(255,255,255,0.85)) !important;
    font-size: clamp(12px, 1.4vw, var(--lsc-desk-subtitle, 18px)) !important;
    font-weight: var(--lsc-subtitle-weight, 400) !important;
    letter-spacing: var(--lsc-subtitle-letter, 0px) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* ── Botones ── */
.lsc-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.lsc-hero-btn {
    display: inline-block;
    padding: 12px 26px;
    font-size: clamp(13px, 1.3vw, var(--lsc-desk-cta, 16px)) !important;
    font-weight: var(--lsc-cta-weight, 600);
    letter-spacing: var(--lsc-cta-letter, 0px);
    text-transform: var(--lsc-cta-transform, none);
    border-radius: 6px;
    text-decoration: none !important;
    transition: opacity 0.2s, transform 0.15s;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.lsc-hero-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.lsc-btn-primary   { background: var(--lsc-cta1-bg, #d4537e); color: var(--lsc-cta1-text, #fff) !important; border: var(--lsc-cta-border-width, 0px) solid var(--lsc-cta1-border, transparent); }
.lsc-btn-secondary { background: var(--lsc-cta2-bg, rgba(255,255,255,0.1)); color: var(--lsc-cta2-text, #fff) !important; border: var(--lsc-cta-border-width, 0px) solid var(--lsc-cta2-border, rgba(255,255,255,0.65)); }

/* ── Urgencia ── */
.lsc-hero-urgency {
    color: var(--lsc-urgency-color, #fac775) !important;
    font-size: clamp(11px, 1.1vw, var(--lsc-desk-urgency, 14px)) !important;
    font-weight: var(--lsc-subtitle-weight, 500);
    letter-spacing: var(--lsc-subtitle-letter, 0px);
    margin: 0 !important;
}

/* ── Flechas ── */
.lsc-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.lsc-hero-arrow:hover { background: rgba(255,255,255,0.3); }
.lsc-hero-prev { left: 16px; }
.lsc-hero-next { right: 16px; }

/* Dots: small standard circles */
.lsc-hero-dots {
    position: absolute !important;
    bottom: 15px;
    display: flex !important;
    flex-direction: row !important;
    gap: 7px;
    z-index: 10;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.lsc-hero-slider[data-dots-position="center"] .lsc-hero-dots {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.lsc-hero-slider[data-dots-position="left"] .lsc-hero-dots {
    left: 22px;
    right: auto;
    transform: none;
}

.lsc-hero-slider[data-dots-position="right"] .lsc-hero-dots {
    left: auto;
    right: 22px;
    transform: none;
}

.lsc-hero-dot {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: var(--lsc-dots-size, 7px) !important;
    min-width: var(--lsc-dots-size, 7px) !important;
    max-width: var(--lsc-dots-size, 7px) !important;
    height: var(--lsc-dots-size, 7px) !important;
    min-height: var(--lsc-dots-size, 7px) !important;
    max-height: var(--lsc-dots-size, 7px) !important;
    border-radius: 999px !important;
    background: var(--lsc-dots-color, rgba(255,255,255,0.45)) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
    cursor: pointer;
    opacity: 0.85;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.lsc-hero-dot:hover {
    opacity: 1;
}

.lsc-hero-dot.is-active {
    background: var(--lsc-dots-active, #fff) !important;
    transform: scale(1.25);
}

/* ─────────────────────────────────────────────────────────────
   MÓVIL — Shopify puro
   Imagen completa arriba + contenido debajo
   Reset fuerte de todo lo absoluto del slider
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    .lsc-hero-slider,
    .lsc-hero-track {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: block !important;
        clear: both;
    }

    .lsc-hero-slide {
        position: absolute !important;
        inset: 0 !important;
        opacity: 0;
        pointer-events: none;
        display: block !important;
    }

    .lsc-hero-slide.is-active {
        position: relative !important;
        inset: auto !important;
        opacity: 1;
        pointer-events: auto;
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
    }

    .lsc-hero-img {
        width: 100%;
        height: auto !important;
        display: block;
        object-fit: unset !important;
    }

    .lsc-hero-overlay {
        display: none !important;
    }

    .lsc-hero-content {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        max-width: none !important;
        box-sizing: border-box;
        padding: 14px 16px 18px;
        background: #111;
        z-index: 1;
        gap: 8px;
        align-items: flex-start;
    }

    .lsc-hero-title    { font-size: var(--lsc-mob-title, 24px) !important; line-height: 1.15 !important; text-shadow: none; color: var(--lsc-title-color, #fff) !important; }
    .lsc-hero-subtitle { font-size: 13px !important; text-shadow: none; color: var(--lsc-subtitle-color, rgba(255,255,255,0.75)) !important; }
    .lsc-hero-badge    { font-size: calc(10px * var(--lsc-mob-badge-scale, .9)) !important; padding: calc(3px * var(--lsc-mob-badge-scale, .9)) calc(10px * var(--lsc-mob-badge-scale, .9)); background: var(--lsc-badge-bg, rgba(212,83,126,0.3)); border-color: var(--lsc-badge-border, rgba(212,83,126,0.6)); color: var(--lsc-badge-text, #fff) !important; }
    .lsc-hero-urgency  { font-size: 12px !important; color: var(--lsc-urgency-color, #fac775) !important; text-shadow: none; }
    .lsc-hero-btn      { font-size: 14px !important; padding: 10px 20px !important; }
    .lsc-btn-secondary { display: inline-block !important; font-size: 13px !important; padding: 10px 16px !important; }

    .lsc-mob-hide-sub .lsc-hero-subtitle    { display: none !important; }
    .lsc-mob-hide-urgency .lsc-hero-urgency { display: none !important; }

    /* Flechas y dots ocultos en móvil — el swipe táctil sigue funcionando */
    .lsc-hero-arrow,
    .lsc-hero-dots { display: none !important; }
}
/* ─────────────────────────────────────────────────────────────
   v1.7.4 — Mobile landscape correcto
   En horizontal móvil el contenido NO va debajo: va superpuesto.
   Así el bloque ocupa solo la altura real de la imagen panorámica
   y el siguiente container de Elementor empieza después del banner.
   ───────────────────────────────────────────────────────────── */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 980px),
       (orientation: landscape) and (pointer: coarse) and (max-width: 980px) {

    .lsc-hero-slider,
    .lsc-hero-track {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        clear: both !important;
        background: transparent !important;
    }

    .lsc-hero-slide {
        position: absolute !important;
        inset: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .lsc-hero-slide.is-active {
        position: relative !important;
        inset: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden !important;
        z-index: 1 !important;
    }

    .lsc-hero-img {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: unset !important;
    }

    .lsc-hero-overlay {
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    .lsc-hero-content {
        position: absolute !important;
        left: var(--lsc-mlx, var(--lsc-mx, 5%)) !important;
        right: auto !important;
        top: var(--lsc-mly, var(--lsc-my, 50%)) !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: auto !important;
        max-width: 56% !important;
        max-height: calc(100% - 18px) !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        background: transparent !important;
        z-index: 3 !important;
        gap: 5px !important;
        align-items: flex-start !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .lsc-hero-title {
        font-size: clamp(16px, 3.2vw, 23px) !important;
        line-height: 1.05 !important;
        margin: 0 !important;
        text-shadow: 0 2px 10px rgba(0,0,0,.65) !important;
    }

    .lsc-hero-subtitle {
        font-size: clamp(10px, 1.7vw, 12px) !important;
        line-height: 1.15 !important;
        margin: 0 !important;
        text-shadow: 0 1px 6px rgba(0,0,0,.6) !important;
    }

    .lsc-hero-badge {
        font-size: calc(8px * var(--lsc-mob-badge-scale, .9)) !important;
        line-height: 1 !important;
        padding: calc(3px * var(--lsc-mob-badge-scale, .9)) calc(8px * var(--lsc-mob-badge-scale, .9)) !important;
    }

    .lsc-hero-urgency {
        font-size: 10px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        text-shadow: 0 1px 6px rgba(0,0,0,.6) !important;
    }

    .lsc-hero-cta {
        gap: 6px !important;
    }

    .lsc-hero-btn {
        font-size: 10px !important;
        line-height: 1 !important;
        padding: 7px 10px !important;
        border-radius: 4px !important;
    }

    .lsc-btn-secondary {
        display: inline-block !important;
        font-size: 10px !important;
        padding: 7px 10px !important;
    }

    .lsc-mob-hide-sub .lsc-hero-subtitle { display: none !important; }
    .lsc-mob-hide-urgency .lsc-hero-urgency { display: none !important; }

    .lsc-hero-arrow,
    .lsc-hero-dots { display: none !important; }
}



/* ─────────────────────────────────────────────────────────────
   v1.7.7 - Fix solape con Elementor en tablet/mobile
   El hero ya mide bien; el problema era que el widget/container
   padre de Elementor puede reservar una altura inicial incorrecta.
   Estas clases las añade JS al wrapper correcto y fuerzan que Elementor
   reserve al menos la altura real del hero.
   ───────────────────────────────────────────────────────────── */
@media (pointer: coarse) and (max-width: 1180px),
       (max-width: 1024px) {
    .lsc-hero-host-widget,
    .lsc-hero-host-container,
    .lsc-hero-host-fixed {
        height: auto !important;
        min-height: var(--lsc-hero-host-height, auto) !important;
        overflow: visible !important;
        align-self: stretch !important;
        flex-basis: auto !important;
    }

    .lsc-hero-host-container {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ─────────────────────────────────────────────────────────────
   LSC DEBUG — activar con ?lsc_debug=1 siendo admin
   ───────────────────────────────────────────────────────────── */
body.lsc-debug-active .lsc-hero-slider {
    outline: 3px solid #00e5ff !important;
    outline-offset: -3px !important;
}
body.lsc-debug-active .lsc-hero-track {
    outline: 3px dashed #ffe600 !important;
    outline-offset: -7px !important;
}
body.lsc-debug-active .lsc-hero-slide.is-active {
    outline: 3px solid #00ff6a !important;
    outline-offset: -11px !important;
}
body.lsc-debug-active .lsc-hero-content {
    outline: 3px solid #ff3b8d !important;
    outline-offset: -3px !important;
}
#lsc-debug-panel {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    z-index: 2147483647 !important;
    max-height: 45vh !important;
    overflow: auto !important;
    background: rgba(0,0,0,.92) !important;
    color: #00ff6a !important;
    border: 2px solid #00e5ff !important;
    border-radius: 8px !important;
    font: 11px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.45) !important;
}
#lsc-debug-panel .lsc-debug-head {
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 6px 8px !important;
    background: #111 !important;
    border-bottom: 1px solid rgba(255,255,255,.2) !important;
}
#lsc-debug-panel .lsc-debug-head strong { margin-right: auto !important; color: #fff !important; }
#lsc-debug-panel button {
    appearance: none !important;
    border: 1px solid #00e5ff !important;
    background: transparent !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 2px 7px !important;
    font: inherit !important;
}
#lsc-debug-panel pre {
    margin: 0 !important;
    padding: 8px !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
}

body.lsc-debug-active .lsc-debug-overlap {
    outline: 4px solid #ff0000 !important;
    outline-offset: -4px !important;
}
body.lsc-debug-active .lsc-debug-overlap::before {
    content: "LSC OVERLAP" !important;
    position: fixed !important;
    left: 8px !important;
    top: 8px !important;
    z-index: 2147483646 !important;
    background: #ff0000 !important;
    color: #fff !important;
    padding: 4px 8px !important;
    font: 12px/1.2 monospace !important;
}


/* ======================================================================
   LSC Hero Slider v2.1.1 - stable 3:1 layout
   Keeps v1 admin/media workflow, but the frontend hero reserves its own
   space with CSS. The slider no longer depends on active slide/image height
   for layout in tablet portrait or mobile landscape.
   ====================================================================== */

.lsc-hero-slider {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 3 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    clear: both !important;
    contain: layout paint;
}

.lsc-hero-track {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.lsc-hero-slide,
.lsc-hero-slide.is-active {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.lsc-hero-slide {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.6s ease !important;
}

.lsc-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

.lsc-hero-img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.lsc-hero-overlay {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.lsc-hero-content {
    position: absolute !important;
    left: var(--lsc-dx, 6%) !important;
    top: var(--lsc-dy, 50%) !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 55% !important;
    max-height: calc(100% - 24px) !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
}

/* Mobile landscape and low-height devices: compact overlay content. */
@media (orientation: landscape) and (max-height: 560px),
       (orientation: landscape) and (pointer: coarse) and (max-width: 1180px) {
    .lsc-hero-slider {
        aspect-ratio: 3 / 1 !important;
        max-height: 260px !important;
    }

    .lsc-hero-content {
        left: var(--lsc-mlx, var(--lsc-mx, 5%)) !important;
        top: 50% !important;
        max-width: 56% !important;
        max-height: calc(100% - 18px) !important;
        gap: 5px !important;
    }

    .lsc-hero-title {
        font-size: clamp(16px, 3.2vw, 23px) !important;
        line-height: 1.05 !important;
        margin: 0 !important;
    }

    .lsc-hero-subtitle {
        font-size: clamp(10px, 1.7vw, 12px) !important;
        line-height: 1.15 !important;
        margin: 0 !important;
    }

    .lsc-hero-badge {
        font-size: calc(8px * var(--lsc-mob-badge-scale, .9)) !important;
        line-height: 1 !important;
        padding: calc(3px * var(--lsc-mob-badge-scale, .9)) calc(8px * var(--lsc-mob-badge-scale, .9)) !important;
    }

    .lsc-hero-urgency {
        font-size: 10px !important;
        line-height: 1.1 !important;
        margin: 0 !important;
    }

    .lsc-hero-cta {
        gap: 5px !important;
        transform: translate(var(--lsc-mob-cta-x, 0px), var(--lsc-mob-cta-y, 0px)) scale(var(--lsc-mob-cta-scale, .85)) !important;
        transform-origin: left center !important;
    }

    .lsc-hero-btn,
    .lsc-btn-secondary {
        font-size: 10px !important;
        line-height: 1 !important;
        padding: 6px 9px !important;
        border-radius: 4px !important;
    }

    .lsc-hero-arrow,
    .lsc-hero-dots { display: none !important; }
}

/* Tablet portrait: use the same stable hero box, not Elementor/image height. */
@media (min-width: 769px) and (max-width: 1180px) and (orientation: portrait) {
    .lsc-hero-slider {
        aspect-ratio: 3 / 1 !important;
    }

    .lsc-hero-content {
        left: var(--lsc-mlx, var(--lsc-mx, 5%)) !important;
        top: var(--lsc-mly, var(--lsc-my, 50%)) !important;
        transform: translate(-50%, -50%) !important;
        max-width: 60% !important;
        max-height: calc(100% - 24px) !important;
        gap: 7px !important;
    }

    .lsc-hero-title {
        font-size: clamp(22px, 4vw, 34px) !important;
        line-height: 1.08 !important;
    }

    .lsc-hero-subtitle {
        font-size: clamp(12px, 2vw, 15px) !important;
        line-height: 1.2 !important;
    }

    .lsc-hero-cta {
        transform: translate(var(--lsc-mob-cta-x, 0px), var(--lsc-mob-cta-y, 0px)) scale(var(--lsc-mob-cta-scale, .85)) !important;
        transform-origin: left center !important;
    }

    .lsc-hero-btn {
        font-size: 12px !important;
        padding: 8px 15px !important;
    }
}

/* Phone portrait: keep v1 behavior if desired, but with a hard separation. */
@media (max-width: 768px) and (orientation: portrait) {
    .lsc-hero-slider {
        aspect-ratio: auto !important;
        height: auto !important;
        overflow: visible !important;
        contain: none !important;
    }

    .lsc-hero-track {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .lsc-hero-slide {
        position: absolute !important;
        inset: 0 !important;
        height: auto !important;
    }

    .lsc-hero-slide.is-active {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        overflow: visible !important;
    }

    .lsc-hero-img {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        object-fit: unset !important;
    }

    .lsc-hero-overlay { display: none !important; }

    .lsc-hero-content {
        position: relative !important;
        inset: auto !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        padding: 12px 14px 14px !important;
        background: #111 !important;
        overflow: visible !important;
        gap: 7px !important;
    }

    .lsc-hero-title {
        font-size: var(--lsc-mob-title, 24px) !important;
        line-height: 1.08 !important;
        margin: 0 !important;
    }

    .lsc-hero-badge {
        font-size: 9px !important;
        line-height: 1 !important;
        padding: 4px 10px !important;
    }

    .lsc-hero-subtitle,
    .lsc-hero-urgency {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .lsc-hero-cta {
        gap: 6px !important;
        margin-top: 1px !important;
        transform: translate(var(--lsc-mob-cta-x, 0px), var(--lsc-mob-cta-y, 0px)) scale(var(--lsc-mob-cta-scale, .85)) !important;
        transform-origin: left center !important;
    }

    .lsc-hero-btn,
    .lsc-btn-secondary {
        font-size: 12px !important;
        line-height: 1 !important;
        padding: 8px 14px !important;
        border-radius: 5px !important;
    }
}


/* v2.2.4 - remove unwanted black frame around the hero.
   The slider shell must not paint black behind/around the image. */
.lsc-hero-slider,
.lsc-hero-track,
.lsc-hero-slide {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.lsc-hero-slider {
    line-height: 0 !important;
}

.lsc-hero-slider .lsc-hero-content,
.lsc-hero-slider .lsc-hero-arrow,
.lsc-hero-slider .lsc-hero-dots {
    line-height: normal !important;
}

.lsc-hero-img {
    display: block !important;
}
