/*
* author : minjeong
* purpose : storefarm review list page
* date: 2025.11.24
*/
#reviewList {
    width: 100%;
    padding: 0;
}

/* review-hero */
.review-hero {
    width: 100%;
    padding: 100px 0;
    background-color: #f9f9f9;
}

.review-hero-inner {
    width: 1020px;
    margin: 0 auto;
    height: 100%;
}

.review-hero-content {
    width: 100%;
    text-align: center;
}

.review-hero-content .review-hero-subtitle {
    font-size: 22px;
    font-family: var(--font-weight-500);
    color: var(--gray-700);
    margin-bottom: 10px;
}
.review-hero-content .review-hero-title {
    font-size: 32px;
    font-family: var(--font-weight-600);
    line-height: 132%;
    margin-bottom: 20px;
}
.review-hero-content .review-number {
    font-size: 24px;
    margin-bottom: 20px;
}
.review-hero-content .review-number i {
    font-size: 32px;
    margin-right: 8px;
    color: #FFCD01;
}
.review-hero-content .review-number .emp {
    color: #FFCD01;
    font-family: var(--font-weight-600);
    font-size: 40px;
}
.review-hero-content .review-hero-desc {
    font-size: 16px;
    font-family: var(--font-weight-400);
    color: var(--gray-600);
}
.review-hero-content .review-hero-desc font {
    font-size: 16px;
    font-family: var(--font-weight-400);
    color: var(--gray-600);
}

/* review-cate */
#reviewCate {
    width: 100%;
    height: 88px;
    padding: 24px 64px;
    background-color: #fff;
}

#reviewCate .cate-list {
    width: 1020px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

#reviewCate .cate-list .cate-item {
    border-radius: 50px;
    border: 1px solid var(--gray-200);
}

#reviewCate .cate-list .cate-item a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 132%;
    font-family: var(--font-weight-400);
    color: var(--gray-900);
    cursor: pointer;
}

#reviewCate .cate-list .cate-item.on {
    background-color: var(--gray-900);
    color: #fff;
}

#reviewCate .cate-list .cate-item.on a {
    color: #fff;
}

/* review-list */
#reviewList .review_con {
    width: 1020px;
    margin: 0 auto;
    padding: 30px 0 50px;
}

#reviewList .rv_con_list {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
}

#reviewList .rv_con_list li {
    display: flex;
    width: 100%;
    background: #fff;
    padding: 24px 48px;
    border-radius: 64px;
    border: 1px solid var(--gray-300);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

#reviewList .rv_con_list li:after {
    content: '';
position: absolute;
border-style: solid;
border-width: 14px 14px 0;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
bottom: -14px;
right: 71px;
}

#reviewList .rv_con_list li:before {
    content: '';
position: absolute;
border-style: solid;
border-width: 14px 14px 0;
border-color: var(--gray-400) transparent;
display: block;
width: 0;
z-index: 0;
bottom: -15px;
right: 71px;
}

#reviewList .rv_con_list li:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(218 217 217 / 35%);
}

#reviewList .rv_con_list li div {}

#reviewList .rv_con_list li div:nth-child(1) {
    width: 50%;
    display: flex;
    font-size: 14px;
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(1) {
    width: 40%;
    border-radius: 8px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(1) img {
    width: 100%;
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(2) {
    margin-left: 5%;
    width: 55%;
    line-height: 21px;
    letter-spacing: -1px;
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(2) i.xi-star {
    color: var(--primary-200);
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(2) i.xi-profile {
    font-size: 20px;
    vertical-align: middle;
    color: var(--gray-700);
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(2) font.rv_user {
    margin: 3px 0px;
    display: inline-block;
    width: 100%;
    font-size: 14px;
    color: var(--gray-700);
    letter-spacing: 0px;
}

#reviewList .rv_con_list li div:nth-child(1) span:nth-child(2) font.rv_date {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0px;
}

#reviewList .rv_con_list li div:nth-child(2) {
    width: 50%;
    line-height: 25px;
    font-size: 14px;
    height: 85px;
    overflow-y: scroll;
    color: var(--gray-900);
}

#reviewList .rv_con_list li span:nth-child(3) {
    position: absolute;
    top: -16px;
    left: 48px;
    font-size: 12px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background-color: var(--primary-000);
    color: var(--primary-500);
    cursor: pointer;
    transition: all 0.28s ease;
}
#reviewList .rv_con_list li span:nth-child(3):hover {
    background-color: var(--primary-300);
    padding-right: 13px;
    color: #fff;
}
#reviewList .rv_con_list li span:nth-child(3) i {
    font-size: 12px;
    margin-left: 2px;
    color: var(--primary-500);
    transition: all 0.28s ease;
}
#reviewList .rv_con_list li span:nth-child(3):hover i {
    margin-left: 4px;
    color: #fff;
}
#reviewList .page li.page_no {
    box-shadow: none;
}

/* mobile style */
@media screen and (max-width: 767px) {
    .review-hero {
        padding: 50px 0;
    }
    .review-hero-inner {
        width: 100%;
    }
    .review-hero-content {
    }
    .review-hero-content .review-hero-subtitle {
        font-size: 16px;
    }
    .review-hero-content .review-hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    .review-hero-content .review-number {
        font-size: 20px;
    }
    .review-hero-content .review-number i {
        font-size: 24px;
    }

    #reviewCate {
        padding: 24px;
        overflow-x: scroll;
    }

    #reviewCate .cate-list{
      width: max-content;
    }

    #reviewList .review_con {
        width: 100%;
        padding: 30px 24px 50px;
    }

    #reviewList .rv_con_list {
    }

    #reviewList .rv_con_list li {
        width: 100%;
        flex-direction: column;
        border-radius: 32px;
        padding: 32px 24px 24px;
    }
    #reviewList .rv_con_list li div:nth-child(1) {
        width: 100%;
    }
    #reviewList .rv_con_list li div:nth-child(2) {
        width: 100%;
        margin-top: 10px;
    }
    #reviewList .rv_con_list li span:nth-child(3) {
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }
    #reviewList .rv_con_list li:after {
        right: 32px;
    }
    #reviewList .rv_con_list li:before {
        right: 32px;
    }

}
