/* 리뷰 폼 */
.table.review-page-table th {
  width: 20%;
}

table [class^="xi-"],
table [class*=" xi-"] {
  font-size: 2.4rem;
}

[class^="xi-"],
[class*=" xi-"] {
  font-size: 1.8rem;
  color: #00a2ac;
  vertical-align: -0.125em;
}

button.btn .xi-camera {
  color: #fff;
}

input[type=checkbox] {
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  padding: 5px;
  margin-right: 5px;
  cursor: pointer;
}

#submitBtn {
  color: #ffffff;
  background-color: #07474a;
}

.sub-btn-group .go-history-page {
  color: #555555;
  border: 1px solid #aaaaaa;
  background-color: #ffffff;
}

.review-con-wrap .review-list-wrap .list-item .btn-wrap {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.review-con-wrap .review-list-wrap .list-item .btn-wrap a {
	padding: 1rem;
}

.modify-btn,
.delete-btn {
	text-decoration: none;
	color: #000;
	border: none;
	background-color: #fff;
}

.review-container {
  border: 1px solid #d3d3d3;
  border-radius: 1rem;
  padding: 1.4rem;
  margin: 3rem 0 1rem 0;/* 3rem 1rem; */
  line-height: 1.8em;
}

.review-container .review-label-item .double-item-tit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0;
  letter-spacing: -0.025em;
  font-size: 1.5rem;
}

.review-container .review-label-item .double-item-tit span:nth-child(2){
  font-weight: 600;
}

.review-container .review-label-item .double-item-tit .right-item-tit .all-review-btn {
  color: #000;
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
}

.review-container .review-content-list {
  overflow-x: hidden;
}

.review-container .review-content-list .review-item {
  /* max-width: 30rem;
  flex: 0 0 80%; */
  border-radius: 1rem;
  background: #f9f9f9;
  padding: 1rem;
  box-sizing: border-box;
  margin-right: 1rem;
  cursor: pointer;
}

.review-inner-container {
  font-size: 1.4rem;
}

.review-inner-container .review-list {
  display: flex;
  max-width: 40rem;
  width: 70% !important;
  flex: 0 0 80%;
  border-radius: 1rem;
  /* background: #f9f9f9; */
  padding: 1rem 0 0 0;
  box-sizing: border-box;
  margin-right: 1rem;
  cursor: pointer;
}

.review-inner-container .review-list .review-item .item-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-item .review-item-cont {
  display: flex;
  justify-content: space-between;
}

.review-item .review-item-cont p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* min-width: 20rem; */
  flex-grow: 1;
  height: calc(1.8em * 3);
  overflow-wrap: break-word;
  margin-right: 1rem;
  margin-bottom: 0;
}

.review-item .review-item-cont img {
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 1rem;
  margin-right: 1rem;
}

/* 로딩 스피너 css */
#loading-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 화면을 어둡게 자막 처리 */
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px; height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* purchaseList.css */
.review-page-table textarea {
  display: block;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
  line-height: 2.5rem;
  font-weight: 400;
  padding: 1.2rem;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  width: 100%;
  outline: none;
  resize: none;
}

.img-preview-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1.0rem;
  margin-top: 1.2rem;
}

.img-preview-box .img-item {
  position: relative;
  display: inline-block;
  width: calc(100% / 3 - 0.67rem);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.img-preview-box .img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-page-table .imgFileBtn {
  width: 100%;
  font-size: 1.4rem;
  padding: 1rem;
  /* border: 1px solid #666; */
}

.review-top-box, 
.review-bottom-box {
  padding: 2rem 0;
}

.custom-select-con2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-con-wrap .review-list-wrap .list-item {
  border-top: 1px solid #e6e6e6;
  margin-top: 1rem;
}

.review-con-wrap .review-list-wrap .list-item .inner-box {
  position: relative;
  display: block;
  padding: 1.2rem 0;
  box-sizing: border-box;
}

.img-preview-box .img-item .delete-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgba(255, 0, 0, 0.5);
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  text-align: center;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  padding: 0;
}

