/* ===================================================================
   RFT Product Video Tab — single product page
   =================================================================== */

.rft-video-section { width: 100%; }

.rft-video-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}
.rft-video-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, .3);
    color: #fff;
}
.rft-video-header-text h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}
.rft-video-header-text p {
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.rft-videos-single { max-width: 100%; padding: 20px 30px 30px; box-sizing: border-box; }
.rft-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 20px 30px 30px;
    box-sizing: border-box;
}
@media (max-width: 860px) { .rft-videos-grid { grid-template-columns: 1fr; } }

.rft-video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    border: 1px solid #eee;
    transition: box-shadow .2s, transform .2s;
}
.rft-video-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

/* Featured (first) video spans full width inside grid */
.rft-videos-grid .rft-video-card:first-child {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

.rft-video-label {
    padding: 12px 16px;
    background: #f8f9fa;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid #eee;
}
.rft-video-card:first-child .rft-video-label {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    color: #fff;
    font-size: 13px;
    padding: 14px 18px;
}

/* 16:9 responsive iframe wrapper */
.rft-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}
.rft-video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

.rft-videos-single .rft-video-label { display: none; }

@media (max-width: 600px) {
    .rft-video-header { flex-direction: column; text-align: center; align-items: center; }
    .rft-videos-grid { padding: 16px; }
    .rft-videos-single { padding: 16px; }
}
