/* ============================================
   상품 상세 페이지 커스텀 스타일
   ============================================ */

/* 상품정보제공고시 테이블 스타일 */
.product-info-notice {
	background: #fff;
	border-radius: 8px;
	padding: 28px;
	border: 1px solid #e8ecef;
}

.product-info-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e8ecef;
}

.product-info-table-wrapper {
	overflow: hidden;
	border-radius: 6px;
	border: 1px solid #e8ecef;
}

.product-info-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.product-info-table tbody tr {
	transition: background-color 0.15s ease;
	border-bottom: 1px solid #f0f0f0;
}

.product-info-table tbody tr:last-child {
	border-bottom: none;
}

.product-info-table tbody tr:hover {
	background-color: #fafbfc;
}

.product-info-table tbody tr.even {
	background-color: #fafbfc;
}

.product-info-table tbody tr.even:hover {
	background-color: #f5f6f7;
}

.product-info-table th {
	background: #f8f9fa;
	color: #333;
	font-weight: 600;
	font-size: 14px;
	padding: 14px 18px;
	text-align: left;
	vertical-align: middle;
	line-height: 1.6;
	border-right: 1px solid #e8ecef;
}

.product-info-table td {
	padding: 14px 18px;
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	vertical-align: middle;
	background: #fff;
}

.product-info-table tr.even td {
	background-color: #fafbfc;
}

.product-info-table tr:hover td {
	background-color: inherit;
}

@media (max-width: 768px) {
	.product-info-notice {
		padding: 20px 16px;
	}
	
	.product-info-title {
		font-size: 16px;
		margin-bottom: 16px;
		padding-bottom: 10px;
	}
	
	.product-info-table th,
	.product-info-table td {
		padding: 12px 14px;
		font-size: 13px;
	}
	
	.product-info-table th {
		display: block;
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #e8ecef;
	}
	
	.product-info-table td {
		display: block;
		width: 100%;
		padding-top: 12px;
	}
	
	.product-info-table tbody tr {
		display: block;
		margin-bottom: 8px;
		border: 1px solid #e8ecef;
		border-radius: 6px;
		overflow: hidden;
	}
	
	.product-info-table tbody tr:last-child {
		margin-bottom: 0;
	}
}

/* 회원별 적립금 모달 스타일 */
.btn_point_detail {
	font-size: 11px;
	padding: 2px 8px;
	margin-left: 5px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 3px;
	cursor: pointer;
	color: #666;
}

.btn_point_detail:hover {
	background-color: #e5e5e5;
	color: #333;
}

.point_modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.5);
}

.point_modal_content {
	background-color: #fff;
	margin: 5% auto;
	padding: 0;
	border: none;
	width: 90%;
	max-width: 500px;
	border-radius: 5px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.point_modal_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}

.point_modal_header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
	color: #333;
}

.point_modal_close {
	background: none;
	border: none;
	font-size: 28px;
	font-weight: bold;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	line-height: 28px;
	text-align: center;
}

.point_modal_close:hover {
	color: #333;
}

.point_modal_body {
	padding: 20px;
}

.point_modal_table {
	width: 100%;
	border-collapse: collapse;
}

.point_modal_table thead {
	background-color: #f9f9f9;
}

.point_modal_table th,
.point_modal_table td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #eee;
}

.point_modal_table th {
	font-weight: bold;
	color: #333;
	font-size: 14px;
}

.point_modal_table td {
	color: #666;
	font-size: 14px;
}

.point_modal_table tbody tr:last-child td {
	border-bottom: none;
}

.point_modal_table tbody tr:hover {
	background-color: #f9f9f9;
}

/* 입력형 옵션 스타일 */
.input_option_value {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 14px;
	transition: border-color 0.3s;
	width: 100%;
	box-sizing: border-box;
}

.input_option_value:focus {
	outline: none;
	border-color: #007bff;
}

/* 옵션 버튼 스타일 */
.option-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 5px;
}

.it_option_btn {
	padding: 8px 16px;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #333;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: all 0.3s ease;
	min-width: 80px;
}

.it_option_btn:hover {
	border-color: #8e31b9;
	color: #8e31b9;
	background-color: #f9f5ff;
}

