#review{
	padding-bottom: 100px;
}

#review .inner{
	max-width:1040px;
	margin: 0 auto;
}

#review .inner .page-title{
	font-size: 18px;
	font-weight: 700;
	line-height: 140%;
	letter-spacing: -0.36px;
	color: #000;
	margin-bottom: 20px;
	padding: 0 20px;
}

#review .button-content{
	width: 100%;
	padding: 0 20px;
}

#review .button-content ul.tabs{
	list-style: none;
	display: flex;
	justify-content: start;
	align-items: center;
	gap:8px;
	padding: 6px;
	margin-bottom: 30px;
	border-radius: 14px;
	background: #F5F7FA;
}

#review .button-content ul.tabs li{
	width:50%; 
	border-radius:11px;
	color: rgba(17, 17, 17, 0.3);
	background:transparent;
	box-sizing: border-box;
	cursor: pointer;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 140%;
	padding: 8px 14px;
}

#review .button-content ul.tabs li.current{
	color: #111;
	background: #fff;
	box-shadow: 0 3px 14px 0 rgba(0, 0, 0, 0.04);;
}

#review .button-content .tab-content{
	display: none;
}

#review .button-content .tab-content.current{
	display: block;
}

#review .tab-content .total{
	padding-bottom: 12px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#review .tab-content .total span{
	font-size: 14px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: -0.28px;
	color: #757575;
}

#review .tab-content .total .select-box {
    position: relative;
}

#review .tab-content .total .select-btn {
    display: flex;
    justify-content:center;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

#review .tab-content .total .select-btn span{
	font-size: 13px;
	font-weight: 500;
	line-height: 140%;
	letter-spacing: -0.26px;
	color: #000;
}

#review .tab-content .total .select-btn .arrow img{
	width: 8px;
	height: auto;
}

#review .tab-content .total .select-list {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    padding: 16px 10px;
    display: none;
    z-index: 10;
}

#review .tab-content .total .select-list li {
	font-size: 13px;
	font-weight: 400;
	line-height: 160%;
	letter-spacing: -0.26px;
	color: #A0A0A0;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

#review .tab-content .total .select-list li:first-child{
	padding-top: 0;
}

#review .tab-content .total .select-list li:last-child{
	border-bottom: 0;
	padding-bottom: 0;
}

#review .tab-content .total .select-list li.selected{
	color: #444;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 9px;
}

#review .tab-content .total .select-list li.selected::after{
	content: '';
	display: block;
    width: 10px;
    height: 7px;
    background: url('../images/mypage/review/icon-selected.png') no-repeat center;
    background-size: cover;
}


/* 작성 가능한 후기 */
#review .pending-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#review .pending-item {
	display: flex;
	justify-content:start;
	align-items: center;
	width: 100%;
	border-bottom: 1px solid #E9E9E9;
	padding: 30px;
	min-width: 0;
	position: relative;
	gap: 50px;
}

#review .pending-item:last-child {
	border-bottom: none;
}

#review .pending-item .date-block {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	text-align: center;
	min-width: 87px;
}

#review .pending-item .order-date {
	display: block;
	color: #999;
	font-size: 14px;
	font-weight: 500;
	line-height: 140%;
	}

#review .pending-item .order-id {
	color: #000;
	font-size: 14px;
	font-weight: 700;
	line-height: 140%;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#review .pending-item .product-block {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	max-width: 382px;
}

#review .pending-item .thumbnail {
	width: 106px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background: #F5F7FA;
	overflow: hidden;
	flex-shrink: 0;
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

#review .pending-item .thumbnail img {
	width: 80%;
	height: auto;
	object-fit: cover;
	object-position: center center ;
}

#review .pending-item .product-block .text {
	flex: 1;
	min-width: 0;
	width: 100%;
	height: 106px;
	padding: 6px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#review .pending-item .product-info {

}

#review .pending-item .product-name {
	color: #000;
	font-size: 14px;
	font-weight: 600;
	line-height: 140%;
	margin-bottom: 4px;
}

#review .pending-item .option {
	color: #666;
	font-size: 14px;
	font-weight: 500;
	line-height: 140%;
}

#review .pending-item .etc {
	display: flex;
	align-items: center;
	gap: 8px;
}

#review .pending-item .order-status {
	color: #DA3023;
	font-size: 14px;
	font-weight: 500;
	line-height: 140%;
	letter-spacing: -0.02em;
}

#review .pending-item .tracking-number {
	color: #000;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%;
	text-decoration: underline;
	text-underline-offset: 2px;
}

#review .pending-item .btn-block {
	flex-shrink: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 9px;
	position: absolute;
	right: 0;
	bottom: 34px;
}

#review .pending-item .btn-block .btn {
	width: 172px;
	height: 42px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 60px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	position: relative;	
	}

#review .pending-item .btn-block .btn-cart {
	width: 44px;
	border: 1px solid #E9E9E9;
	background: #FFF;
	flex-shrink: 0;
}

#review .pending-item .btn-block .btn-cart img {
	width: 20px;
}

#review .pending-item .btn-block .btn-white {
	border: 1px solid #eee;
	background: #FFF;
	color: #000;
}

