@font-face {
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local("Source Sans Pro Regular"), local("SourceSansPro-Regular"),
        url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local("Source Sans Pro SemiBold"), local("SourceSansPro-SemiBold"),
        url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
        U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/sourcesanspro/v22/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Source Sans Pro;
}

.flex {
    display: flex;
    align-items: center;
}

.nb_main_container {
    max-width: 92%;
    margin-inline: auto;
    /* overflow: hidden; */
    padding-inline: 20px;
}

body {
    background-color: #F2F2F2;
}

@media screen and (max-width: 660px) {
    .nb_main_container {
        padding-inline: 8px;
        max-width: 100%;
    }

}

/* breadcrumbs */
.crumbs {
    text-transform: capitalize;
    margin: 10px auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.07px;
    color: #00000080;
    /* margin-top: 5rem; */
}

.crumbs a {
    color: #00000080;
}

.crumbs .crumbs-span {
    margin: 0 5px;
}

.crumbs span:last-child {
    color: #1A1A1A;
}

.truncate {
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
}

/* crumbs ends */
/* review_section */
.ratng_rvw_sec {
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
}

.allrvwpg_lft {
    width: 55%;
    max-width: 550px;
}

.ovrallrtngs {
    flex-direction: column;
    gap: 4px;
}

.ReviewRatings {
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.tags {
    gap: 8px;
    flex-wrap: wrap;
}

.ReviewRatings svg {
    width: 25px;
    height: 25px;
}

.totalRating {
    align-items: center;
    gap: 8px;
    border: 1px solid #DDDDDD;
    padding: 4px 16px;
    border-radius: 12px;
    margin-block: 12px;
    width: 100%;
    justify-content: space-between;
}

.overallrating {
    font-size: 3.5rem;
    font-weight: 600;
    color: #3e3e3e;
    align-items: baseline;
    gap: 6px;
}

.overallrating span {
    font-size: 1rem;
    color: #666666;
}

.ratings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 1rem;
    margin-block: 5px;
    padding-right: 4px;
    justify-items: center;
}

.rating_card {
    width: 155px;
    box-shadow: 0px 0px 5px 0px #E6EBF5;
    padding: 8px;
    border-radius: 8px;
    gap: 8px;
    margin: 2px;
    flex-shrink: 0;
}

.rateon h3 {
    color: #1A1A1A;
    font-size: 14px;
}

.rateon p {
    color: #1A1A1A;
    font-size: 12px;
}


/* reviews */
.reviews_main_cont {
    width: 90%;
    max-width: 750px;
    margin-bottom: 10px;
}

.reviews {
    gap: 6px;
    flex-wrap: wrap;
    max-height: 80vh;
    overflow-y: scroll;
}

.reviews::-webkit-scrollbar {
    display: none;
}

.review_card {
    flex: 0 0 auto;
    border: 1px solid #DDDDDD;
    padding: 20px;
    border-radius: 12px;
    margin: 5px;
    width: 340px;
}

.user_profile_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.user_profile {
    gap: 8px;
}

