/* 리뷰 페이지 전용 스타일 */

/* 리뷰 레이아웃 */
.review-main {
    padding: 2rem 0;
}

.review-main .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

/* 브레드크럼 */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* 리뷰 헤더 */
.review-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.review-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.review-meta {
    display: flex;
    gap: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* 리뷰 컨텐츠 */
.review-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.review-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    color: var(--dark-color);
}

.review-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--dark-color);
}

.review-content p {
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 2rem;
}

/* 비교 테이블 */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: var(--dark-color);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* 장단점 리스트 */
.pros, .cons {
    margin: 1rem 0 2rem;
    padding-left: 2rem;
}

.pros li {
    color: #28a745;
    margin-bottom: 0.5rem;
}

.cons li {
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.pros li::marker {
    content: "✓ ";
}

.cons li::marker {
    content: "✗ ";
}

/* 제품 이미지 */
.product-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.product-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 쿠팡 위젯 */
.coupang-widget {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* 구매 버튼 */
.buy-button-wrapper {
    text-align: center;
    margin: 3rem 0;
}

.buy-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--secondary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.buy-button:hover {
    background-color: #3db8af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

/* 제휴 공지 */
.affiliate-notice {
    margin-top: 3rem;
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #856404;
}

/* 관련 리뷰 */
.related-reviews {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-item h3 {
    padding: 1rem;
    font-size: 1.1rem;
    margin: 0;
}

.related-item a {
    text-decoration: none;
    color: var(--text-color);
}

/* 사이드바 */
.review-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.sidebar-widget h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.popular-reviews {
    list-style: none;
}

.popular-reviews li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-reviews li:last-child {
    border-bottom: none;
}

.popular-reviews a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.popular-reviews a:hover {
    color: var(--primary-color);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .review-main .container {
        grid-template-columns: 1fr;
    }
    
    .review-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .review-title {
        font-size: 2rem;
    }
    
    .review-content {
        font-size: 1rem;
    }
    
    .table-wrapper {
        margin: 1rem -20px;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
    
    .buy-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* 프린트 스타일 */
@media print {
    .main-header,
    .main-footer,
    .review-sidebar,
    .coupang-widget,
    .buy-button-wrapper {
        display: none;
    }
    
    .review-main .container {
        grid-template-columns: 1fr;
    }
}