#review .pending-item .btn-block .btn-white::before{
	content: '+10,000원';
	position: absolute;
	left: 8px;
	top: -12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 140%;
	color: #fff;
	background: #DA3023;
	border-radius: 50px;
	padding: 3px 6px;
}

#review .pending-item .btn-block .btn-black {
	background: #000;
	border: none;
	color: #FFF;
}

#review .pending-item .btn-block .btn-black::before{
	content: '+30,000원';
	position: absolute;
	left: 8px;
	top: -12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 140%;
	color: #fff;
	background: #DA3023;
	border-radius: 50px;
	padding: 3px 6px;
}

#review .pending-item .btn-block .btn-black::after{
	content: '주문당 1회 ';
	position: absolute;
	left: 83px;
	top: -12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 140%;
	color: #DA3023;
	background: #FCEEED;
	border-radius: 50px;
	padding: 3px 6px;
}

#review .no-review-message{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

#review .no-review-message img{
	width: 34px;
	height: auto;
}

#review .no-review-message p{
	font-size: 13px;
	font-weight: 400;
	line-height: 160%;
	letter-spacing: -0.26px;
	color: #666;
}


/* 작성한 후기 */
#review .complete-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

#review .complete-item {
	width: 100%;
	border-bottom: 6px solid #F6F6F6;
	padding: 30px 0;
	min-width: 0;
	position: relative;
}

#review .complete-item:last-child{
	border-bottom: none;
}

#review .complete-item .date-block{
	margin-bottom: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#review .complete-item .date-block .star {
	display: flex;
	gap: 4px;
	align-items: center;
}
#review .complete-item .date-block .star div {
	display: flex;
	gap: 1px;
	align-items: center;
}
#review .complete-item .date-block .star span {
	color: #000;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
}

#review .complete-item .date-block .star i {
	display: inline-block;
	width: 17px;
	height: 17px;
	background-image: url("../images/icon-star.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 88.24%;
}

#review .complete-item .date-block .write-date{
	font-size: 14px;
	font-weight: 400;
	line-height: 150%;
	color: #999;
}

#review .complete-item .review-block{
	margin-bottom: 40px;
	max-width: 650px;
}

#review .complete-item .review-block .text{
	width: 100%;
}

#review .complete-item .review-block .text p{
	font-size: 14px;
	font-weight: 400;
	line-height: 160%;
	color: #000;
	margin-bottom: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#review .complete-item .review-block .review-morebtn{
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 160%;
	letter-spacing: -0.28px;
	color: #666;
}

#review .complete-item .review-block .review-morebtn img{
	width: 5px;
}

#review .complete-item .review-block .img{
	width: 160px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	position: absolute;
	right: 0;
	top:71px;
}

#review .complete-item .review-block .img img{
	max-width: 100%;
}


#review .complete-item .product-block{
	max-width: 313px;
	display: flex;
	align-items: center;
	gap: 15px;
}

#review .complete-item .product-block .thumbnail{
	width: 65px;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	background: #FBFBFB;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 0;
}

#review .complete-item .product-block .thumbnail img{
	max-width: 70%;
	width: 100%;
	height: auto;
	object-fit: cover;
}

#review .complete-item .product-block .product-info{
	width: calc(100% - 80px);
}

#review .complete-item .product-block .product-info .product-name{
	font-size: 14px;
	font-weight: 600;
	line-height: 140%;
	color: #000;
	margin-bottom: 4px;
}

#review .complete-item .product-block .product-info .option{
	font-size: 13px;
	font-weight: 400;
	line-height: 140%;
	color: #666;
} 








@media screen and (max-width:1200px){
	#review .pending-item .btn-block{
		position: unset;
	}
}

@media screen and (max-width:960px){
	#review .button-content{
		padding: 0;
	}

	#review .button-content ul.tabs{
		margin: 0 20px 30px 20px;
	}

	#review .tab-content .total{
		margin:0 20px;
	}
	
	#review .pending-item{
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	#review .pending-item .date-block{
		width: 100%;
		flex-direction: row-reverse;
		justify-content: space-between;
		margin-bottom: 16px;
	}

	#review .pending-item .product-block{
		max-width: 100%;
		width: 100%;
		margin-bottom: 28px;
	}

	#review .pending-list{
		margin: 0 20px;
	}

	#review .complete-item{
		padding: 30px 20px;
	}

	#review .complete-item .review-block {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 17px;
		padding-bottom: 20px;
		margin-bottom: 20px;
		border-bottom: 1px solid #E9E9E9;
		max-width: 100%;
	}

	#review .complete-item .review-block .img{
		position: unset;
		width: 78px;
	}

	#review .complete-item .review-block .text{
		width: calc(100% - 95px);
	}

	#review .complete-item .review-block .text p{
		display: -webkit-box;
	    -webkit-box-orient: vertical;
	    -webkit-line-clamp: 3;
	    overflow: hidden;
	    white-space: normal;
	}
}


@media screen and (max-width:768px){
	#review .pending-item{
		padding: 20px 0;
	}

	#review .pending-item .product-block{
		gap: 12px;
	}

	#review .complete-item{
		padding: 20px;
	}
}


@media screen and (max-width:500px){
	#review .pending-item .btn-block{
		width: 100%;
	}

	#review .pending-item .btn-block .btn{
		width: 50%;
	}
}









