/* 인덱스 페이지 모바일 통계 섹션 전용 CSS */
/* 다른 페이지나 PC 버전에 절대 영향 주지 않음 */

/* 고유 클래스명으로 범위 제한 */
.index-mobile-stats-section {
    margin: 2rem 0;
    padding: 0;
}

.index-mobile-stats-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.index-mobile-stats-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6b4a2e;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.index-mobile-stats-title h3 i {
    font-size: 1.4rem;
    color: #8b6f4e;
    filter: drop-shadow(0 2px 4px rgba(139, 111, 78, 0.3));
}

.index-mobile-stats-title p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* 통계 카드 행 */
.index-mobile-stats-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* 통계 카드 기본 스타일 */
.index-mobile-stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8f6f3 100%);
    border: 1px solid #e8e0d8;
    border-radius: 12px;
    padding: 1rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(107, 74, 46, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 첫 번째 카드: 평균별점 (작게) */
.index-mobile-stat-card.rating-card {
    flex: 0.9 !important;
}

/* 두 번째 카드: 누적판매1위 (동일 크기) */
.index-mobile-stat-card.sales-card {
    flex: 1 !important;
}

/* 세 번째 카드: 누적리뷰 (첫 번째와 동일하게) */
.index-mobile-stat-card.review-card {
    flex: 0.9 !important;
}

.index-mobile-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6b4a2e, #8b6f4e);
}

.index-mobile-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 74, 46, 0.15);
}

/* 아이콘 스타일 */
.index-mobile-stat-card .stat-icon {
    font-size: 1.2rem;
    margin: 0 auto 0.3rem auto;
    display: block;
    text-align: center;
    filter: drop-shadow(0 1px 3px rgba(180, 148, 106, 0.2));
}

/* 값 텍스트 스타일 */
.index-mobile-stat-card .stat-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b4a2e;
    margin-bottom: 0.2rem;
    display: block;
    line-height: 1.1;
}

/* 라벨 텍스트 스타일 */
.index-mobile-stat-card .stat-label {
    font-size: 0.7rem;
    color: #8b6f4e;
    font-weight: 500;
    display: block;
    line-height: 1.2;
}

/* 최근 리뷰 미리보기 테이블 */
.index-mobile-recent-reviews {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(107, 74, 46, 0.1);
}

.index-mobile-recent-reviews h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #6b4a2e;
    margin-bottom: 0.8rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.index-mobile-recent-reviews h4 i {
    font-size: 1.1rem;
    color: #8b6f4e;
}

.index-mobile-reviews-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.index-mobile-reviews-table th {
    background: rgba(107, 74, 46, 0.1);
    color: #6b4a2e;
    font-weight: 600;
    padding: 0.5rem 0.3rem;
    text-align: center;
    border-bottom: 1px solid #e8e0d8;
}

.index-mobile-reviews-table td {
    padding: 0.4rem 0.3rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.index-mobile-reviews-table .review-title {
    text-align: left;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.index-mobile-reviews-table .review-rating {
    color: #ff6b35;
    font-size: 0.7rem;
}

.index-mobile-reviews-table .review-date {
    font-size: 0.65rem;
    color: #999;
}

/* 반응형 브레이크포인트 */

/* 중형 모바일 (375px - 480px) */
@media (max-width: 480px) {
    .index-mobile-stats-title h3 {
        font-size: 1.2rem;
    }
    
    .index-mobile-stats-title h3 i {
        font-size: 1.3rem;
    }
    
    .index-mobile-stat-card {
        padding: 0.8rem 0.3rem;
    }
    
    .index-mobile-stat-card .stat-icon {
        font-size: 1.1rem;
        margin: 0 auto 0.3rem auto;
        text-align: center;
    }
    
    .index-mobile-stat-card .stat-value {
        font-size: 0.85rem;
    }
    
    .index-mobile-stat-card .stat-label {
        font-size: 0.65rem;
    }
    
    .index-mobile-reviews-table {
        font-size: 0.7rem;
    }
    
    .index-mobile-reviews-table th,
    .index-mobile-reviews-table td {
        padding: 0.3rem 0.2rem;
    }
}

/* 소형 모바일 (320px - 374px) */
@media (max-width: 374px) {
    .index-mobile-stats-title h3 {
        font-size: 1.1rem;
    }
    
    .index-mobile-stats-title h3 i {
        font-size: 1.2rem;
    }
    
    .index-mobile-stat-card {
        padding: 0.6rem 0.2rem;
    }
    
    .index-mobile-stat-card .stat-icon {
        font-size: 1rem;
        margin: 0 auto 0.3rem auto;
        text-align: center;
    }
    
    .index-mobile-stat-card .stat-value {
        font-size: 0.8rem;
    }
    
    .index-mobile-stat-card .stat-label {
        font-size: 0.6rem;
    }
    
    .index-mobile-reviews-table {
        font-size: 0.65rem;
    }
    
    .index-mobile-reviews-table th,
    .index-mobile-reviews-table td {
        padding: 0.25rem 0.15rem;
    }
    
    .index-mobile-reviews-table .review-title {
        max-width: 100px;
    }
} 