/* Product conversation: one component and one DOM on mobile and desktop. */
.pd-comments { margin-top: 28px; padding: 24px; border: 1px solid #ece7f1; border-radius: 24px; background: #fff; box-shadow: 0 6px 24px rgba(38,20,65,.04); color: #344054; }
.pd-comments [hidden] { display: none !important; }
.pd-comments .pc-heading { display: flex; align-items: center; gap: 10px; }
.pd-comments .pc-heading h2 { margin: 0; font-size: 22px; font-weight: 650; color: #273147; }
.pd-comments .pc-heading-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 14px; background: #f3eaff; color: #7826cb; font-size: 20px; }
.pd-comments .pc-count { background: #f3eaff; color: #7826cb; border-radius: 999px; padding: 3px 9px; font-size: 13px; }
.pd-comments .pc-intro, .pd-comments .pc-state { color: #667085; font-size: 15px; line-height: 1.5; margin: 12px 0 20px; }
.pd-comments .pc-composer { padding: 18px; border-radius: 18px; background: #f9f7fc; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pd-comments label { font-size: 15px; font-weight: 600; color: #344054; }
.pd-comments textarea { width: 100%; display: block; box-sizing: border-box; min-height: 100px; border: 1px solid #d9d2e5; border-radius: 14px; padding: 12px 14px; background: #fff; color: #344054; font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.pd-comments textarea:focus { outline: 2px solid #aa38ec; outline-offset: 2px; }
.pd-comments .pc-composer-meta { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #667085; }
.pd-comments .pc-primary, .pd-comments .pc-secondary, .pd-comments .pc-action { min-height: 44px; border-radius: 12px; padding: 10px 16px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; }
.pd-comments .pc-primary { background: var(--bs-primary); color: #fff; }
.pd-comments .pc-primary:hover { background: #8b22d2; color: #fff; }
.pd-comments .pc-secondary { background: #f4ecfc; color: #7422b7; margin-top: 16px; }
.pd-comments .pc-action { background: transparent; color: #7422b7; padding-inline: 6px; font-size: 14px; }
.pd-comments button:disabled { opacity: .6; cursor: wait; }
.pd-comments :is(button,a):focus-visible { outline: 2px solid #8b22d2; outline-offset: 3px; }
.pd-comments .pc-login { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px; background: #f9f7fc; border-radius: 18px; font-size: 15px; }
.pd-comments .pc-list { margin-top: 20px; }
.pd-comments .pc-comment { padding: 20px 0; border-top: 1px solid #eee9f4; overflow-wrap: anywhere; }
.pd-comments .pc-author-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pd-comments .pc-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #f2e8fc; color: #7422b7; font-size: 16px; font-weight: 600; }
.pd-comments .pc-author { font-size: 15px; color: #273147; font-weight: 650; }
.pd-comments img.pc-avatar { object-fit: cover; overflow: hidden; }
.pd-comments .pc-date { font-size: 12px; color: #667085; }
.pd-comments .pc-seller-badge { padding: 3px 8px; border-radius: 999px; background: #f3eaff; color: #7422b7; font-size: 12px; font-weight: 600; }
.pd-comments .pc-text { font-size: 16px; line-height: 1.6; white-space: pre-wrap; color: #344054; margin: 12px 0 4px; }
.pd-comments .pc-reply { margin-top: 12px; padding: 14px 16px; border-radius: 0 16px 16px 16px; background: #f7f2fc; }
.pd-comments .pc-reply .pc-text { margin: 8px 0 0; }
.pd-comments .pc-reply-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.pd-comments .pc-reply-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-comments .pc-reply-actions .pc-secondary { margin: 0; }
.pd-comments .pc-feedback { background: #fff4cf; color: #805317; border: 1px solid #ffe49c; border-radius: 12px; padding: 12px 14px; margin-top: 16px; font-size: 15px; line-height: 1.5; }
.pd-comments .pc-feedback.pc-success { background: #edf8f0; color: #24623d; border-color: #cee9d7; }
@media (max-width: 575px) {
  .pd-comments { padding: 18px 16px; border-radius: 22px; }
  .pd-comments .pc-heading h2 { font-size: 20px; }
  .pd-comments .pc-composer { padding: 14px; }
  .pd-comments .pc-composer > .pc-primary, .pd-comments .pc-login .pc-primary { width: 100%; }
  .pd-comments .pc-login { gap: 12px; }
}
