.en-product-videos {
    max-width: 1440px;
    margin: 0 auto 80px;
}

.en-product-videos__shell {
    padding: 0 48px;
}

.en-product-videos__title {
    text-align: center;
}

.en-product-videos__stage {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 16px;
}

.en-product-videos__arrow {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f5f7fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.en-product-videos__arrow img {
    width: 16px;
    height: 16px;
}

.en-product-videos__arrow.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.en-product-videos__viewport {
    overflow: hidden;
}

.en-product-videos__track {
    display: flex;
    gap: 16px;
    transition: transform 0.35s ease;
}

.en-product-videos__card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
    cursor: pointer;
}

.en-product-videos__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: 1px solid #eef1f6;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
    overflow: hidden;
}

.en-product-videos__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.en-product-videos__card h3 {
    margin: 12px 0 0;
    text-align: center;
}

.en-product-videos__overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.en-product-videos__overlay[hidden] {
    display: none !important;
}

.en-product-videos__dialog {
    width: min(1120px, 100%);
}

.en-product-videos__player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background: #000000;
    display: block;
}

@media (max-width: 1023px) {
    .en-product-videos {
        margin-bottom: 64px;
    }

    .en-product-videos__shell {
        padding: 0 32px;
    }

    .en-product-videos__card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (max-width: 799px) {
    .en-product-videos {
        width: 100%;
        margin: 0 auto 48px;
    }

    .en-product-videos__shell {
        padding: 0 16px;
    }

    .en-product-videos__title {
        text-align: left;
    }

    .en-product-videos__stage {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 8px;
    }

    .en-product-videos__arrow {
        width: 32px;
        height: 32px;
    }

    .en-product-videos__card {
        flex-basis: 100%;
    }
}
