/*
 * Ethnic.ch - Synthweb.ch
 * V1125-PRODUCT-TITLES-02
 * Product miniature title scrolling
 */

.product-miniature .product-title.ethnic-title-scroll {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.product-miniature .ethnic-title-scroll > a {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    text-overflow: clip;
    text-align: center;
    scrollbar-width: none;
}

.product-miniature .ethnic-title-scroll > a::-webkit-scrollbar {
    display: none;
}

.product-miniature .ethnic-title-scroll .ethnic-title-track {
    display: block;
    width: max-content;
    min-width: 100%;
    max-width: none;
    white-space: nowrap;
    text-align: center;
}

.product-miniature .ethnic-title-scroll > a.ethnic-title-active {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .product-miniature .ethnic-title-scroll > a.ethnic-title-active {
        overflow-x: auto;
    }

    .product-miniature .ethnic-title-track {
        transform: none !important;
    }
}