.user_profile_container .prfl_intl {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.prfl_intl {
    background-color: #666666;
    padding: 1px 6px;
    border-radius: 50%;
    color: #F5F5F5;
    text-transform: capitalize;
}

.user_profile_container img {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.user_profile_name {
    margin-bottom: 5px;
    color: #1A1A1A;
    text-transform: capitalize;
}

.rating,
.reviewRating {
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}

.reviewRating {
    gap: 8px;
}

.uploaded_rvw_img_cntnr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.uploaded_rvw_img {
    width: 67px;
    height: 67px;
    cursor: pointer;
    margin-top: 8px;
}

.uploaded_rvw_img img {
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.comments {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.6px;
    text-align: left;
    margin-top: 10px;
    padding-right: 5px;
}

.comments_container {
    scroll-behavior: smooth;
    height: 100px;
    overflow-y: scroll;
}

.comments_container::-webkit-scrollbar {
    width: 3px;
}

.comments_container::-webkit-scrollbar-thumb {
    background-color: #36363649;
    border-radius: 50px;
}

.read_write_reviews {
    text-align: center;
    justify-content: center;
    gap: 2rem;
    flex-direction: column;
    box-shadow: 0px 0px 5px 0px #E6EBF5;
    padding: 1rem;
    border-radius: 8px;
    flex: 24;
    min-height: 11rem;
}

.read_write_reviews button {
    outline: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 400;
}

#viewReview {
    background-color: #ffffff;
    border: 1px solid #B8B8B8;
}


.giveReviewSec {
    cursor: pointer;
}

.reviewMainSec {
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    margin-left: 5px;
    align-items: flex-start;
}

.pros_cons_section {
    flex: 90;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.prosNcons {
    width: 49%;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0px 0px 5px 0px #E6EBF5;
}

.prosNcons h3 {
    font-size: 1rem;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.prosNconsDtails {
    padding-left: 1rem;
    max-height: 115px;
    overflow-y: scroll;
}

.prosNconsDtails::-webkit-scrollbar {
    width: 3px;
}

.prosNconsDtails::-webkit-scrollbar-thumb {
    background-color: #36363649;
    border-radius: 50px;
}

.prosNcons ul li {
    list-style: disc;
    font-size: .8rem;
    line-height: 1.8;
    color: #1A1A1A;
}

#pros {
    border: 1px solid #0080008a;
}

#cons {
    border: 1px solid #ff00008a;
}


/* circle rating */
.circle-rating {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-block;
}

.circle-rating svg {
    transform: rotate(90deg);
}

.circle-rating circle {
    fill: none;
    stroke-width: 4;
}

.circle-bg {
    stroke: #e6e6e6;
}

.circle-fg {
    stroke: #00796b;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.rating-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: bold;
    color: #222;
}

.reviewUserType {
    color: #666666;
    font-weight: 400;
    line-height: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.feedback-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: -12px;

}

.feedback-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #6b7280;
    transition: all 0.2s;
}

.feedback-btn svg {
    width: 20px;
    height: 20px;
}

.allreviews_sec {
    margin-top: 5rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

/* Basic styling for images */
.review_imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.uploaded_rvw_img {
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.review-image {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Show All Button */
.show-all-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.show-all-btn:hover {
    background-color: #45a049;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    max-width: 80%;
}

#expandedImage {
    width: 100%;
    height: auto;
}

.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 30px;
    color: white;
    transform: translateY(-50%);
}

.prev,
.next {
    cursor: pointer;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


.img-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

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

.img-modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    font-size: 48px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

.nav-arrow.left {
    left: 30px;
}

.nav-arrow.right {
    right: 30px;
}

.uploaded_rvw_img {
    position: relative;
    cursor: pointer;
}

.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

footer {
    padding-top: 2rem;
}

.locality-links {
    margin-bottom: 12px !important;
}

@media screen and (max-width: 1366px) {
    .reviews {
        max-height: 100vh;
    }

}

@media screen and (max-width: 991px) {

    .reviews,
    .reviews_main_cont,
    .pros_cons_section {
        width: 100%;
    }

    .reviews {
        max-height: 100%;
    }

    .ratng_rvw_sec,
    .reviewMainSec {
        flex-direction: column;
    }

    .read_write_reviews {
        width: 100%;
        flex-direction: row;
        min-height: 0;
    }
}

@media screen and (max-width: 660px) {
    .ratings {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: 12px;
        margin-block: 10px;
        padding: 0;
        overflow-x: auto;
        grid-auto-flow: column;
    }

    .ratings::-webkit-scrollbar {
        display: none;
    }

    .ratng_rvw_sec {
        gap: 1rem;
    }

    .rating_card {
        width: 155px;
        padding: 12px;
        gap: 12px;
    }

    .pros_cons_section {
        flex-direction: column;
    }

    .prosNcons,
    .review_card,
    .reviews_main_cont {
        width: 100%;
    }

    .reviews {
        overflow-y: visible;
    }

    .reviewUserType {
        font-size: 12px;
        gap: 4px;
        margin-top: 4px;
    }

    .review_card {
        margin: 0;
    }

    .feedback-buttons {
        display: flex;
        gap: 15px;
        align-items: center;
        margin-left: -12px;

    }

    .feedback-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 14px;
        color: #6b7280;
        transition: all 0.2s;
    }

    .feedback-btn svg {
        width: 20px;
        height: 20px;
    }

    .allrvwpg_lft {
        width: 100%;
    }

    .nav-arrow.left,
    .nav-arrow.right {
        font-size: 25px;
    }

    .allreviews_sec {
        padding: 12px;
    }

    footer {
        padding-top: 1rem;
    }
}