/* assets/short-video-list.css */
.f-short-video-list__wrapper .short-video-box {
    width: 100%;
    font-weight: 400;
}

.f-short-video-list__wrapper .short-video-box__container {
    margin: 0 auto;
    position: relative;
}

.f-short-video-list__wrapper .short-video-box__title {
    margin-bottom: 25px;
    font-size: 24px;
}

.f-short-video-list__wrapper .short-video-box__swiper {
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
}

.f-short-video-list__wrapper .short-video-box__swiper .swiper-slide {
    position: relative;
    height: 400px;
    width: 240px;
    cursor: pointer;
    background: linear-gradient(-90deg, #eee, #ccc);
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
}

@media (max-width: 769px) {
    .f-short-video-list__wrapper .short-video-box__swiper {
        display: none;
    }
}

.f-short-video-list__wrapper .short-video-box__cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-short-video-list__wrapper .short-video-box__play-icon {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.f-short-video-list__wrapper .short-video-box__shop-icon {
    position: absolute;
    z-index: 3;
    right: 17px;
    top: 17px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FFFFFF;
}

.f-short-video-list__wrapper .short-video-box__short-video-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;
    background-color: transparent;
}

/* 移动端样式 */
.f-short-video-list__wrapper .short-video-box__video-section {
    display: none;
    border-radius: 6px;
    overflow: hidden;
}

@media (max-width: 769px) {
    .f-short-video-list__wrapper .short-video-box__video-section {
        display: block;
    }
}

.f-short-video-list__wrapper .short-video-box__center-img {
    position: relative;
    cursor: pointer;
    background: linear-gradient(-90deg, #eee, #ccc);
    aspect-ratio: 9 / 16;
    width: 100%;
}

.f-short-video-list__wrapper .short-video-box__video-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.f-short-video-list__wrapper .short-video-box__wap-short-video-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: transparent;
}

.f-short-video-list__wrapper .short-video-box__video-header {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    width: 100%;
    z-index: 3;
    color: #fff;
    box-sizing: border-box;
}

.f-short-video-list__wrapper .short-video-box__video-header-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.f-short-video-list__wrapper .short-video-box__video-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-short-video-list__wrapper .short-video-box__video-header-volume,
.f-short-video-list__wrapper .short-video-box__fullscreen-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.f-short-video-list__wrapper .short-video-box__progress-bar {
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    left: 0;
    bottom: 0;
}

.f-short-video-list__wrapper .short-video-box__progress-bar-filled {
    height: 100%;
    width: 0%;
    background-color: #fff;
    transition: width 0.3s linear;
}

.f-short-video-list__wrapper .short-video-box__video-section .short-video-box__play-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.f-short-video-list__wrapper .short-video-box__bottom-product-list-box {
    position: absolute;
    left: 0;
    bottom: 0;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
    z-index: 3;
}

.f-short-video-list__wrapper .short-video-box__bottom-product-list-box::-webkit-scrollbar {
    display: none;
}

.f-short-video-list__wrapper .short-video-box__bottom-product-list {
    padding-inline-start: calc(50% - 120px);
    display: inline-block;
}

.f-short-video-list__wrapper .short-video-box__product-item {
    display: inline-flex;
    flex-direction: column;
    background: #404040;
    border-radius: 6px;
    overflow: hidden;
    width: 230px;
    margin: 12px 5px 20px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.f-short-video-list__wrapper .short-video-box__product-item:hover {
    transform: scale(1.02);
}

.f-short-video-list__wrapper .short-video-box__product-box {
    padding: 10px;
    display: flex;
    gap: 10px;
}

.f-short-video-list__wrapper .short-video-box__product-img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.f-short-video-list__wrapper .short-video-box__product-img img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.f-short-video-list__wrapper .short-video-box__product-info {
    flex: 1;
    font-size: 13px;
    overflow: hidden;
}

.f-short-video-list__wrapper .short-video-box__product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.f-short-video-list__wrapper .short-video-box__price {
    font-weight: 600;
    color: #ff6b6b;
}

.f-short-video-list__wrapper .short-video-box__compare_at_price {
    text-decoration: line-through;
    font-size: 12px;
    color: #949494;
}

.f-short-video-list__wrapper .short-video-box__product-button {
    height: 32px;
    background-color: #D52579;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}

.f-short-video-list__wrapper .short-video-box__scroll-button {
    position: absolute;
    z-index: 4;
    bottom: 55px;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.f-short-video-list__wrapper .short-video-box__scroll-button--left {
    left: 10px;
}

.f-short-video-list__wrapper .short-video-box__scroll-button--right {
    right: 10px;
}

.f-short-video-list__wrapper .short-video-box__wap-swiper-button-prev,
.f-short-video-list__wrapper .short-video-box__wap-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
}

.f-short-video-list__wrapper .short-video-box__wap-swiper-button-prev {
    left: 12px;
}

.f-short-video-list__wrapper .short-video-box__wap-swiper-button-next {
    right: 12px;
}

.f-short-video-list__wrapper .swiper-button-next,
.f-short-video-list__wrapper .swiper-button-prev {
    position: absolute;
    top: 50%;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.f-short-video-list__wrapper .swiper-button-next:after,
.f-short-video-list__wrapper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.short-video-fixed-mask {
    border-radius: 6px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.5);
    inset: 0px;
    justify-content: center;
    text-align: center;
    z-index: 5;
    color: #ffffff;
    flex-direction: column;

}
.short-video-fixed-mask.active {
    display: flex;
}

.short-video-fixed-mask svg {
    margin-bottom: 5px;
}

.short-video-fixed-mask .mask-text {
    line-height: 1.6;
    text-align: center;
    padding: 0 15px;
}