/* 리뷰 목록 */
.review-con-wrap .tit .rating-avg {
  float: right;
}

.review-con-wrap .photo-tit {
  font-size: 1.6rem;
  border-top: 1px solid #e6e6e6;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.review-con-wrap .custom-search-box label {
  font-weight: 400;
}

.review-con-wrap .photo-review-list-wrap .img-container {
  display: flex;
  overflow-x: hidden;
  white-space: nowrap;
}

.review-con-wrap .photo-review-list-wrap .img-item {
  display: flex;
  flex-direction: row;
}

.review-con-wrap .photo-review-list-wrap .img-box {
	width: auto; /* swiper-slide.css의 100% 때문에 추가 */
  margin-right: 0.5rem;
  position: relative;
  display: inline-block;
}

.review-con-wrap .photo-review-list-wrap .img-box:last-child {
	margin-right: 0px;
}

.review-con-wrap .photo-review-list-wrap .overlay{
	position: absolute; 
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	font-size: 1.6rem;
	font-weight: 600;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}

.review-con-wrap .photo-review-list-wrap img {
  width: 14rem;
  height: 14rem;
  object-fit: cover;
  border-radius: 10px;
}

.review-con-wrap .review-list-wrap .list-item .inner-box {
  position: relative;
  display: block;
  padding: 1.2rem 0;
  box-sizing: border-box;
}

.review-con-wrap .review-list-wrap .list-item .rating-date-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 2.8;
}

.review-con-wrap .tit {
  font-size: 1.8rem;
  letter-spacing: -0.025em;
  color: #000;
  font-weight: 600;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.review-con-wrap .review-list-wrap .list-item .date {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #111111;
  font-weight: 400;
}

.review-con-wrap .review-list-wrap .list-item .item-tit {
  font-size: 1.4rem;
  /* line-height: 2.2; */
  letter-spacing: -0.025em;
  color: #4d4d4d;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 1rem;
}

.review-con-wrap .review-list-wrap .list-item .txt {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
  font-size: 1.4rem;
  line-height: 2.1rem;
  color: #111111;
  font-weight: 400;
  margin-bottom: 2rem;
}

.review-con-wrap .review-list-wrap .list-item .inner-box .img-container {
  display: flex;
  overflow-x: hidden;
  white-space: nowrap;
  margin-top: 1.7rem;
  margin-bottom: 2rem;
}

.review-con-wrap .review-list-wrap .list-item .inner-box .img-container .img-item {
  display: flex;
  flex-direction: row;
}

.review-con-wrap .review-list-wrap .list-item .inner-box .img-container .img-item .img-box {
  position: relative;
  width: 20rem;
  height: 20rem;
  overflow: hidden;
  margin-right: 0.8rem;
}

.review-con-wrap .review-list-wrap .list-item .inner-box .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  gap: 1.0rem;
  border-radius: 10px;
}

.review-con-wrap .more-content {
	border: none;
	background: none;
}

.review-con-wrap .more-list-btn {
  position: relative;
  display: block;
  width: 100%;
  border: 2px solid #00a2ac;
  border-radius: 1rem;
  line-height: 5rem;
  font-size: 1.6rem;
  color: #00a2ac;
  background-color: #ffffff;
}

.review-con-wrap .review-list-wrap .review-reply {
	background-color: #f5f5f5;
	padding: 15px;
	border-radius: 15px;
}

.review-con-wrap .review-list-wrap .review-reply .reply-content {
  line-height: 2rem;
}

.review-con-wrap .review-list-wrap .review-reply kbd {
  vertical-align: middle;
  padding: 3px;
}

/* 내 리뷰 목록 */
.review-list-wrap .info {
	padding: 1.6rem 1.4rem;
	margin-bottom: 1rem;
	font-size: 1.3rem;
	background-color: #fbf3f5;
	border-radius: 1rem;
	line-height: 1.8rem;
}