.it_option_btn.active {
	border-color: #8e31b9;
	background-color: #8e31b9;
	color: #fff;
}

.it_option_btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.it_option_btn:disabled:hover {
	border-color: #ddd;
	color: #333;
	background-color: #fff;
}

/* 옵션 셀렉트박스 스타일 (버튼과 유사한 디자인) */
select.it_option {
	padding: 8px 40px 8px 16px;
	height: 40px;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #333;
	border-radius: 4px;
	font-size: 14px;
	transition: all 0.3s ease;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	min-width: 150px;
	width: 100%;
	box-sizing: border-box;
	line-height: 24px;
}

select.it_option:hover {
	border-color: #8e31b9;
	color: #8e31b9;
	background-color: #f9f5ff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%238e31b9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select.it_option:focus {
	outline: none;
	border-color: #8e31b9;
	background-color: #f9f5ff;
	box-shadow: 0 0 0 3px rgba(142, 49, 185, 0.1);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%238e31b9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}


select.it_option:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background-color: #f5f5f5;
	border-color: #ddd;
	color: #999;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

select.it_option:disabled:hover {
	border-color: #ddd;
	color: #999;
	background-color: #f5f5f5;
}

select.it_option option {
	padding: 8px;
	background-color: #fff;
	color: #333;
}

select.it_option option:first-child {
	color: #999;
}

select.it_option option:checked {
	background-color: #8e31b9;
	color: #fff;
}

/* 옵션 이미지 관련 스타일 */
.option-image {
	display: none; /* 기본적으로 숨김, 옵션 선택 시 표시 */
}

.option-image.show {
	display: block !important; /* 옵션 선택 시 표시 */
}

/* 선택된 이미지 스타일 */
#product_images_list li.active {
	border: 2px solid #8e31b9;
	box-sizing: border-box;
}

#product_images_list li.active img {
	opacity: 1;
}

#product_images_list li:not(.active) img {
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

#product_images_list li:not(.active):hover img {
	opacity: 1;
}

/* Sticky Product Header */
.sticky_product_header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #fff;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 10000;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	opacity: 0;
	visibility: hidden;
}

.sticky_product_header.visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.sticky_product_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 15px;
}

.sticky_product_image {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 5px;
	overflow: hidden;
	background-color: #f5f5f5;
}

.sticky_product_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sticky_product_info {
	flex: 1;
	min-width: 0;
}

.sticky_product_name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
	margin-bottom: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.4;
}

.sticky_product_price {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.sticky_price_original {
	font-size: 13px;
	color: #999;
	text-decoration: line-through;
}

.sticky_price_sale {
	font-size: 16px;
	font-weight: 600;
	color: #8e31b9;
}

.sticky_price_discount {
	font-size: 13px;
	font-weight: 600;
	color: #ff4757;
	background-color: #fff5f5;
	padding: 2px 6px;
	border-radius: 3px;
}

.sticky_product_btn {
	flex-shrink: 0;
}

.btn_sticky_buy {
	display: inline-block;
	padding: 10px 24px;
	background-color: #8e31b9;
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	transition: background-color 0.3s ease;
	white-space: nowrap;
}

.btn_sticky_buy:hover {
	background-color: #7a2a9a;
	color: #ffffff !important;
	text-decoration: none;
}

/* Sticky Navigation Menu */
.sticky_nav_menu {
	position: fixed;
	top: 80px; /* sticky header 높이만큼 아래 */
	left: 0;
	right: 0;
	background-color: #fff;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
	opacity: 0;
	visibility: hidden;
}

.sticky_nav_menu.visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}

.sticky_nav_container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.sticky_nav_menu ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.sticky_nav_menu li {
	flex: 1;
	text-align: center;
}

.sticky_nav_item {
	display: block;
	padding: 15px 20px;
	color: #666;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: all 0.3s ease;
	border-bottom: 3px solid transparent;
	position: relative;
}

.sticky_nav_item:hover {
	color: #8e31b9;
	background-color: #f9f5ff;
}

.sticky_nav_item.active {
	color: #8e31b9;
	border-bottom-color: #8e31b9;
	font-weight: 600;
}

/* Section Header (스마트스토어 스타일) */
.section_header {
	padding: 20px 0;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 30px;
}

.section_title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0;
	padding: 0;
}

