/*
 * BestSkinSpecialists — Comments Stylesheet
 * Brand System v1.0
 */

/* ── COMMENTS SECTION ─────────────────────────────────────── */
#comments {
  padding: 0;
}

.bss-comments-title {
  font-family: var(--f-d);
  font-size: var(--t-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
  line-height: 1.1;
}

/* Comment list */
.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.comment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.comment-author-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--sage-ll);
}

.comment-author-name {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--ink);
}

.comment-date {
  font-family: var(--f-m);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.comment-content {
  font-size: var(--t-sm);
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.75;
}
.comment-content p { margin-bottom: 10px; }
.comment-content p:last-child { margin-bottom: 0; }

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-family: var(--f-m);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-d);
  text-decoration: none;
  transition: color 0.2s;
}
.comment-reply-link:hover { color: var(--sage-dd); }

.children {
  list-style: none;
  margin-top: 16px;
  padding-left: 24px;
  border-left: 2px solid var(--sage-ll);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.children .comment {
  background: var(--surface-2);
}

/* ── COMMENT FORM ─────────────────────────────────────────── */
.comment-respond {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 28px;
  margin-top: 32px;
}

.comment-reply-title {
  font-family: var(--f-d);
  font-size: var(--t-2xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  display: block;
  font-family: var(--f-m);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: var(--f-b);
  font-size: var(--t-sm);
  color: var(--ink);
  background: var(--pearl);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-weight: 300;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--sage-l);
  box-shadow: 0 0 0 3px rgba(78,122,106,0.1);
}
.comment-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

.comment-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comment-form input[type="submit"],
.comment-form .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  background: var(--sage);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--f-b);
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
  align-self: flex-start;
}
.comment-form input[type="submit"]:hover { background: var(--sage-d); transform: translateY(-1px); }

/* No comments placeholder */
.bss-no-comments {
  text-align: center;
  padding: 40px 20px;
  font-size: var(--t-sm);
  color: var(--ink-4);
  font-weight: 300;
}

@media (max-width: 600px) {
  .comment-form-fields { grid-template-columns: 1fr; }
  .comment-respond { padding: 20px; }
}
