#reviewBtn {
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    border:none;
    border-radius:50%;
    background:#ff9800;
    color:#fff;
    font-size:30px;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,.35);
    transition:.25s;
    z-index:9999;
}

#reviewBtn:hover {
    transform:scale(1.1);
    background:#ffb300;
}

#reviewModal {
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(0,0,0,.6);
    z-index:10000;
}

.review-hidden {
    display:none !important;
}

.review-box {
    width:650px;
    max-width:92%;
    max-height:85vh;
    overflow-y:auto;
    background:white;
    border-radius:18px;
    padding:30px;
    position:relative;
    animation:popup .25s ease;
}

@keyframes popup {
    from {
        transform:scale(.9);
        opacity:0;
    }

    to {
        transform:scale(1);
        opacity:1;
    }
}

#closeReview {
    position:absolute;
    top:12px;
    right:15px;
    border:none;
    background:none;
    font-size:34px;
    cursor:pointer;
}

#closeReview:hover {
    color:red;
}

.review-box h2 {
    text-align:center;
    margin-bottom:20px;
}

#ratingSummary {
    text-align:center;
    margin-bottom:20px;
}

#averageRating {
    font-size:42px;
    color:#ff9800;
    font-weight:bold;
}

#reviewCount {
    font-weight:bold;
}

#reviewList {
    margin:25px 0;
}

.reviewItem {
    padding:18px;
    margin-bottom:18px;
    border-radius:12px;
    background:#f7f7f7;
    box-shadow:0 3px 8px rgba(0,0,0,.08);
}

.reviewItem h4 {
    margin-bottom:8px;
}

.reviewItem p {
    line-height:1.5;
}

#reviewForm {
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:20px;
}

#reviewName,
#reviewText {
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-family:Montserrat,sans-serif;
    font-size:15px;
}

#reviewText {
    resize:vertical;
    min-height:120px;
}

.stars {
    display:flex;
    flex-direction:row-reverse;
    justify-content:center;
    gap:6px;
}

.stars input {
    display:none;
}

.stars label {
    font-size:38px;
    color:#bbb;
    cursor:pointer;
    transition:.2s;
}

.stars label:hover,
.stars label:hover ~ label {
    color:#ffc107;
}

.stars input:checked ~ label {
    color:#ffc107;
}

#submitReview {
    border:none;
    border-radius:10px;
    padding:15px;
    background:#ff9800;
    color:white;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.25s;
}

#submitReview:hover {
    background:#f57c00;
}

#loadingReviews {
    text-align:center;
    padding:30px;
    color:#666;
    font-size:18px;
}

@media(max-width:700px){

    .review-box {
        width:95%;
        padding:20px;
    }

    #averageRating {
        font-size:34px;
    }

    .stars label {
        font-size:30px;
    }
}