/* 반응형 */
@media (max-width: 768px) {
	.sticky_product_container {
		padding: 8px 10px;
		gap: 10px;
	}
	
	.sticky_product_image {
		width: 50px;
		height: 50px;
	}
	
	.sticky_product_name {
		font-size: 13px;
	}
	
	.sticky_price_sale {
		font-size: 15px;
	}
	
	.sticky_price_original {
		font-size: 12px;
	}
	
	.sticky_price_discount {
		font-size: 12px;
		padding: 1px 4px;
	}
	
	.btn_sticky_buy {
		padding: 8px 16px;
		font-size: 13px;
	}
	
	.sticky_nav_menu {
		top: 66px; /* 모바일에서 sticky header 높이 조정 */
	}
	
	.sticky_nav_item {
		padding: 12px 10px;
		font-size: 13px;
	}
	
	.sticky_nav_container {
		padding: 0 10px;
	}
}

/* ============================================
   상품평 섹션 스타일
   ============================================ */

/* 상품리뷰 섹션 */
.product-review-section {
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	margin-bottom: 30px;
	border: 1px solid #e8ecef;
}

/* 리뷰 포인트 정보 */
.review-point-info {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8ecef;
}

.review-point-text {
	font-size: 13px;
	color: #666;
	line-height: 1.8;
	margin: 0;
}

.review-point-text span {
	margin-right: 15px;
	color: #8e31b9;
	font-weight: 500;
}

/* 리뷰 통계 컨테이너 */
.review-stats-container {
	display: flex;
	gap: 40px;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #e8ecef;
}

.review-stats-left {
	flex: 0 0 300px;
}

.review-stats-right {
	flex: 1;
}

/* 사용자 총 평점 */
.review-total-rating {
	text-align: center;
	margin-bottom: 20px;
}

.rating-stars-large {
	font-size: 36px;
	color: #ff4757;
	letter-spacing: 2px;
	margin-bottom: 10px;
	line-height: 1;
}

.rating-score {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 5px;
	margin-bottom: 8px;
}

.rating-avg {
	font-size: 32px;
	font-weight: 700;
	color: #333;
}

.rating-max {
	font-size: 20px;
	color: #999;
}

.rating-recent {
	font-size: 13px;
	color: #666;
}

/* 전체 리뷰수 */
.review-total-count {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px;
	background: #f8f9fa;
	border-radius: 6px;
}

.review-count-icon {
	font-size: 20px;
}

.review-count-number {
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

/* 평점 비율 */
.rating-distribution {
	padding: 15px 0;
}

.rating-dist-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.rating-dist-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.rating-dist-label {
	font-size: 13px;
	color: #666;
	width: 30px;
	flex-shrink: 0;
}

.rating-dist-bar {
	flex: 1;
	height: 24px;
	background: #f0f0f0;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
}

.rating-dist-bar-fill {
	height: 100%;
	background: #ff4757;
	border-radius: 12px;
	transition: width 0.3s ease;
}

.rating-dist-item:nth-child(2) .rating-dist-bar-fill {
	background: #ff4757;
}

.rating-dist-item:nth-child(3) .rating-dist-bar-fill,
.rating-dist-item:nth-child(4) .rating-dist-bar-fill,
.rating-dist-item:nth-child(5) .rating-dist-bar-fill,
.rating-dist-item:nth-child(6) .rating-dist-bar-fill {
	background: #e0e0e0;
}

.rating-dist-count {
	font-size: 13px;
	color: #666;
	width: 40px;
	text-align: right;
	flex-shrink: 0;
}

/* 다른 구매자 평가 */
.buyer-feedback-section {
	margin-top: 20px;
}

.buyer-feedback-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 15px;
}

.buyer-feedback-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.feedback-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 16px;
	background: #f8f9fa;
	border: 1px solid #e8ecef;
	border-radius: 20px;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	transition: all 0.3s ease;
}

.feedback-tag:hover {
	background: #f0f0f0;
	border-color: #8e31b9;
}

.feedback-percent {
	color: #8e31b9;
	font-weight: 600;
}

.feedback-count {
	color: #999;
	font-size: 12px;
}

/* 스토어 PICK 섹션 */
.store-pick-section {
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	margin-bottom: 30px;
	border: 1px solid #e8ecef;
}

