/* Wrapper */
.wss-wrapper {
    position: relative;
}

/* Feed */
.wss-feed {
    display: flex;
    gap: 16px;
    padding: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.wss-feed::-webkit-scrollbar {
    display: none;
}

/* Card */
.wss-card {
    flex: 0 0 300px;
    height: 520px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.wss-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Audio */
.wss-audio {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    border: none;
    color: #fff;
}

/* Product pill */
.wss-product {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255,255,255,.96);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.wss-product img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
}

.wss-info strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

.wss-info span {
    color: #6b46c1;
    font-weight: 600;
}

.wss-view {
    background: #6b46c1;
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
}

/* Arrows */
.wss-arrow {
    position: absolute;

    /* 🔥 Center based on card height */
    top: calc(20px + (520px / 2));
    transform: translateY(-50%);

    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
}


.wss-arrow.left {
    left: 4px;
}

.wss-arrow.right {
    right: 4px;
}
