.wc-tiktok-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.wc-tiktok-video-item {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wc-tiktok-video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.wc-tiktok-video-item a {
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.wc-tiktok-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 133%; /* 4:3 Aspect ratio approx for standard videos, or 16:9 vertical (177%) */
    overflow: hidden;
    background: #222;
}

.wc-tiktok-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-tiktok-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wc-tiktok-video-item:hover .wc-tiktok-overlay {
    opacity: 1;
}

.wc-tiktok-play-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
}

.wc-tiktok-info {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #eee;
}

.wc-tiktok-title {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: inherit;
}

/* Responsiveness for smaller screens */
@media (max-width: 600px) {
    .wc-tiktok-feed-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    .wc-tiktok-title {
        font-size: 13px;
    }
}