.store-pick-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e8ecef;
}

.store-pick-slider {
	position: relative;
	min-height: 200px;
}

.store-pick-page {
	display: none;
}

.store-pick-page.active {
	display: block;
}

.store-pick-item {
	padding: 20px;
	border: 1px solid #e8ecef;
	border-radius: 8px;
	margin-bottom: 15px;
	background: #fafbfc;
}

.pick-item-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.pick-user {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.pick-date {
	font-size: 13px;
	color: #999;
}

.pick-color {
	font-size: 13px;
	color: #8e31b9;
	background: #f9f5ff;
	padding: 4px 10px;
	border-radius: 12px;
}

.pick-item-content {
	display: flex;
	gap: 15px;
}

.pick-item-text {
	flex: 1;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

.pick-item-image {
	position: relative;
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	border-radius: 6px;
	overflow: hidden;
}

.pick-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pick-image-count {
	position: absolute;
	top: 5px;
	right: 5px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
}

.store-pick-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.pick-nav-btn {
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 50%;
	font-size: 20px;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
}

.pick-nav-btn:hover {
	border-color: #8e31b9;
	color: #8e31b9;
	background: #f9f5ff;
}

.pick-page-info {
	font-size: 14px;
	color: #666;
}

.pick-current-page {
	font-weight: 600;
	color: #8e31b9;
}

/* 포토 갤러리 섹션 */
.photo-gallery-section {
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	margin-bottom: 30px;
	border: 1px solid #e8ecef;
}

.photo-gallery-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
}

.photo-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
}

.photo-gallery-item {
	position: relative;
	aspect-ratio: 1;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
}

.photo-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.photo-gallery-item:hover img {
	transform: scale(1.05);
}

.photo-gallery-more {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 600;
}

/* 리뷰 목록 섹션 */
.review-list-section {
	background: #fff;
	border-radius: 8px;
	padding: 30px;
	border: 1px solid #e8ecef;
}

.review-list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e8ecef;
}

.review-list-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.review-sort-options {
	display: flex;
	gap: 15px;
}

.sort-option {
	font-size: 14px;
	color: #666;
	text-decoration: none;
	padding: 6px 12px;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.sort-option:hover {
	color: #8e31b9;
	background: #f9f5ff;
}

.sort-option.active {
	color: #8e31b9;
	font-weight: 600;
	background: #f9f5ff;
}

.review-filter-options {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	align-items: center;
}

.filter-select {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	background: #fff;
	color: #333;
	cursor: pointer;
}

.filter-btn {
	padding: 8px 16px;
	border: 1px solid #ddd;
	background: #fff;
	color: #666;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-btn:hover {
	border-color: #8e31b9;
	color: #8e31b9;
	background: #f9f5ff;
}

.filter-btn.active {
	border-color: #8e31b9;
	background: #8e31b9;
	color: #fff;
}

/* 리뷰 아이템 */
.review-item {
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 20px 0;
	border-bottom: 1px solid #e8ecef;
	position: relative;
}

.review-item:hover {
	background: #f9f9f9;
}

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

.review-item-best {
	background: #f9f5ff;
	border-left: 3px solid #8e31b9;
	padding-left: 17px;
	margin-left: -20px;
	margin-right: -20px;
	padding-right: 20px;
}

.review-item-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 12px;
}

.review-item-user {
	display: flex;
	align-items: center;
	gap: 10px;
}

.review-user-id {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.review-best-badge {
	display: inline-block;
	background: #8e31b9;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	margin-right: 8px;
	vertical-align: middle;
}

.review-date {
	font-size: 13px;
	color: #999;
}

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

.review-stars {
	font-size: 16px;
	color: #ff4757;
	letter-spacing: 1px;
}

.review-score-num {
	font-size: 14px;
	color: #666;
}

.review-report-btn {
	font-size: 12px;
	color: #999;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px 8px;
}

.review-report-btn:hover {
	color: #666;
}

.review-item-option {
	margin-bottom: 10px;
}

.review-option-color {
	display: inline-block;
	font-size: 13px;
	color: #8e31b9;
	background: #f9f5ff;
	padding: 4px 10px;
	border-radius: 12px;
}

.review-item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.review-tag {
	font-size: 12px;
	color: #666;
	background: #f8f9fa;
	padding: 4px 10px;
	border-radius: 12px;
}

.review-item-photo {
	margin-bottom: 12px;
}

.review-item-photo img,
.review-item-photo video {
	max-width: 100px;
	max-height: 100px;
	border-radius: 4px;
	margin-right: 5px;
	cursor: pointer;
}

.review-item-photo video {
	object-fit: cover;
}

.review-item-text {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 12px;
}

.review-item-footer {
	display: flex;
	align-items: center;
}

.review-like-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 4px;
	font-size: 13px;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
}

