﻿
.product-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f0 100%);
    min-height: 100vh;
}

.section-title {
    font-size: 36px;
    color: #1a1a2e;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0d6efd, #6610f2);
    border-radius: 10px;
    margin-top: 10px;
}

/* ---- Product Card ---- */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    margin: 10px 5px 30px 5px;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

/* ---- Image Section ---- */
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

    .product-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

/* Badge */
.badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0d6efd;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

    .badge-tag.sale {
        background: #dc3545;
    }

/* Overlay Icons */
.overlay-icons {
    position: absolute;
    right: -50px;
    top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.4s ease;
    z-index: 2;
}

.product-card:hover .overlay-icons {
    right: 12px;
}

.overlay-icons a {
    background: #fff;
    color: #333;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .overlay-icons a:hover {
        background: #0d6efd;
        color: #fff;
    }

/* ---- Info Section ---- */
.product-info {
    padding: 18px 20px 20px;
}

.product-category {
    font-size: 12px;
    color: #0d6efd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-name {
    font-weight: 700;
    font-size: 17px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

/* Rating */
.product-rating {
    margin-bottom: 10px;
}

    .product-rating i {
        color: #ffc107;
        font-size: 13px;
    }

    .product-rating span {
        color: #999;
        font-size: 12px;
        margin-left: 4px;
    }

/* Price */
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 20px;
    font-weight: 800;
    color: #0d6efd;
}

.old-price {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
}

.discount-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

/* Add to Cart Button */
.add-to-cart-btn {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .add-to-cart-btn:hover {
        background: linear-gradient(135deg, #0b5ed7, #520dc2);
        color: #fff;
        transform: scale(1.02);
    }

/* ---- Owl Carousel Custom Nav ---- */
.owl-theme .owl-nav button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #fff !important;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 20px !important;
    color: #333 !important;
    transition: all 0.3s ease;
}

    .owl-theme .owl-nav button:hover {
        background: #0d6efd !important;
        color: #fff !important;
    }

.owl-theme .owl-nav .owl-prev {
    left: -25px;
}

.owl-theme .owl-nav .owl-next {
    right: -25px;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #0d6efd;
    width: 30px;
}

.owl-theme .owl-dots .owl-dot span {
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* ---- Responsive ---- */
@@media (max-width: 767px) {
    .product-img-wrapper {
        height: 200px;
    }

    .section-title {
        font-size: 26px;
    }

    .owl-theme .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px !important;
    }

    .owl-theme .owl-nav .owl-prev {
        left: -10px;
    }

    .owl-theme .owl-nav .owl-next {
        right: -10px;
    }
}

<style >
.vid-featured-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
}

/* Card wrapper */
.vid-featured-card {
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

/* 16:9 ratio box */
.vid-featured-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

/* Thumbnail - absolute fill */
.vid-featured-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

    .vid-featured-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

    .vid-featured-thumbnail:hover img {
        transform: scale(1.04);
    }

/* Overlay */
.vid-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.45) );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.vid-featured-thumbnail:hover .vid-play-overlay {
    background: linear-gradient( to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.6) );
}

/* Play button */
.vid-play-btn-large {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #0d6efd;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

    .vid-play-btn-large:hover {
        transform: scale(1.1);
        background: #0d6efd;
        color: #fff;
    }

/* Duration badge */
.vid-duration-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

/* Video player - absolute fill */
.vid-featured-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

    /* ✅ Video tag ko fill karna */
    .vid-featured-player video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        background: #000;
    }

/* Right info card */
.vid-featured-info {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.vid-featured-badge-sm {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.vid-featured-title {
    font-size: 28px;
    font-weight: 800;
    color: #1b1f24;
    line-height: 1.3;
    margin: 12px 0 12px;
}

.vid-featured-desc {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* Stats */
.vid-featured-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}

.vid-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    transition: all 0.3s ease;
}

    .vid-stat:hover {
        border-color: #0d6efd;
        color: #0d6efd;
        transform: translateY(-2px);
    }

    .vid-stat i {
        color: #0d6efd;
        font-size: 16px;
    }

/* Buttons */
.vid-featured-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vid-btn-watch,
.vid-btn-share {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
}

.vid-btn-watch {
    background: linear-gradient(135deg, #0d6efd, #4f46e5);
    color: #fff;
    flex: 1;
}

    .vid-btn-watch:hover {
        background: linear-gradient(135deg, #0b5ed7, #4338ca);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(13, 110, 253, 0.28);
    }

.vid-btn-share {
    background: #fff;
    color: #495057;
    border: 2px solid #dee2e6 !important;
    flex: 1;
}

    .vid-btn-share:hover {
        color: #0d6efd;
        border-color: #0d6efd !important;
        transform: translateY(-2px);
    }

/* ======= Responsive ======= */
@media (max-width: 991px) {
    .vid-featured-title {
        font-size: 24px;
    }

    .vid-featured-info {
        padding: 24px;
    }
}

@media (max-width: 767px) {
    .vid-featured-card,
    .vid-featured-info {
        border-radius: 18px;
    }

    .vid-featured-info {
        padding: 20px;
    }

    .vid-featured-title {
        font-size: 22px;
    }

    .vid-featured-desc {
        font-size: 14px;
    }

    .vid-play-btn-large {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }

    .vid-featured-actions {
        flex-direction: column;
    }

    .vid-btn-watch,
    .vid-btn-share {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .vid-featured-title {
        font-size: 20px;
    }

    .vid-duration-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
}

</style >