/* 포토 리뷰 */
.photo-review-con-wrap .photo-review-list-wrap {
	display: grid; 
	grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
	gap: 0.6rem;
}

.photo-review-con-wrap .photo-review-list-wrap img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* 안내 모달 */
.layer-popup {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  top: 0px;
  left: 0px;
  z-index: 99999;
}

.coupon-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
}

.coupon-inner-box {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 0;
}

.coupon-top-box {
  position: relative;
  border-bottom: 1px solid #eee;
  margin-bottom: 3rem;
  padding: 0 0rem 2rem;
  box-sizing: border-box;
  margin: 0 2rem 3rem;
}

.coupon-close-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 1rem));
  left: 0rem;
  color: #111;
  background: none;
  border: none;
}

.coupon-close-btn i {
  font-size: 2.6rem;
}

.coupon-modal-content h1 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-align: center;
  padding: 0 0;
  color: #000;
}

.refund-pop-box {
  margin: 0 2rem;
}

.refund-pop-box .inner-box {
  text-align: center;
}

.refund-pop-box .inner-box .txt {
  font-size: 1.5rem;
  line-height: 1.73;
  letter-spacing: -0.035em;
  color: #111;
  font-weight: 600;
  margin-top: 2.5rem;
}

.refund-pop-box .btn-wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
}

.refund-pop-box .btn-wrap .cm-btn-wrap.close-btn {
  background: #e6e6e6;
  color: #111;
  width: 100%;
  padding: 14px;
  font-weight: 600;
}

/* 리뷰 상세보기 모달 */
.review-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 500px;
}

.review-modal-content .review-inner-box {
  background: #fff;
  border-radius: 0px;
  padding: 0 0 2rem 0;
  height: 100%;
}

.review-modal-content .review-top-box {
  position: relative;
  border-bottom: 1px solid #eee;
  /* padding: 0 0rem 2rem; */
  box-sizing: border-box;
  margin: 0 2rem;
}

.review-close-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);/* translateY(calc(-50% - 1rem)); */
  left: 0rem;
  color: #111;
}

.review-close-btn,
.more-content {
	border: none;
  background-color: #fff;
}

.review-modal-content h1 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2.2;
  text-align: center;
  color: #000;
  margin: 0 0;
}

.review-close-btn i {
  font-size: 2.6rem;
}

.review-img-pop-box .img-container {
  overflow-x: hidden;
  height: 100vh;
}

.review-img-pop-box .img-container .img-item {
  display: flex;
  flex-direction: row;
}

.review-img-pop-box .mid-wrap {
  flex-shrink: 0;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.review-img-pop-box .mid-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.review-img-pop-box .bottom-wrap {
  display: flex;
  flex-direction: column;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  bottom: 0;
  font-size: 1.4rem;
  line-height: 2.5rem;
  letter-spacing: -0.025em;
  color: #111111;
  font-weight: 400;
  width: 100%;
  z-index: 999;
}

.review-img-pop-box .bottom-wrap .rating-date-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 2.8;
  margin: 0 2rem;
}

.review-img-pop-box .bottom-wrap .item-tit {
  font-size: 1.3rem;
  line-height: 2.2;
  letter-spacing: -0.025em;
  color: #4d4d4d;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
  margin: 0 2rem;
}

.review-img-pop-box .bottom-wrap .txt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.4rem;
  line-height: 2.5rem;
  letter-spacing: -0.025em;
  color: #111111;
  font-weight: 400;
  margin: 2rem;
}

.review-img-pop-box .bottom-wrap .more-content {
  align-self: flex-end;
  margin: 0 2rem 2rem 2rem;
}

/** 모바일 사이즈 **/
@media (max-width: 768px) {
  .photo-review-con-wrap .photo-review-list-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .review-con-wrap .photo-review-list-wrap img {
    width: 10rem;
    height: 10rem;
  }
  
  .review-con-wrap .review-list-wrap .list-item .inner-box .img-container .img-item .img-box {
    width: 12rem;
    height: 12rem;
    margin-right: 0.5rem;
  }
}