.review-like-btn:hover {
	border-color: #8e31b9;
	color: #8e31b9;
	background: #f9f5ff;
}

.like-icon {
	font-size: 16px;
}

.like-count {
	font-size: 13px;
}

/* 나에게 맞는 리뷰 찾기 */
.personalized-review-section {
	background: #f8f9fa;
	border: 1px solid #e8ecef;
	border-radius: 6px;
	padding: 15px;
	margin-bottom: 15px;
}

.personalized-review-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.personalized-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
}

.personalized-close {
	background: none;
	border: none;
	font-size: 20px;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.personalized-close:hover {
	color: #333;
}

.personalized-tags {
	display: flex;
	gap: 8px;
}

.personalized-tag {
	font-size: 13px;
	color: #8e31b9;
	background: #fff;
	padding: 6px 12px;
	border-radius: 12px;
	border: 1px solid #e8ecef;
}

/* 리뷰 클렌징 시스템 메시지 */
.review-cleansing-msg {
	font-size: 13px;
	color: #999;
	text-align: center;
	padding: 10px;
	margin-bottom: 15px;
}

/* 리뷰 이미지 캐러셀 팝업 */
.review-carousel-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.carousel-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(2px);
}

.carousel-container {
	position: relative;
	width: 90%;
	max-width: 900px;
	max-height: 90vh;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	z-index: 10001;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #e8ecef;
	background: #fff;
}

.carousel-title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.carousel-close {
	width: 32px;
	height: 32px;
	background: transparent;
	color: #666;
	border: none;
	font-size: 28px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
	padding: 0;
	line-height: 1;
}

.carousel-close:hover {
	color: #333;
}

.carousel-review-info {
	padding: 20px;
	background: #fff;
	border-bottom: 1px solid #e8ecef;
}

.carousel-review-user-info {
	margin-bottom: 12px;
}

.carousel-review-user {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.carousel-product-name {
	font-size: 14px;
	color: #666;
	margin-bottom: 12px;
	line-height: 1.5;
}

.carousel-review-text {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 15px;
	word-break: break-word;
}

.carousel-review-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.carousel-review-date {
	font-size: 13px;
	color: #999;
}

.carousel-review-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1;
}

.carousel-tag {
	font-size: 12px;
	color: #666;
	background: #f0f0f0;
	padding: 4px 10px;
	border-radius: 12px;
	border: 1px solid #e0e0e0;
}

.carousel-helpful-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 4px;
	font-size: 13px;
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
}

.carousel-helpful-btn:hover {
	border-color: #8e31b9;
	color: #8e31b9;
	background: #f9f5ff;
}

.helpful-icon {
	font-size: 16px;
}

.helpful-text {
	font-size: 13px;
}

.carousel-image-area {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	min-height: 600px;
	overflow: hidden;
}

.carousel-image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

.carousel-image-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.carousel-image-item.active {
	display: flex !important;
	z-index: 1;
	opacity: 1;
}

