/**
 * WooCommerce Product Sliding Notices (Swiper Ticker)
 */
.wc-product-ticker-container {
    width: 100%;
    margin: 4px 0 8px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 3px;
}

.wc-product-ticker-swiper {
    width: 100%;
    height: 26px;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .wc-product-ticker-swiper {
        height: 30px;
    }
}

.wc-product-ticker-swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    flex-direction: column;
}

.wc-product-ticker-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 3px;
    overflow: hidden;
}

.wc-ticker-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 8px;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
}

@media (min-width: 768px) {
    .wc-ticker-badge {
        font-size: 12.5px;
        gap: 7px;
    }
}

.wc-ticker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .wc-ticker-icon {
        width: 18px;
        height: 18px;
    }
}

.wc-ticker-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border: none;
    box-shadow: none;
    margin: 0 !important;
    padding: 0 !important;
}

.wc-ticker-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.2px;
}
