#frp-popup{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.75);
z-index:99999;
overflow:auto;
padding:20px;
}

.frp-modal{
background:#fff;
max-width:700px;
margin:40px auto;
padding:25px;
border-radius:20px;
position:relative;
}

.frp-close{
position:absolute;
top:15px;
right:20px;
font-size:26px;
cursor:pointer;
border:none;
background:none;
}

.frp-title{
margin-bottom:20px;
text-align:center;
}

.frp-row{
display:flex;
gap:15px;
margin-bottom:15px;
}

.frp-col{
flex:1;
}

.frp-modal input[type=text],
.frp-modal input[type=email],
.frp-modal textarea{
width:100%;
padding:14px;
border:1px solid #ddd;
border-radius:10px;
}

.frp-modal textarea{
height:120px;
margin-bottom:15px;
}

.frp-stars-row{
display:flex;
align-items:center;
gap:15px;
flex-wrap:wrap;
margin-bottom:20px;
}

.frp-upload-row{
display:flex;
gap:15px;
margin-bottom:15px;
}

.frp-upload{
flex:1;
border:2px dashed #ddd;
padding:15px;
border-radius:12px;
text-align:center;
cursor:pointer;
}

.frp-upload:hover{
border-color:#000;
}

.frp-preview{
width:80px;
height:80px;
object-fit:cover;
border-radius:10px;
display:none;
margin:10px auto;
}

.frp-file-name{
font-size:12px;
margin-top:10px;
word-break:break-all;
}

.frp-progress{
height:5px;
background:#eee;
border-radius:20px;
overflow:hidden;
margin-top:10px;
}

.frp-progress-bar{
width:0;
height:100%;
background:#28a745;
transition:.3s;
}

.frp-submit-btn{
width:100%;
background:#000;
color:#fff;
padding:15px;
border:none;
border-radius:10px;
cursor:pointer;
}

#frp-open-review{
position:fixed;
right:20px;
bottom:260px;
background:#0000009e;
color:#fff;
padding:12px 20px;
border:none;
border-radius:50px;
cursor:pointer;
z-index:9999;
}

/* Carousel */

.frp-carousel{
/* display:flex;
gap:20px;
overflow-x:auto;
padding:10px;
scroll-behavior:smooth; */
overflow:hidden;
padding:10px;
}

.frp-review-card{
height:100%;
background:#fff;
/*border-radius:15px;*/
padding:20px;
/*box-shadow:0 2px 10px rgba(0,0,0,.08);*/
box-sizing:border-box;
display: flex;
flex-direction: column;
border: 1px solid #eee;
}

.frp-review-gallery{
display:flex;
gap:10px;
margin-bottom:15px;
}

.frp-review-gallery img{
width:90px;
height:90px;
object-fit:cover;
cursor:pointer;
}

.frp-review-stars{
font-size:18px;
margin-bottom:10px;
}

.frp-review-text{
margin-bottom:15px;
line-height:1.6;
min-height: 80px;
max-height: 80px;
overflow-x: auto;
}

.frp-review-author{
font-weight:600;
margin-bottom:15px;
}

.frp-product-box{
display:flex;
align-items:center;
gap:10px;
border-top:1px solid #eee;
padding-top:15px;
}

.frp-product-box img{
width:60px;
height:60px;
object-fit:cover;
}

.frp-product-box a{
font-weight:600;
text-decoration:none;
}

/* Lightbox */

.frp-lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.9);
display:flex;
align-items:center;
justify-content:center;
z-index:999999;
}

.frp-lightbox img{
max-width:90%;
max-height:90%;
}

/* swiper slider css */
.swiper-slide{
height:auto;
display:flex;
}

.swiper-pagination{
position:relative !important;
margin-top:20px;
}

.frp-review-gallery.one-image img{
    width: 50%;
    height: 120px;
    object-fit: cover;
    margin: 0 auto;
}

.frp-review-gallery.two-images{
    display:flex;
    gap:10px;
}

.frp-review-gallery.two-images img{
    width:50%;
    height:120px;
    object-fit:cover;
}

.frp-product-reviews .frp-review-card{
    height:100%;
}

.frp-product-reviews .frp-review-gallery{
    margin-bottom:15px;
}
/* Show more btn */
.frp-hidden-review{
    display:none;
}

.frp-show-more-wrap{
    text-align:center;
    margin-top:25px;
}

.frp-show-more{
    padding:12px 25px;
    border:none;
    border-radius:6px;
    cursor:pointer;
}
.frp-product-reviews{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}
.frp-carousel-wrapper .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    padding-top: 30px;
}
@media(max-width:991px){
    .frp-product-reviews{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:767px){
    .frp-product-reviews{
        grid-template-columns:1fr;
    }
}
@media(max-width:768px){

.frp-row,
.frp-upload-row{
flex-direction:column;
}

.frp-review-card{
min-width:280px;
}

}