.carousel-media {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.carousel-image-item img.carousel-media {
	max-width: calc(100% - 40px);
	max-height: calc(100% - 40px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	background: transparent;
}

.carousel-image-item video.carousel-media {
	max-width: calc(100% - 40px);
	max-height: calc(100% - 40px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	background: #000;
}

.carousel-review-text {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid #e8ecef;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	max-height: 200px;
	overflow-y: auto;
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	font-size: 28px;
	color: #333;
	cursor: pointer;
	z-index: 10002;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.carousel-nav:hover {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.carousel-prev {
	left: 20px;
}

.carousel-next {
	right: 20px;
}

.carousel-thumbnails {
	display: flex;
	gap: 8px;
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #e8ecef;
	overflow-x: auto;
	justify-content: center;
}

.carousel-thumbnail-item {
	width: 60px;
	height: 60px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.carousel-thumbnail-item:hover {
	border-color: #8e31b9;
	transform: scale(1.05);
}

.carousel-thumbnail-item.active {
	border-color: #8e31b9;
}

.carousel-thumbnail-media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.carousel-footer {
	padding: 15px 20px;
	background: #fff;
	border-top: 1px solid #e8ecef;
	text-align: center;
}

.carousel-view-list-btn {
	padding: 10px 20px;
	background: #8e31b9;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.carousel-view-list-btn:hover {
	background: #7a2a9f;
}

/* 포토 갤러리 이미지 클릭 가능 */
.photo-gallery-item {
	cursor: pointer;
	transition: transform 0.3s ease;
}

.photo-gallery-item:hover {
	transform: scale(1.05);
}

.gallery-photo-item {
	cursor: pointer;
}

.review-photo-item {
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.review-photo-item:hover {
	opacity: 0.8;
}

/* 반응형 */
@media (max-width: 768px) {
	.product-review-section,
	.store-pick-section,
	.photo-gallery-section,
	.review-list-section {
		padding: 20px 15px;
	}
	
	.carousel-container {
		width: 100%;
		max-width: 100%;
		max-height: 100vh;
		border-radius: 0;
	}
	
	.carousel-image-area {
		min-height: 300px;
	}
	
	.carousel-image-item {
		padding: 20px;
	}
	
	.carousel-nav {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}
	
	.carousel-prev {
		left: 10px;
	}
	
	.carousel-next {
		right: 10px;
	}
	
	.carousel-review-info {
		padding: 15px;
	}
	
	.carousel-close {
		top: 10px;
		right: 10px;
		width: 35px;
		height: 35px;
		font-size: 20px;
	}
	
	.review-stats-container {
		flex-direction: column;
		gap: 30px;
	}
	
	.review-stats-left {
		flex: 1;
	}
	
	.pick-item-content {
		flex-direction: column;
	}
	
	.pick-item-image {
		width: 100%;
		height: 200px;
	}
	
	.photo-gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	}
	
	.review-list-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}
	
	.review-sort-options {
		width: 100%;
		flex-wrap: wrap;
	}
	
	.review-filter-options {
		flex-direction: column;
		align-items: stretch;
	}
	
	.filter-select,
	.filter-btn {
		width: 100%;
	}
}

/* 구매확정 버튼 스타일 */
.btn_final_confirm {
	background-color: #4CAF50 !important;
	color: #fff !important;
	border: 1px solid #4CAF50 !important;
	padding: 6px 14px !important;
	border-radius: 4px !important;
	font-weight: 500 !important;
	display: inline-block !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}
.btn_final_confirm:hover {
	background-color: #45a049 !important;
	border-color: #45a049 !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* 리뷰작성 버튼 스타일 */
.btn_review_write {
	background-color: #2196F3 !important;
	color: #fff !important;
	border: 1px solid #2196F3 !important;
	padding: 6px 14px !important;
	border-radius: 4px !important;
	font-weight: 500 !important;
	display: inline-block !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}
.btn_review_write:hover {
	background-color: #1976D2 !important;
	border-color: #1976D2 !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

/* 상세보기 버튼 스타일 */
.btn_detail_view {
	background-color: #757575 !important;
	color: #fff !important;
	border: 1px solid #757575 !important;
	padding: 6px 14px !important;
	border-radius: 4px !important;
	font-weight: 500 !important;
	display: inline-block !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}
.btn_detail_view:hover {
	background-color: #616161 !important;
	border-color: #616161 !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(117, 117, 117, 0.3);
}

/* 배송조회 버튼 스타일 */
.btn_delivery_inquiry {
	background-color: #9E9E9E !important;
	color: #fff !important;
	border: 1px solid #9E9E9E !important;
	padding: 6px 14px !important;
	border-radius: 4px !important;
	font-weight: 500 !important;
	display: inline-block !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
}
.btn_delivery_inquiry:hover {
	background-color: #757575 !important;
	border-color: #757575 !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(158, 158, 158, 0.3);
}

