/* Reel Card */



.reel-card{
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
}

.reel-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.reel-card::after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.5),
        rgba(0,0,0,.1),
        transparent
    );
    pointer-events: none;
}

.play-btn{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:70px;
    height:70px;
    border-radius:50%;
    border:0;
    /* background:#585858; */
    backdrop-filter:blur(10px);
    cursor:pointer;
    z-index:9999;

    display:flex;
    align-items:center;
    justify-content:center;
}

.play-btn img{
    width:30px;
    height:30px;
    object-fit:contain;
}

.play-btn:hover{
    transform: translate(-50%, -50%) scale(1.08);
}

/* Modal */

.reel-modal{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
}

.reel-modal.active{
    display: flex;
}

.modal-box{
    width: 400px;
    max-width: 100%;
    height: 90vh;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.modal-box video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Close Button */

.close-modal{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    line-height: 34px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,0,0,.4);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 9999;
}

/* Product Overlay */

.product-box{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(
        transparent,
        rgba(53, 50, 50, 0.95)
    );
    z-index: 99;
}

.product-details{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.product-image{
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-info{
    flex: 1;
}

.product-info h3{
    color: #fff;
    font-size: 16px;
    margin: 0 0 5px;
}

.product-price{
    color: #dddada;
    font-size: 20px;
    font-weight: bold;
}

/* Shop Button */

.shop-btn{
    display: block;
    width: 100%;
    text-align: center;
    background: #4f101b;
    color: #fff;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

.shop-btn:hover{
    opacity: .9;
}

/* Tablet */

@media (max-width: 991px){

    .reel-card{
        height: 380px;
    }

}

/* Mobile */

@media (max-width: 767px){

    .reel-modal{
        padding: 0;
    }

    .modal-box{
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .reel-card{
        height: 320px;
    }

    .play-btn{
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .product-box{
        padding: 15px;
    }

}

/* Small Mobile */

@media (max-width: 480px){

    .reel-card{
        height: 280px;
    }

}
.reel-card::after{
    pointer-events: none;
}

.play-btn{
    z-index: 99999;
    pointer-events: auto;
}

.swiper-slide{
    overflow: visible;
}