@keyframes slideshow-progress {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.slideshow .button {
    word-break: break-word;
    white-space: normal;
}

.slideshow .carousel__track {
    overflow-y: hidden;
}

.slideshow__item {
    position: relative;
    width: 100%;
}

a.slideshow__image-link {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

.slideshow__image {
    position: relative;
    width: var(--slideshow-image-width);
    height: var(--slideshow-image-height);
    aspect-ratio: var(--desktop-aspect-ratio);
}

.slideshow__image--mobile,
.slideshow__image--desktop {
    position: relative;
    z-index: 1;
    width: 100%;
}

.slideshow__image--mobile img,
.slideshow__image--desktop img {
    object-position: var(--slideshow-image-position);
}

.slideshow__image--mobile img,
.slideshow__image--mobile svg,
.slideshow__image--desktop img,
.slideshow__image--desktop svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow__image--mobile {
    display: none;
}

.slideshow__image--desktop {
    display: block;
    height: var(--desktop-height);
}

.slideshow__image-container {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    z-index: 3;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.slideshow__image-mask {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-color: rgba(0,
            0,
            0,
            calc(var(--slideshow-image-mask-opacity) / 100));
    transform: translate(-50%, -50%);
}

.slideshow__group {
    position: relative;
    z-index: 3;
}

.slideshow__group>* {
    pointer-events: auto;
}

.slideshow__pager {
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 50%;
    z-index: 3;
    display: flex;
    gap: 6px;
    align-items: center;
    transform: translate(-50%, 0);
}

.slideshow__pager--dots {
    inset-block-end: 20px;
}

.slideshow__pager--dot {
    display: block;
    width: 6px;
    height: 6px;
    padding: 0;
    cursor: pointer;
    background-color: #fff;
    border: 0;
    border-radius: 50%;
    opacity: 0.4;
    transition: opacity, width, height, 0.3s;
}

.slideshow__pager--dot.is-active {
    width: 10px;
    height: 10px;
    opacity: 1;
}

.slideshow__pager--progresses {
    gap: 10px;
}

.slideshow__pager--progress {
    display: block;
    width: 120px;
    height: 6px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background-color: rgb(255 255 255 / 50%);
    border: 0;
}

.slideshow__pager--progress.is-active {
    opacity: 1;
}

.slideshow__pager--progress.is-active .slideshow__pager--progress-inner {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    animation: slideshow-progress var(--slideshow-speed, 0s) linear forwards;
}

.slideshow__pager--progress.is-active .slideshow__pager--progress-inner-static {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.slideshow__pager--arrows {
    inset-block-end: 20px;
    inset-inline: auto 40px;
    width: fit-content;
}

.slideshow__pager--arrow {
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    background-color: #fff;
    filter: drop-shadow(0 4px 10px rgb(0 0 0 / 15%));
    border: 0;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.slideshow__pager--arrow:hover,
.slideshow__pager--arrow:focus-visible,
.slideshow__pager--arrow:active {
    background-color: #ebebeb;
}

.slideshow__pager--arrow[name="previous"] {
    transform: rotate(90deg);
}

.slideshow__pager--arrow[name="next"] {
    transform: rotate(-90deg);
}

.slideshow__autoplay-icon {
    display: block;
}

.slideshow__autoplay {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 50%;
}

.slideshow__autoplay--progress {
    position: absolute;
    inset-block-end: 20px;
    inset-inline-start: 40px;
    z-index: 3;
    width: 48px;
    height: 48px;
    background: rgb(255 255 255 / 10%);
    transition: background-color 0.2s;
}

.slideshow__autoplay--progress:hover,
.slideshow__autoplay--progress:focus-visible {
    background: rgb(255 255 255 / 20%);
}

.slideshow__autoplay--progress:active {
    background: rgb(255 255 255 / 10%);
}

.slideshow__autoplay--progress .slideshow__autoplay-icon {
    width: 18px;
    height: 18px;
}

.slideshow__autoplay--arrow {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 10px rgb(0 0 0 / 15%));
}

.slideshow__autoplay--dot {
    width: 24px;
    height: 24px;
    color: rgb(255 255 255 / 60%);
    border-radius: 0;
}

.slideshow__autoplay--dot:hover,
.slideshow__autoplay--dot:focus-visible {
    color: #fff;
}

.slideshow__autoplay--dot .slideshow__autoplay-icon {
    width: 14px;
    height: 14px;
}

.slideshow__image-text-mask {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    display: block;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.slideshow__image-text-mask-deep {
    background: radial-gradient(77.64% 77.64% at 50% 50%,
            rgb(0 0 0 / 30%) 59.64%,
            rgb(0 0 0 / 0%) 100%);
    filter: blur(120px);
    border-radius: 50%;
}

.slideshow__image-text-mask-light {
    background: radial-gradient(77.64% 77.64% at 50% 50%,
            rgb(255 255 255 / 30%) 59.64%,
            rgb(255 255 255 / 0%) 100%);
    filter: blur(120px);
    border-radius: 50%;
}

@media (max-width: 959px) {
    .slideshow--overlap-text .slideshow__pager--progress {
        background-color: rgb(0 0 0 / 40%);
    }

    .slideshow--overlap-text .slideshow__pager--progress.is-active .slideshow__pager--progress-inner {
        background-color: rgb(0 0 0);
    }

    .slideshow--overlap-text .slideshow__pager--dot {
        background-color: rgb(0 0 0 / 40%);
    }

    .slideshow--overlap-text .slideshow__image-container {
        position: unset;
        inset-block-start: 0;
        inset-inline-start: 0;
        width: calc(100vw - 40px);
        height: auto;
        margin: auto;
        margin-block: -46px 50px;
        transform: unset;
    }

    .slideshow--overlap-text .slideshow__image-container .slideshow__group {
        background-color: var(--text-background-color);
    }

    .slideshow--text-below .slideshow__image-container {
        position: unset;
        inset-block-start: 0;
        inset-inline-start: 0;
        width: auto;
        height: auto;
        transform: unset;
    }

    .slideshow--text-below .slideshow__image-container .slideshow__group {
        background-color: var(--text-background-color);
    }

    .slideshow__image {
        aspect-ratio: var(--mobile-aspect-ratio);
    }

    .slideshow__image--mobile {
        display: block;
        height: var(--mobile-height);
    }

    .slideshow__image--desktop {
        display: none;
    }

    .slideshow__pager--progress {
        width: 60px;
    }

    .slideshow__pager--arrows {
        inset-block-end: 30px;
        inset-inline: auto 30px;
    }

    .slideshow__pager--arrow {
        width: 32px;
        height: 32px;
    }

    .slideshow__pager--arrow svg {
        width: 10px;
        height: 10px;
    }

    .slideshow__autoplay--progress {
        inset-block-end: 20px;
        inset-inline-start: 20px;
        width: 36px;
        height: 36px;
    }

    .slideshow__autoplay--progress .slideshow__autoplay-icon {
        width: 14px;
        height: 14px;
    }

    .slideshow__autoplay--arrow {
        width: 32px;
        height: 32px;
    }

    .slideshow__autoplay--dot {
        width: 20px;
        height: 20px;
    }

    .slideshow__autoplay--dot .slideshow__autoplay-icon {
        width: 12px;
        height: 12px;
    }
}

/* 24-inch Portable TV: keep the showcase slide readable on mobile. */
@media (max-width: 959px) {
    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__item {
        height: auto !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image-container {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        background: #172638 !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__group {
        width: 100% !important;
        height: auto !important;
        padding: 24px 20px 28px !important;
        align-items: flex-start !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .block-heading {
        width: 100% !important;
        font-size: 28px !important;
        line-height: 1.15 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .block-text {
        width: 100% !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
}

/* Join the 24-inch TV mobile showcase image and copy panel without corner gaps. */
@media (max-width: 959px) {

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image,
    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image img {
        border-radius: 12px 12px 0 0 !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image {
        overflow: hidden !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image-container {
        border-radius: 0 0 12px 12px !important;
        overflow: hidden !important;
    }
}

/* Mobile showcase cards: separate media and copy so rounded corners cannot reveal the panel. */
@media (max-width: 959px) {

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image,
    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image img {
        border-radius: 12px !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image-container {
        margin-top: 12px !important;
        border-radius: 12px !important;
    }
}

/* Final mobile showcase treatment: one connected card with clean outer corners. */
@media (max-width: 959px) {

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image,
    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image img {
        border-radius: 12px 12px 0 0 !important;
    }

    #shopline-section-template--product--24TV-1__17900911389231fa82e2 .slideshow__image-container {
        margin-top: 0 !important;
        border-radius: 0 0 12px 12px !important;
    }
}