.aref-comments{margin:clamp(38px,6vw,82px) auto 0;padding:clamp(22px,3vw,34px);border:1px solid var(--arif-border,#e7eef7);border-radius:28px;background:#fff;box-shadow:0 18px 50px rgba(18,57,96,.06);direction:rtl}
.aref-comments__head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
.aref-comments__eyebrow{display:inline-flex;margin-bottom:7px;color:var(--arif-primary,#1677ea);font-size:13px;font-weight:700}
.aref-comments__head h2{margin:0 0 8px;font-size:clamp(23px,2.6vw,34px);line-height:1.35;color:var(--arif-heading,#14243c)}
.aref-comments__head p{margin:0;color:var(--arif-muted,#8793a5);font-size:13px}
.aref-comments-summary{display:flex;align-items:center;gap:12px;min-width:210px;padding:14px 16px;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#f5fffd);border:1px solid #dceaf7}
.aref-comments-summary>strong{font-size:34px;line-height:1;color:#172b46;font-weight:800}
.aref-comments-summary>div{display:grid;gap:4px}
.aref-comments-summary small{color:#748298;font-size:11px}
.aref-stars{display:inline-flex;direction:ltr;gap:2px;vertical-align:middle}
.aref-star{color:#d9e3ee;font-size:19px;line-height:1}
.aref-star.is-filled{color:#ffb321}
.aref-stars--compact .aref-star{font-size:15px}
.aref-comment-list,.aref-comment-list .children{list-style:none;margin:0;padding:0}
.aref-comment-list{display:grid;gap:16px}
.aref-comment-list .children{margin:14px 54px 0 0;display:grid;gap:12px}
.aref-comment__card{padding:20px;border:1px solid #e5edf5;border-radius:20px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
.aref-comment__card:hover{border-color:#d5e5f7;box-shadow:0 12px 34px rgba(28,66,105,.05)}
.aref-comment__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:14px}
.aref-comment__avatar{width:54px;height:54px;flex:0 0 54px}
.aref-local-avatar__image,.aref-local-avatar__initials{display:grid;place-items:center;width:var(--avatar-size,54px)!important;height:var(--avatar-size,54px)!important;aspect-ratio:1;border-radius:50%;object-fit:cover}
.aref-local-avatar__initials{background:linear-gradient(145deg,#e6f2ff,#dcfbf7);border:1px solid #cde3f7;color:#176ccf;font-weight:800;font-size:calc(var(--avatar-size,54px)*.32);user-select:none}
.aref-comment__identity{min-width:0;display:grid;gap:4px}
.aref-comment__name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.aref-comment__identity strong{font-size:15px;color:#172b46}
.aref-comment__identity time{font-size:11px;color:#929daf}
.aref-comment__badge{display:inline-flex;padding:3px 8px;border-radius:999px;background:#e8f6ff;color:#1677ea;font-size:10px;font-weight:700}
.aref-comment__rating{display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:12px;background:#fff9ec;border:1px solid #f6e7bf;color:#775719;font-size:11px;white-space:nowrap}
.aref-comment__content{color:#536177;font-size:14px;line-height:2}
.aref-comment__content p{margin:0 0 8px}
.aref-comment__content p:last-child{margin-bottom:0}
.aref-comment__moderation{margin:0 0 10px;padding:9px 12px;border-radius:10px;background:#fff8dc;color:#866c18;font-size:12px}
.aref-comment__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:15px;padding-top:13px;border-top:1px solid #edf2f7}
.aref-comment__reply a{display:inline-flex;align-items:center;gap:5px;color:#1677ea;font-size:12px;font-weight:700;text-decoration:none}
.aref-comment__reactions{display:flex;align-items:center;gap:7px;color:#8b97a9;font-size:11px}
.aref-reaction-button{appearance:none;border:1px solid #e2e9f1;background:#fff;border-radius:10px;min-height:32px;padding:4px 9px;color:#536177;font:inherit;cursor:pointer;transition:.2s ease}
.aref-reaction-button:hover,.aref-reaction-button.is-active{border-color:#b9d6f5;background:#f0f7ff;color:#146dcd}
.aref-reaction-button[data-reaction="dislike"].is-active{border-color:#ffd3d3;background:#fff3f3;color:#b54747}
.aref-reaction-button:disabled{opacity:.55;cursor:wait}
.aref-comments-empty,.aref-comments-closed{padding:18px;border:1px dashed #d7e4f0;border-radius:16px;background:#f9fcff;color:#68768a;text-align:center}
.aref-comments-pagination{margin:22px 0}
.aref-comments-pagination .page-numbers{list-style:none;display:flex;justify-content:center;gap:7px;margin:0;padding:0}
.aref-comments-pagination a,.aref-comments-pagination span{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid #e0e8f1;border-radius:10px;color:#536177;text-decoration:none;background:#fff}
.aref-comments-pagination .current{background:#1677ea;border-color:#1677ea;color:#fff}
.aref-comment-form-card{margin-top:30px;padding:clamp(20px,3vw,30px);border-radius:22px;background:linear-gradient(180deg,#f9fcff,#fff);border:1px solid #dfeaf5}
.comment-reply-title{margin:0 0 7px;color:#14243c;font-size:22px}
#cancel-comment-reply-link{margin-right:10px;color:#e05252;font-size:12px;text-decoration:none}
.aref-comment-form__note,.aref-comment-form__logged{margin:0 0 18px;color:#77859a;font-size:12px;line-height:1.9}
.aref-rating-field{margin:0 0 20px;padding:0;border:0}
.aref-rating-field legend{margin-bottom:8px;color:#263b56;font-size:13px;font-weight:700}
.aref-rating-field small{display:block;margin-top:8px;color:#8a96a8;font-size:10px}
.aref-rating-input{display:inline-flex;direction:rtl;gap:4px}
.aref-rating-input input{position:absolute;opacity:0;pointer-events:none}
.aref-rating-input label{font-size:30px;line-height:1;color:#d5dfeb;cursor:pointer;transition:transform .15s ease,color .15s ease}
.aref-rating-input label:hover{transform:translateY(-2px)}
.aref-rating-input label:hover,.aref-rating-input label:hover~label,.aref-rating-input input:checked~label{color:#ffb321}
.aref-comment-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.aref-comment-form>.comment-reply-title,.aref-comment-form>.aref-comment-form__note,.aref-comment-form>.aref-comment-form__logged,.aref-comment-form>.aref-rating-field,.aref-comment-form>.comment-form-comment,.aref-comment-form>.comment-form-cookies-consent,.aref-comment-form>.form-submit{grid-column:1/-1}
.aref-comment-field{display:grid;gap:7px;margin:0}
.aref-comment-field label{font-size:12px;font-weight:700;color:#31465f}
.aref-comment-field input,.aref-comment-field textarea{width:100%;border:1px solid #dce6f0;border-radius:13px;background:#fff;color:#24374e;padding:12px 14px;font:inherit;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.aref-comment-field textarea{min-height:138px;resize:vertical;line-height:1.9}
.aref-comment-field input:focus,.aref-comment-field textarea:focus{border-color:#7db6ef;box-shadow:0 0 0 3px rgba(22,119,234,.09)}
.aref-comment-field small{font-size:10px;color:#97a1b0}
.aref-comment-consent{display:flex;align-items:flex-start;gap:8px;margin:3px 0;color:#77859a;font-size:11px;line-height:1.8}
.aref-comment-consent input{margin-top:5px}
.aref-comment-submit{appearance:none;border:0;border-radius:13px;background:linear-gradient(135deg,#1677ea,#246bdd);color:#fff;padding:12px 22px;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 9px 22px rgba(22,119,234,.18)}
.required{color:#e05252}

@media (max-width:800px){
  .aref-comments{margin-top:34px;padding:18px;border-radius:22px}
  .aref-comments__head{align-items:flex-start;flex-direction:column;margin-bottom:20px}
  .aref-comments-summary{width:100%;min-width:0;justify-content:center}
  .aref-comment-list .children{margin-right:18px}
  .aref-comment__card{padding:16px;border-radius:17px}
  .aref-comment__header{grid-template-columns:auto minmax(0,1fr)}
  .aref-comment__rating{grid-column:1/-1;justify-self:start;margin-right:66px}
  .aref-comment__footer{align-items:flex-start;flex-direction:column}
  .aref-comment__reactions{width:100%;flex-wrap:wrap}
  .aref-comment-form{grid-template-columns:1fr}
  .aref-comment-form>*{grid-column:1!important}
}

@media (max-width:480px){
  .aref-comments{padding:14px;border-radius:18px}
  .aref-comment-list .children{margin-right:10px}
  .aref-comment__avatar{width:46px;height:46px}
  .aref-comment__rating{margin-right:58px}
  .aref-comment__reactions>span{width:100%}
  .aref-rating-input label{font-size:28px}
}
