/* ========== COMMENTS ========== */
.comments-section {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding: 2rem 20px;
    border-top: 1px solid var(--border);
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-title i {
    color: var(--accent);
}

.comments-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Comment Form */
.comment-form {
    margin-bottom: 2rem;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: all var(--transition);
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139,58,58,0.06);
    background: var(--bg-white);
}

.comment-form textarea {
    min-height: 100px;
}

.comment-form .btn-submit {
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.comment-form .btn-submit:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 16px rgba(139,58,58,0.25);
}

.comment-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.comment-error {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.comment-success {
    color: #27ae60;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

/* Comment List */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.comment-item:hover {
    border-color: var(--accent);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-author i {
    font-size: 1.1rem;
}

.comment-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comment-body {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text);
}

.comment-loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.comment-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

@media (max-width: 640px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
}