/* "Featured in videos" (Section 4) Dedicated Styles */
.vbo-reels-section {
    margin-bottom: 36px;
    width: 100%;
    box-sizing: border-box;
}

.vbo-reels-section .vbo-section-header {
    margin: 24px 0 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vbo-reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.vbo-reel-item {
    background: #ffffff;
    border: 1px solid #e3e4e5;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vbo-reel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.vbo-reel-video-box {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #111111;
    display: block;
    cursor: pointer;
}

.vbo-reel-video-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    transition: transform 0.3s ease;
}

.vbo-reel-item:hover .vbo-reel-video-box img {
    transform: scale(1.03);
}

/* Play Icon Button */
.vbo-reel-play-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
}

.vbo-reel-video-box:hover .vbo-reel-play-icon {
    transform: scale(1.15);
    background: #0071dc;
}

/* Inline Active Player */
.vbo-inline-player-active video,
.vbo-inline-player-active iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Bottom Clickable Product Box (Direct link to Single Product Page) */
.vbo-reel-product-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    transition: background 0.2s ease;
}

.vbo-reel-product-card:hover {
    background: #f8fafc;
}

.vbo-reel-prod-thumb-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    background: #ffffff;
}

.vbo-reel-prod-thumb-box img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block;
}

.vbo-reel-prod-info {
    font-size: 12px;
    line-height: 1.3;
    overflow: hidden;
}

.vbo-reel-price {
    font-weight: 800;
    color: #2e2f32;
    margin-bottom: 2px;
}

.vbo-reel-desc {
    color: #46474a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   VERTICAL REEL POPUP MODAL (Walmart / TikTok Style)
   ========================================================================== */
.vbo-reel-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.vbo-reel-modal-overlay.active {
    display: flex;
}

.vbo-reel-modal-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 85vh;
    max-height: 680px;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.vbo-reel-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.vbo-reel-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vbo-modal-video-holder {
    flex: 1;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vbo-modal-product-bottom {
    position: absolute;
    bottom: 16px;
    left: 14px;
    right: 14px;
    z-index: 5;
}

.vbo-modal-prod-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 12px;
    text-decoration: none;
    color: #2e2f32;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    gap: 8px;
}

.vbo-modal-prod-pill .vbo-reel-product-card {
    border: none;
    padding: 0;
    background: transparent;
    flex: 1;
}

.vbo-modal-buy-btn {
    background: #0071dc;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 16px;
    white-space: nowrap;
}

/* Responsiveness */
@media (max-width: 1100px) {
    .vbo-reels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vbo-reels-grid {
        grid-template-columns: 1fr;
    }
    .vbo-reel-modal-container {
        max-width: 100%;
        height: 92vh;
        border-radius: 12px;
    }
}