/* ======================================================
   SINGLE – COMMENTS
====================================================== */

.moto-comments{
  margin-top: 60px;
  padding: 28px;
  background: #f7f7f7;
  border-radius: 16px;
}

/* Header */
.moto-comments-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}
.moto-comments-title{
  font-size: 20px;
  font-weight: 800;
}
.moto-comment-count{
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

/* List reset */
.comment-list,
.comment-list ol{
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Card */
.moto-comment-card{ margin-bottom: 22px; }

.moto-comment-inner{
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #eee;
  transition: box-shadow .25s ease, transform .25s ease;
}
.moto-comment-inner:hover{
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Avatar */
.moto-comment-avatar img{
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

/* Body */
.moto-comment-body{ flex: 1; }

.moto-comment-meta{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.moto-comment-author{
  font-weight: 800;
  font-size: 14px;
}
.moto-comment-date{
  font-size: 12px;
  color: #888;
}
.moto-comment-text{
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Actions */
.moto-comment-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
  font-size: 13px;
}
.comment-reply-link{
  color: #0d47a1;
  font-weight: 700;
  text-decoration: none;
}
.comment-reply-link:hover{ text-decoration: underline; }

/* Thread */
.comment-list .children{
  margin-left: 10px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid #e5e5e5;
  transition: all .25s ease;
}
.comment-list .children:hover{ border-left-color: #dddddd; }

/* Like */
.moto-comment-like{
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: #777;
  transition: transform .2s ease, color .2s ease;
  position: relative;
}
.moto-comment-like:hover{
  color: #d32f2f;
  transform: scale(1.15);
}
.moto-comment-like.liked{
  color: #d32f2f;
  pointer-events: none;
  animation: motoLikePop .3s ease;
}
@keyframes motoLikePop{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.3); }
  100%{ transform: scale(1); }
}
.like-heart{ color: #999; }
.moto-comment-like.liked .like-heart{ color: #d32f2f; }
.like-count{ color: #555; }

/* Collapse badge */
.moto-collapse-toggle{
  display: flex;
  justify-content: flex-end;
  margin: 12px 0;

  font-size: 12px;
  font-weight: 700;
  color: #666;
  cursor: pointer;

  background: #f2f2f2;
  padding: 5px 12px;
  border-radius: 999px;

  width: fit-content;
  margin-left: auto;

  transition: all .25s ease;
}
.moto-collapse-toggle:hover{
  background: #e8e8e8;
  color: #d32f2f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Form */
.moto-comment-form{
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #eee;
  margin-top: 30px;
}
.comment-form textarea{
  width: 100%;
  min-height: 140px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  resize: vertical;
}
.comment-form textarea:focus{
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211,47,47,.12);
  outline: none;
}
.comment-form label{
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}
.moto-comment-submit{
  margin-top: 14px;
  background: #d32f2f;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}
.moto-comment-submit:hover{
  background: #b71c1c;
  transform: translateY(-2px);
}

@media (max-width: 600px){
  .comment-list .children{ margin-left: 10px; }
  .moto-login-actions{ flex-direction: column; }
}

@media (max-width: 768px){
  .moto-comment-like:hover{ transform: none; }
}