/* ?�딜 ?�세 ?�이지 ?��???*/
.hotdeal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: var(--surface-color);
    border-radius: 12px;
    transition: background-color 0.3s ease;
    position: relative;
}

.deal-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.deal-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.deal-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    flex-wrap: wrap;
}

.deal-meta span {
    display: flex;
    align-items: center;
}

/* deal-meta ???�본 ?�스??링크 */
.original-post-link-small {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: var(--hover-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.original-post-link-small:hover {
    background: var(--accent-color);
    color: white !important;
    border-color: var(--accent-color);
    text-decoration: none;
}

/* ?�크모드 ?�??*/
[data-theme="dark"] .original-post-link-small {
    background: var(--surface-color);
    border-color: var(--border-light);
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .original-post-link-small:hover {
    background: var(--accent-color);
    color: white !important;
    border-color: var(--accent-color);
}

.deal-action-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    font-size: 14px;
    flex-wrap: wrap;
}

.shop-name {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ?�휴링크 ?�수�??�내 ?�이�?*/
.commission-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    opacity: 0.6;
    cursor: help;
    transition: all 0.3s ease;
}

.commission-info-icon:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: scale(1.05);
}

.commission-info-icon i {
    font-size: 12px;
}

/* ?�팁 ?��???*/
.commission-info-icon::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ?�팁 ?�살??*/
.commission-info-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.commission-info-icon:hover::after,
.commission-info-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ?�크모드 ?�팁 */
[data-theme="dark"] .commission-info-icon::after {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
}

[data-theme="dark"] .commission-info-icon::before {
    border-top-color: rgba(255, 255, 255, 0.95);
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.buy-button {
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background: var(--accent-hover);
    color: white;
}

/* ?�수�??�내 ?��???*/
.commission-notice {
    font-size: 10px;
    color: var(--text-secondary);
    text-align: left;
    margin: 4px 0 0 0;
    line-height: 1.2;
    font-weight: 400;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.iframe-commission-notice {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 12px;
    padding: 8px 12px;
    background: var(--hover-bg);
    border-radius: 6px;
    line-height: 1.4;
    font-weight: 400;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

/* AI 가격비�??�션 ?��???- ?�크모드 ?�용 */
.price-comparison-section {
    margin-top: 30px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.tab-menu {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.ai-price-section {
    margin-top: 30px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.ai-price-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}


.ai-price-content {
    color: var(--text-secondary);
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* AI ?�성 ?�이�??��???- ?�크모드 ?�용 */
.ai-price-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    background: var(--surface-color);
    font-size: 13px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ai-price-content table th,
.ai-price-content table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.ai-price-content table th {
    background: var(--hover-bg);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.ai-price-content table td {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--surface-color);
    transition: all 0.3s ease;
}

.ai-price-content table tr:last-child td {
    border-bottom: none;
}

.ai-price-content table tr:hover td {
    background: var(--hover-bg);
}

/* 가격비�??�약 ?��???- ?�크모드 ?�용 */
.ai-price-content .price-summary {
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--hover-bg);
    border-radius: 6px;
    border-left: 3px solid #28a745;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.4;
    transition: all 0.3s ease;
}


/* 로딩 ?�태 ?��???*/
.ai-price-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-style: italic;
    transition: color 0.3s ease;
}

.ai-price-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ?�품 ?�명 ?�션 - ?�래?�명 변�? deal-content -> product-details */
.product-details {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.content-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.deal-description {
    line-height: 1.6;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.deal-description img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* ?�른 ?�딜 추천 ?�션 ?��???- ?�크모드 ?�용 */
.other-deals-section {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    transition: border-color 0.3s ease;
}

.other-deals-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s ease;
}


.iframe-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--card-shadow);
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.iframe-container iframe {
    width: 100%;
    display: block;
    border: none;
}

.deal-stats {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.category-tag {
    background: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link:hover {
    text-decoration: underline;
}

/* ?�션 버튼??(북마??+ 공유) - ?�측 ?�단 배치 */
.action-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* 북마??버튼 ?��???*/
.bookmark-section {
    position: relative;
    display: inline-block;
}

.bookmark-toggle {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--card-shadow);
}

.bookmark-toggle:hover {
    background: var(--hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--card-shadow);
}

.bookmark-toggle.active {
    background: #ffd700;
    color: #333;
    border-color: #ffd700;
}

.bookmark-toggle.active:hover {
    background: #ffed4e;
}

/* 북마???�니메이???�과 */
.bookmark-toggle.adding {
    animation: bookmarkPulse 0.3s ease-out;
}

.bookmark-toggle.removing {
    animation: bookmarkShake 0.3s ease-out;
}

@keyframes bookmarkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes bookmarkShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* 공유 버튼 ?�션 ?��???- ?�측 ?�단 ?�롭?�운 방식 */
.share-section {
    position: relative;
    display: inline-block;
}

.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-toggle {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--card-shadow);
}

.share-toggle:hover {
    background: var(--hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px var(--card-shadow);
}

.share-toggle.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px var(--card-shadow);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.share-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--surface-color);
}

.share-menu::after {
    content: '';
    position: absolute;
    top: -9px;
    right: 12px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--border-color);
}

.share-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.share-item:hover {
    background: var(--hover-bg);
}

.share-item:first-child {
    border-radius: 8px 8px 0 0;
}

.share-item:last-child {
    border-radius: 0 0 8px 8px;
}

.share-item:first-child:last-child {
    border-radius: 8px;
}

.share-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
    flex-shrink: 0;
}

.share-icon.kakao {
    background: #fee500;
    color: #3c1e1e;
}

.share-icon.facebook {
    background: #1877f2;
    color: white;
}

.share-icon.twitter {
    background: #1da1f2;
    color: white;
}

.share-icon.copy-link {
    background: var(--hover-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.share-text {
    font-weight: 500;
}

/* 복사 ?�료 ?�드�?*/
.share-item.copied .share-icon.copy-link {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.share-item.copied .share-text::after {
    content: ' ✓';
    color: #28a745;
    font-weight: 600;
}

/* 반응???�자??*/
@media (max-width: 768px) {
    .commission-notice {
        font-size: 9px;
        margin-top: 3px;
    }
    
    /* 모바?�에???�휴링크 ?�이�??�기 조정 */
    .commission-info-icon {
        width: 12px;
        height: 12px;
    }
    
    .commission-info-icon i {
        font-size: 10px;
    }
    
    .commission-info-icon::after {
        font-size: 11px;
        padding: 6px 10px;
        margin-bottom: 6px;
    }
    
    .iframe-commission-notice {
        font-size: 11px;
        margin-top: 10px;
        padding: 6px 10px;
    }
    
    .action-buttons {
        top: 15px;
        right: 15px;
        gap: 6px;
    }
    
    .bookmark-toggle,
    .share-toggle {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .share-menu {
        min-width: 140px;
        margin-top: 6px;
    }
    
    .share-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .share-icon {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .hotdeal-container {
        padding: 15px;
        margin: 10px;
    }
    
    .deal-title {
        font-size: 16px;
    }
    
    .deal-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .deal-action-box {
        flex-wrap: wrap;
        gap: 10px;
    }

    .ai-price-section {
        padding: 12px 0;
    }

    .ai-price-content table th,
    .ai-price-content table td {
        padding: 6px 8px;
        font-size: 11px;
    }

    .ai-price-content .price-summary {
        margin-top: 8px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .other-deals-section {
        padding: 15px 0;
        margin-top: 20px;
    }
    
    .other-deals-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .iframe-container {
        max-width: 100%;
        margin: 0 auto;
    }

    /* 모바?�에???�본글 링크 ?��???조정 */
    .original-post-link-small {
        font-size: 9px;
        padding: 1px 4px;
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .iframe-container {
        border-radius: 6px;
    }
    
    .other-deals-title {
        font-size: 13px;
    }
}

/* ===== ?��? ?�스??- 컴팩???�플 ?�자??===== */

/* ?��? ?�션 컨테?�너 */
.comments-section {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin: 16px 0 0 0;
    padding: 12px;
    transition: all 0.2s ease;
}

/* ?��? ?�더 */
.comments-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.comments-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}


/* ?��? 목록 */
.comments-list {
    margin-bottom: 10px;
}

/* 개별 ?��? ?�이??*/
.comment-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    transition: border-color 0.2s ease;
}

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

/* ?��? ?��? */
.comment-item.reply-comment {
    margin-left: 16px;
    padding: 6px 0 6px 10px;
    border-left: 2px solid var(--accent-color);
    border-bottom: none;
    background: var(--hover-bg);
    border-radius: 0 4px 4px 0;
}

/* ?��? ?�더 (?�성?? ?�간, ?��?버튼) */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-author strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.comment-time {
    font-size: 11px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    padding: 2px 6px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.reply-btn:hover {
    background: var(--hover-bg);
}

/* ?��? ?�용 */
.comment-content {
    font-size: 13px;
    line-height: 1.3;
    color: var(--text-primary);
    white-space: pre-line;
    word-break: break-word;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

/* ?��? ?�션 (추천/비추�? */
.comment-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vote-buttons {
    display: flex;
    gap: 8px;
}

.vote-btn {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vote-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.vote-btn.voted.like-btn {
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.vote-btn.voted.dislike-btn {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border-color: #ff4444;
}

.vote-btn i {
    font-size: 10px;
}

.vote-count {
    font-weight: 500;
    min-width: 10px;
    text-align: center;
    font-size: 10px;
}

/* ?��? 컨테?�너 */
.replies-container {
    margin-top: 8px;
}

/* ?��? ?�성 ??*/
.comment-form-section {
    background: var(--hover-bg);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.comment-form .form-row {
    margin-bottom: 8px;
}

.comment-form .form-row input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 12px;
    background: var(--surface-color);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.comment-form .form-row input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

.comment-form .form-row input[data-is-default="true"] {
    color: var(--text-secondary);
    font-style: italic;
}

.comment-form .form-row input[data-is-default="false"] {
    color: var(--text-primary);
    font-style: normal;
    font-weight: 500;
}

.comment-form .form-group {
    margin: 0;
}

.comment-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 12px;
    background: var(--surface-color);
    color: var(--text-primary);
    resize: vertical;
    min-height: 50px;
    line-height: 1.3;
    font-family: inherit;
    transition: all 0.2s ease;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.char-count {
    font-size: 10px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.form-actions button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#submit-comment {
    background: var(--accent-color);
    color: white;
}

#submit-comment:hover:not(:disabled) {
    background: #0056CC;
}

#submit-comment:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

#cancel-reply {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 4px 8px;
    font-size: 10px;
}

#cancel-reply:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

/* ?�보�?버튼 */
.load-more-section {
    text-align: center;
    margin-top: 8px;
}

.load-more-btn {
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.load-more-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

/* 메시지 */
.no-comments, .error-message {
    text-align: center;
    padding: 12px;
    color: var(--text-secondary);
    font-size: 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--hover-bg);
    transition: all 0.2s ease;
}

.error-message {
    color: #ff4444;
    border-color: rgba(255, 68, 68, 0.3);
    background: rgba(255, 68, 68, 0.05);
}

.comment-message {
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-size: 11px;
    transition: all 0.2s ease;
}

.comment-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.comment-message.error {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

/* 모바??반응??- ?�절??공간 ?�보 */
@media (max-width: 768px) {
    .comments-section {
        margin: 14px 0 0 0;
        padding: 12px;
        border-radius: 6px;
    }
    
    .comments-header {
        margin-bottom: 10px;
        padding-bottom: 8px;
    }
    
    .comments-header h3 {
        font-size: 14px;
    }
    
    .comments-header h3::before {
        font-size: 14px;
    }
    
    .comment-item {
        padding: 8px 0;
    }
    
    .comment-item.reply-comment {
        margin-left: 14px;
        padding: 6px 0 6px 10px;
        border-radius: 0 4px 4px 0;
    }
    
    .comment-header {
        margin-bottom: 6px;
    }
    
    .comment-author strong {
        font-size: 13px;
    }
    
    .comment-time {
        font-size: 11px;
    }
    
    .reply-btn {
        padding: 2px 6px;
        font-size: 11px;
    }
    
    .comment-content {
        font-size: 13px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .vote-btn {
        padding: 3px 6px;
        font-size: 11px;
        gap: 2px;
        border-radius: 10px;
    }
    
    .vote-btn i {
        font-size: 10px;
    }
    
    .vote-count {
        min-width: 10px;
        font-size: 10px;
    }
    
    .vote-buttons {
        gap: 8px;
    }
    
    /* 모바????*/
    .comment-form-section {
        padding: 12px;
        margin-top: 10px;
        border-radius: 6px;
    }
    
    .comment-form .form-row {
        margin-bottom: 8px;
    }
    
    .comment-form .form-row input {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    .comment-form .form-row input[data-is-default="true"] {
        color: var(--text-secondary);
        font-style: italic;
    }
    
    .comment-form .form-row input[data-is-default="false"] {
        color: var(--text-primary);
        font-style: normal;
        font-weight: 500;
    }
    
    .comment-form textarea {
        padding: 8px 10px;
        font-size: 12px;
        min-height: 60px;
        border-radius: 4px;
    }
    
    .form-actions {
        margin-top: 8px;
    }
    
    .form-actions button {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 4px;
    }
    
    .char-count {
        font-size: 10px;
    }
    
    .load-more-btn {
        padding: 5px 12px;
        font-size: 11px;
        border-radius: 4px;
    }
}
/* 최저가 차트 - 간결한 디자인 */
.lowest-price-content {
    min-height: 150px;
}

.loading-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.price-chart-compact {
    padding: 16px;
    background: var(--surface-color);
    border-radius: 8px;
}

.chart-intro {
    margin-bottom: 16px;
}

.chart-intro-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.chart-product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.period-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.period-btn {
    padding: 6px 12px;
    background: var(--surface-color);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.period-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.price-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--hover-bg);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
}

.stat-value.min {
    color: #ff4444;
}

.stat-value.max {
    color: #4285f4;
}

.price-chart-container-canvas {
    position: relative;
    height: 300px;
    margin-top: 20px;
    padding: 10px;
}

.price-chart-container-canvas canvas {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    .price-chart-container-canvas {
        height: 250px;
        padding: 5px;
    }
    
    .period-buttons {
        gap: 4px;
    }
    
    .period-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}

.no-data-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    background: var(--hover-bg);
    border-radius: 8px;
}
