/**
 * بعد از petboom-part-2/css/profile.css — خنثی‌کردن باکس خاکستری ووکامرس روی دیدگاه‌های petboom.
 * کلاس‌ها: .food-plan-comments-petboom (قدیمی) + .petboom-wc-comments (food + edu).
 */
section.comments-section.food-plan-comments-petboom .comment,
section.comments-section.food-plan-comments-petboom .comment.replay,
section.comments-section.petboom-wc-comments .comment,
section.comments-section.petboom-wc-comments .comment.replay {
  display: block !important;
  flex-direction: unset !important;
}

/* معادل profile: بدون padding / border / radius؛ فقط position + فاصله عمودی */
section.comments-section.food-plan-comments-petboom .comment > .container,
section.comments-section.food-plan-comments-petboom .comment.replay > .container,
section.comments-section.petboom-wc-comments .comment > .container,
section.comments-section.petboom-wc-comments .comment.replay > .container,
section.comments-section.petboom-wc-comments .comment-sec#comments .comment > .container,
section.comments-section.petboom-wc-comments .comment-sec#comments .comment.replay > .container {
  position: relative !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px !important;
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

section.comments-section.food-plan-comments-petboom .comment > .replay,
section.comments-section.petboom-wc-comments .comment > .replay {
  position: relative !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 20px !important;
  border: none !important;
  border-width: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* فرم petboom */
section.comments-section.food-plan-comments-petboom .comment-form textarea,
section.comments-section.food-plan-comments-petboom .comment-form input.inp,
section.comments-section.petboom-wc-comments .comment-form textarea,
section.comments-section.petboom-wc-comments .comment-form input.inp {
  width: auto !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  section.comments-section.food-plan-comments-petboom .comment > .container,
  section.comments-section.petboom-wc-comments .comment > .container {
    background-color: #fff !important;
    z-index: 21 !important;
  }
}

/* آواتار حرفی: دایره ثابت — پاسخ‌ها گاهی بیضی می‌شدند (فلکس / قد نامحدود) */
section.comments-section.food-plan-comments-petboom .comment .info,
section.comments-section.petboom-wc-comments .comment .info {
  align-items: flex-start !important;
}

section.comments-section.food-plan-comments-petboom .comment .info .pic.rbc,
section.comments-section.petboom-wc-comments .comment .info .pic.rbc {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  box-sizing: border-box !important;
  border-radius: 100vmax !important;
  overflow: hidden !important;
  aspect-ratio: 1 / 1 !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
  align-self: flex-start !important;
}

section.comments-section.food-plan-comments-petboom .comment.replay .info .pic.rbc,
section.comments-section.petboom-wc-comments .comment.replay .info .pic.rbc {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  flex: 0 0 32px !important;
}
