/* ==== EPCC isolated styles scoped under .epcc-root ==== */
.ep-cat-comments{direction:rtl;margin-top:2.5rem;clear:both}
.epcc-root, .epcc-root * { box-sizing:border-box; }
.epcc-root input, .epcc-root textarea, .epcc-root select, .epcc-root button {
  font: inherit; color: inherit; letter-spacing: inherit;
}

.epcc-root .epcc-container{max-width:1100px;margin:0 auto}
.epcc-root .epcc-title{margin:0 0 1.25rem;font-weight:800;font-size:32px}

.epcc-root .epcc-alert{border-radius:12px;padding:.8rem 1rem;margin:.5rem 0 1rem;font-weight:600}
.epcc-root .epcc-success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}

.epcc-root .epcc-card{background:#fff;border:1px solid #e8eef7;border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.06)}
.epcc-root .epcc-editor{padding:24px}
.epcc-root .epcc-editor-head{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.epcc-root .epcc-avatar{border-radius:50%}
.epcc-root .epcc-editor-name{font-weight:700}
.epcc-root .epcc-editor-sub{font-size:.95rem;color:#6b7280}

.epcc-root .epcc-editor-input{border:2px solid #d9e6ff;background:#f9fbff;border-radius:12px}
.epcc-root .epcc-editor-textarea{width:100%;min-height:160px;border:0;background:transparent;font-size:16px;line-height:1.9}
.epcc-root .epcc-editor-textarea:focus{outline:none}

.epcc-root .epcc-editor-toolbar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eef2f6;margin-top:10px;padding-top:10px}
.epcc-root .epcc-tools .tool{font-weight:800;opacity:.55;margin-inline:6px}
.epcc-root .epcc-editor-right{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
@media (max-width:560px){ .epcc-root .epcc-editor-right{flex-wrap:wrap} }

.epcc-root .epcc-rating{display:flex;flex-direction:row-reverse;gap:6px}
.epcc-root .epcc-rating input{display:none}
.epcc-root .epcc-rating label{cursor:pointer;font-size:26px;color:#cfd8e3 !important;transition:transform .12s ease,color .12s ease}
.epcc-root .epcc-rating label:hover,
.epcc-root .epcc-rating label:hover ~ label{transform:scale(1.06);color:#ffd166 !important}
.epcc-root .epcc-rating input:checked ~ label{color:#ffd166 !important}
.epcc-root .epcc-rating-compact label{font-size:18px}

.epcc-root .epcc-btn{appearance:none;border:0;border-radius:12px;padding:.7rem 1rem;font-weight:800;cursor:pointer;font-size:15px;background:#1677ff;color:#fff;box-shadow:0 8px 18px rgba(22,119,255,.28)}
.epcc-root .epcc-btn:hover{box-shadow:0 10px 22px rgba(22,119,255,.35)}
.epcc-root .epcc-secondary{background:#0ea5e9}

.epcc-root .epcc-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
@media (max-width:640px){ .epcc-root .epcc-grid{grid-template-columns:1fr} }
.epcc-root .epcc-label{display:block;margin-bottom:4px;font-weight:600}
.epcc-root .epcc-input{height:44px;width:100%;border:1px solid #e6e6e6;border-radius:12px;padding:.7rem 1rem;background:#fff;font-size:16px}
.epcc-root .epcc-input:focus{outline:none;border-color:#1677ff;box-shadow:0 0 0 3px rgba(22,119,255,.12)}

.epcc-root .epcc-list{margin-top:18px}
.epcc-root .epcc-item{padding:20px 4px;border-bottom:1px solid #f0f2f5}
.epcc-root .epcc-item:last-child{border-bottom:0}
.epcc-root .epcc-item-head{display:flex;gap:12px;align-items:center}
.epcc-root .epcc-item-meta{display:flex;flex-direction:column;gap:2px}
.epcc-root .epcc-row-1{display:flex;align-items:center;gap:8px}
.epcc-root .epcc-author{font-weight:800;font-size:1.05rem}
.epcc-root .epcc-date{font-size:.95rem;color:#888}
.epcc-root .epcc-item-body{margin:10px 64px 0 0;line-height:2;color:#374151;font-size:1rem}
.epcc-root .epcc-item-foot{display:flex;gap:10px;align-items:center;margin:8px 64px 0 0}
.epcc-root .epcc-reply-toggle{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:10px;padding:.4rem .7rem;cursor:pointer}
.epcc-root .epcc-reply-wrap{margin:10px 64px 0 0}
.epcc-root .epcc-reply-grid{display:flex;flex-direction:column;gap:8px}
.epcc-root .epcc-reply-textarea{width:100%;border:1px solid #e6e6e6;border-radius:12px;padding:.7rem 1rem;background:#fff;font-size:15px;min-height:100px}
.epcc-root .epcc-reply-actions{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}

.epcc-root .epcc-children{margin:10px 64px 0 0;border-left:3px solid #eef2f7;padding-left:18px}
.epcc-root .epcc-item-child .epcc-avatar{width:32px;height:32px}

.epcc-root .epcc-stars-wrap .epcc-star{font-size:18px;line-height:1}
.epcc-root .epcc-star-full{color:#ffd166}
.epcc-root .epcc-star-half{color:#ffd166;opacity:.75}
.epcc-root .epcc-star-empty{color:#e5e7eb}

.epcc-root .epcc-loadmore-wrap{display:flex;justify-content:center;margin-top:14px}
.epcc-root .epcc-loadmore{display:block;background:#f1f59;border:1px solid #e5e7eb;border-radius:10px;padding:.8rem 1.1rem;text-decoration:none;color:#111}
.epcc-root .epcc-loadmore:hover{background:#e5eaf1}
