/* Scope to standard comments; leave WooCommerce review markup alone. */
#comments.comments-area { margin-block: 24px; padding: 0; }
#comments .title-comments, #comments .comment-reply-title { margin: 0 0 14px; font-size: 20px; line-height: 1.6; }
#comments .comment-list, #comments .comment-list .children { list-style: none !important; }
#comments .comment-list > li, #comments .comment-list .children > li { margin: 0 0 10px !important; padding: 0 !important; }
#comments .comment-list .comment-body {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid var(--om-color-line, #dce7e8) !important;
  border-radius: 12px !important;
  background: var(--om-color-surface, #fff) !important;
  box-shadow: none !important;
}
#comments .comment-list .bypostauthor > .comment-body { border-inline-start: 3px solid var(--om-color-accent, #92842c) !important; }
#comments .comment-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; padding: 0; }
#comments .comment-author, #comments .comment-metadata { margin: 0; padding: 0; line-height: 1.7; }
#comments .comment-author { color: var(--om-color-text, #004851); font-size: 14px; }
#comments .comment-author .fn { font-size: 14px; color: inherit; }
#comments .comment-author .says { display: none; }
#comments .comment-author .avatar { width: 28px; height: 28px; position: static; margin-inline-end: 6px; vertical-align: middle; }
#comments .comment-metadata { color: var(--om-color-muted, #637578); font-size: 12px; }
#comments .comment-metadata a { color: inherit; }
/* pre-wrap was rendering indentation/newlines in WordPress's HTML as tall blank rows. */
#comments .comment-content {
  white-space: normal !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--om-color-text, #263638);
  overflow-wrap: anywhere;
}
#comments .comment-content p { margin: 0 0 8px; padding: 0; }
#comments .comment-content > :first-child { margin-block-start: 0; }
#comments .comment-content > :last-child { margin-block-end: 0; }
#comments .comment-content pre { white-space: pre-wrap; }
#comments .comment-content img { max-width: 100%; height: auto; }
#comments .reply { margin: 8px 0 0; padding: 0; text-align: end; line-height: 1.5; }
#comments .reply .comment-reply-link { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--om-color-line, #c7d9dc) !important; border-radius: 7px !important; background: var(--om-color-soft, #f2f7f7) !important; color: var(--om-color-text, #004851) !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.5; text-decoration: none; box-shadow: none; }
#comments .reply .comment-reply-link:hover { background: #004851 !important; color: #fff !important; }
#comments .comment-list .children,
body.oml-dir-ltr #comments .comment-list .children {
  margin: 10px 0 0 !important;
  margin-inline-start: 18px !important;
  padding: 0 !important;
  padding-inline-start: 12px !important;
  border: 0 !important;
  border-inline-start: 1px solid var(--om-color-line, #d0dfe1) !important;
}
#comments ol.comment-list .children::before { content: none; display: none; }
/* Stop deep threads eating the entire mobile reading column. */
#comments .comment-list .children .children .children,
body.oml-dir-ltr #comments .comment-list .children .children .children { margin-inline-start: 0 !important; padding-inline-start: 0 !important; border-inline-start: 0 !important; }
#comments #respond { margin: 20px 0 0 !important; padding: 18px !important; border: 1px solid var(--om-color-line, #dce7e8) !important; border-radius: 12px !important; background: var(--om-color-surface, #fff) !important; box-shadow: none !important; }
#comments #respond .comment-form { margin: 0; }
#comments #respond .comment-form > p { margin: 0 0 12px; }
#comments #respond label { font-size: 14px; line-height: 1.7; }
#comments #respond textarea { width: 100%; height: 110px; min-height: 100px; padding: 10px 12px; resize: vertical; font-size: 16px; line-height: 1.7; }
#comments #respond input[type="text"], #comments #respond input[type="email"], #comments #respond input[type="tel"] { min-height: 44px; padding: 8px 12px; font-size: 16px; }
#comments #respond .form-submit { margin: 12px 0 0; }
#comments #respond .comment-submit-button { min-height: 44px; min-width: 130px; padding: 8px 18px; font-size: 14px; }
#comments .comment-navigation { margin-block: 12px; }
@media (max-width: 600px) {
  #comments .comment-list .comment-body { padding: 12px !important; border-radius: 10px !important; }
  #comments .comment-meta { gap: 2px 10px; }
  #comments .comment-metadata { font-size: 11px; }
  #comments .comment-list .children, body.oml-dir-ltr #comments .comment-list .children { margin-inline-start: 8px !important; padding-inline-start: 8px !important; }
  #comments #respond { padding: 14px !important; }
  #comments .reply .comment-reply-link { min-height: 44px; padding: 7px 12px; }
}
