/* ==========================================================
   فرانت‌اند نظرات کاژه
   ========================================================== */

/* ── ریست و ساختار پایه ────────────────────────────────── */
.kazhe-form-wrap,
.kazhe-list-wrap {
    direction: rtl;
    font-family: inherit;
    max-width: 720px;
    margin: 32px auto;
}

.kazhe-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #1d2327;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kazhe-count {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

/* ── نوتیس‌ها ───────────────────────────────────────────── */
.kazhe-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kazhe-notice--success {
    background: #d1e7dd;
    color: #0a3622;
    border: 1px solid #a3cfbb;
}

.kazhe-notice--error {
    background: #f8d7da;
    color: #58151c;
    border: 1px solid #f1aeb5;
}

.kazhe-notice__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── فرم ────────────────────────────────────────────────── */
.kazhe-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 28px;
}

.kazhe-row {
    display: flex;
    gap: 16px;
}

.kazhe-field {
    margin-bottom: 20px;
}

.kazhe-field--half {
    flex: 1;
    min-width: 0;
}

.kazhe-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.kazhe-required {
    color: #e74c3c;
    margin-right: 2px;
}

.kazhe-input,
.kazhe-select,
.kazhe-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
    color: #1d2327;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    direction: rtl;
}

.kazhe-input:focus,
.kazhe-select:focus,
.kazhe-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #fff;
}

/* اعتبارسنجی */
.kazhe-input.is-invalid,
.kazhe-select.is-invalid,
.kazhe-textarea.is-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.kazhe-field-error {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 18px;
}

.kazhe-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

/* شمارنده کاراکتر */
.kazhe-char-counter {
    text-align: left;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 4px;
}

.kazhe-char-counter.is-warning {
    color: #f39c12;
}

.kazhe-char-counter.is-danger {
    color: #e74c3c;
    font-weight: 600;
}

/* ── آپلود تصویر (دکمه فشرده) ───────────────────────────── */
.kazhe-form__upload-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.kazhe-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    background: #fafafa;
    color: #374151;
    transition: border-color 0.2s, background 0.2s;
}

.kazhe-upload-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.kazhe-upload-filename {
    font-size: 12px;
    color: #6b7280;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



/* ── دکمه ارسال نظر ─────────────────────────────────────── */
button.kazhe-btn.kazhe-btn--primary.kazhe-submit-btn {
    background: #FFC91F;
    color: #002047;
    border-color: #FFC91F;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 201, 31, 0.3);
    transition: all 0.25s ease;
}

button.kazhe-btn.kazhe-btn--primary.kazhe-submit-btn:hover:not(:disabled) {
    background: #002047;
    color: #FFC91F;
    border-color: #002047;
    box-shadow: 0 4px 14px rgba(0, 32, 71, 0.25);
}

button.kazhe-btn.kazhe-btn--primary.kazhe-submit-btn:active:not(:disabled) {
    transform: scale(0.97);
}

button.kazhe-btn.kazhe-btn--primary.kazhe-submit-btn:disabled {
    background: #FFC91F;
    color: #002047;
    opacity: 0.5;
}

/* ── دکمه حذف کسب‌وکار انتخاب‌شده (ضربدر) ──────────────── */
button.kazhe-selected-business__remove {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0;
    margin-right: 6px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

button.kazhe-selected-business__remove:hover {
    color: #FFC91F;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
}






/* پیش‌نمایش */
.kazhe-preview {
    position: relative;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kazhe-preview__img {
    max-width: 180px;
    max-height: 140px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.kazhe-preview__remove {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.kazhe-preview__remove:hover {
    background: #e74c3c;
}

/* ── دکمه‌ها ─────────────────────────────────────────────── */
.kazhe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}

.kazhe-btn--primary {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

.kazhe-btn--primary:hover:not(:disabled) {
    background: #2563eb;
    border-color: #2563eb;
}

.kazhe-btn--outline {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.kazhe-btn--outline:hover:not(:disabled) {
    background: #eff6ff;
}

.kazhe-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* اسپینر */
.kazhe-btn__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: kazhe-spin 0.6s linear infinite;
    flex-shrink: 0;
}

@keyframes kazhe-spin {
    to { transform: rotate(360deg); }
}

/* ── ناحیه ارسال ────────────────────────────────────────── */
.kazhe-submit-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}


/* ── honeypot ────────────────────────────────────────────── */
.kazhe-hp {
    display: none !important;
    position: absolute;
    left: -9999px;
}

/* ── لیست نظرات ─────────────────────────────────────────── */
.kazhe-comments-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kazhe-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.kazhe-empty__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.kazhe-empty__text {
    font-size: 0.95rem;
    margin: 0;
}

/* ── آیتم نظر ───────────────────────────────────────────── */
.kazhe-comment {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    transition: box-shadow 0.2s;
}

.kazhe-comment:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* انیمیشن ورود برای نظرات جدید */
.kazhe-comment--new {
    animation: kazhe-fade-in 0.4s ease;
}

@keyframes kazhe-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kazhe-comment__inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

/* آواتار */
.kazhe-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    user-select: none;
}

.kazhe-comment__body {
    flex: 1;
    min-width: 0;
}

/* هدر */
.kazhe-comment__header {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.kazhe-comment__author {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1d2327;
}

.kazhe-comment__business {
    font-size: 0.82rem;
    color: #6b7280;
}

.kazhe-comment__business-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.kazhe-comment__business-link:hover {
    text-decoration: underline;
}

.kazhe-comment__date {
    margin-right: auto;
    font-size: 0.8rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* محتوا */
.kazhe-comment__content {
    font-size: 0.8rem;
    line-height: 1.75;
    color: #606e84;
    word-break: break-word;
    font-weight: 400; /* ضخامت کمتر متن */
}

/* تصاویر */
.kazhe-comment__images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.kazhe-comment__img {
    border-radius: 6px;
    object-fit: cover;
    width: 120px;
    height: 90px;
    border: 1px solid #e5e7eb;
    transition: opacity 0.2s;
}

.kazhe-comment__img:hover {
    opacity: 0.85;
}

/* ── دکمه بارگذاری بیشتر ────────────────────────────────── */
.kazhe-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.kazhe-load-more {
    min-width: 200px;
}

.kazhe-remaining {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ── ریسپانسیو ──────────────────────────────────────────── */
@media (max-width: 600px) {

    .kazhe-form {
        padding: 18px;
    }

    .kazhe-row {
        flex-direction: column;
        gap: 0;
    }

    .kazhe-comment__header {
        flex-direction: column;
        gap: 4px;
    }

    .kazhe-comment__date {
        margin-right: 0;
    }

    .kazhe-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .kazhe-comment__img {
        width: 90px;
        height: 70px;
    }
}


/* ── Autocomplete جستجوی کسب‌وکار ────────────────────────── */
.kazhe-autocomplete-wrap {
    position: relative;
}

.kazhe-autocomplete-input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fafafa;
    color: #1d2327;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    direction: rtl;
}

.kazhe-autocomplete-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: #fff;
}

.kazhe-autocomplete-input.is-invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

/* وقتی کسب‌وکار انتخاب شده، اینپوت مخفی و نمایش انتخاب */
.kazhe-autocomplete-input.is-selected {
    display: none;
}

/* لیست نتایج */
.kazhe-autocomplete-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 100;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.kazhe-autocomplete-list.is-open {
    display: block;
}

.kazhe-autocomplete-item {
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s;
    direction: rtl;
}

.kazhe-autocomplete-item:hover,
.kazhe-autocomplete-item.is-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.kazhe-autocomplete-item + .kazhe-autocomplete-item {
    border-top: 1px solid #f3f4f6;
}

/* پیام "نتیجه‌ای یافت نشد" */
.kazhe-autocomplete-empty {
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
}

/* پیام "در حال جستجو..." */
.kazhe-autocomplete-loading {
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
}

/* نمایش کسب‌وکار انتخاب‌شده */
.kazhe-selected-business {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #eff6ff;
    border: 1.5px solid #3b82f6;
    border-radius: 6px;
    font-size: 0.93rem;
    color: #1d4ed8;
    font-weight: 600;
}

.kazhe-selected-business.is-visible {
    display: flex;
}

.kazhe-selected-business__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kazhe-selected-business__remove {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 2px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}

.kazhe-selected-business__remove:hover {
    color: #e74c3c;
}

/* ── تگ کسب‌وکار (صفحه دسته‌بندی) ────────────────────────── */
.kazhe-comment__business-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: #3b82f6;
    background: #eff6ff;
    padding: 2px 10px;
    border-radius: 12px;
    margin-top: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    direction: rtl;
}

.kazhe-comment__business-tag:hover {
    background: #dbeafe;
    color: #1d4ed8;
    text-decoration: none;
}

/* ── ریسپانسیو بخش‌های جدید ──────────────────────────────── */
@media (max-width: 600px) {

    .kazhe-autocomplete-list {
        max-height: 180px;
    }

    .kazhe-selected-business {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .kazhe-comment__business-tag {
        font-size: 0.75rem;
        padding: 2px 8px;
    }
}


/* Loading spinner for autocomplete */
.kazhe-autocomplete-loading {
    display: none;
    padding: 12px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.kazhe-autocomplete-loading::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-top-color: #f2994a;
    border-radius: 50%;
    animation: kazhe-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-left: 6px;
}

@keyframes kazhe-spin {
    to { transform: rotate(360deg); }
}


/* ══════════════════════════════════════════════
   سیستم پاسخ نظرات — Reply System Styles
   ══════════════════════════════════════════════ */

/* ── گروه پاسخ‌ها: تورفتگی فقط یک سطح ── */
.kazhe-replies-group {
    margin-right: 40px;
    border-right: 2px solid #e5e7eb;
    padding-right: 15px;
    margin-top: 4px;
}

/* جلوگیری از تورفتگی بیشتر — سطح دوم به بعد صاف می‌ماند */
.kazhe-replies-group .kazhe-replies-group {
    margin-right: 0;
    border-right: 0;
    padding-right: 0;
}

/* ── استایل نظر پاسخ ── */
.kazhe-comment--reply {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 8px;
    margin: 5px 0px;    
}

/* ── نشانگر «در پاسخ به» ── */
.kazhe-comment__reply-to {
    display: inline-block;
    font-size: 0.82em;
    color: #6b7280;
    margin-right: 8px;
    margin-left: 8px;
}

.kazhe-comment__reply-to strong {
    color: #002047;
    font-weight: 600;
}

/* ── ناحیه اکشن‌ها (دکمه پاسخ و ...) ── */
.kazhe-comment__actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── دکمه پاسخ ── */
.kazhe-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    font-size: 0.82em;
    font-weight: 500;
    color: #002047;
    background-color: transparent;
    border: 1.5px solid #002047;
    border-radius: 6px;
    padding: 4px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
}


.kazhe-btn.kazhe-btn--link.kazhe-reply-btn {
    color: #ffc91f;
    background: none;
    font-size: 12px;
    padding: 0;
    border: none;
}
.emoji {
    color: #ffc91f;
}

.kazhe-reply-btn:hover {
    background-color: #FFC91F;
    border-color: #FFC91F;
    color: #002047;
}

.kazhe-reply-btn:active {
    transform: scale(0.96);
}

.kazhe-reply-btn:focus-visible {
    outline: 2px solid #FFC91F;
    outline-offset: 2px;
}

/* ── فرم پاسخ درون‌خطی (وقتی کاربر روی "پاسخ" کلیک می‌کند) ── */
.kazhe-inline-reply-form {
    margin-top: 10px;
    padding: 12px;
    background-color: #f0f4f8;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.kazhe-inline-reply-form .kazhe-reply-indicator {
    font-size: 0.82em;
    color: #6b7280;
    margin-bottom: 8px;
}

.kazhe-inline-reply-form .kazhe-reply-indicator strong {
    color: #002047;
}

/* دکمه لغو پاسخ */
.kazhe-cancel-reply-btn {
    font-family: inherit;
    font-size: 0.8em;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 8px;
    padding: 2px 6px;
    transition: color 0.2s ease;
}

.kazhe-cancel-reply-btn:hover {
    color: #e74c3c;
}

/* ══════════════════════════════════════════════
   ریسپانسیو — موبایل
   ══════════════════════════════════════════════ */
@media (max-width: 600px) {

    .kazhe-replies-group {
        margin-right: 20px;
        padding-right: 10px;
    }

    .kazhe-reply-btn {
        font-size: 0.78em;
        padding: 3px 10px;
    }

    .kazhe-comment--reply {
        padding: 6px;
    }

    .kazhe-inline-reply-form {
        padding: 8px;
    }
}


/* ============================================================
   دکمه مشاهده نظرات بیشتر — با Specificity بالا
   برای غلبه بر استایل پیش‌فرض قالب
============================================================ */

.kazhe-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    padding: 8px 0 4px;
}

/* ── حالت عادی ── */
button.kazhe-load-more,
button.kazhe-load-more[type="button"],
.kazhe-load-more-wrap button.kazhe-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    padding: 11px 30px;
    border: 2px solid #002047;
    border-radius: 10px;
    background-color: #fff;
    color: #002047;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: none;
}

/* ── هاور و فوکوس ── */
button.kazhe-load-more:hover,
button.kazhe-load-more:focus,
button.kazhe-load-more[type="button"]:hover,
button.kazhe-load-more[type="button"]:focus,
.kazhe-load-more-wrap button.kazhe-load-more:hover,
.kazhe-load-more-wrap button.kazhe-load-more:focus {
    background-color: #FFC91F;
    border-color: #FFC91F;
    color: #002047;
    box-shadow: 0 4px 14px rgba(255, 201, 31, 0.35);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── اکتیو (کلیک) ── */
button.kazhe-load-more:active,
button.kazhe-load-more[type="button"]:active,
.kazhe-load-more-wrap button.kazhe-load-more:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 6px rgba(255, 201, 31, 0.2);
    background-color: #FFC91F;
    color: #002047;
}

/* ── Focus Visible (دسترسی‌پذیری) ── */
button.kazhe-load-more:focus-visible,
button.kazhe-load-more[type="button"]:focus-visible {
    outline: 2px solid #FFC91F;
    outline-offset: 3px;
}

/* ── آیکون فلش ── */
.kazhe-load-more .kazhe-load-more-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

button.kazhe-load-more:hover .kazhe-load-more-icon {
    transform: translateY(3px);
}

/* ── تعداد باقی‌مانده ── */
.kazhe-load-more .kazhe-remaining {
    font-size: 0.78rem;
    font-weight: 400;
    color: #6b7280;
    transition: color 0.25s ease;
}

button.kazhe-load-more:hover .kazhe-remaining {
    color: #002047;
}

/* ── اسپینر بارگذاری ── */
.kazhe-load-more .kazhe-load-more-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid #e0e0e0;
    border-top-color: #002047;
    border-radius: 50%;
    animation: kazhe-load-spin 0.6s linear infinite;
}

/* ── حالت لودینگ ── */
button.kazhe-load-more.is-loading,
button.kazhe-load-more.is-loading:hover,
button.kazhe-load-more.is-loading:focus,
button.kazhe-load-more[type="button"].is-loading,
button.kazhe-load-more[type="button"].is-loading:hover,
button.kazhe-load-more[type="button"].is-loading:focus {
    pointer-events: none;
    background-color: #FFC91F;
    border-color: #FFC91F;
    color: #002047;
    opacity: 0.85;
    transform: none;
    box-shadow: none;
}

button.kazhe-load-more.is-loading .kazhe-load-more-icon,
button.kazhe-load-more.is-loading .kazhe-load-more-text,
button.kazhe-load-more.is-loading .kazhe-remaining {
    display: none;
}

button.kazhe-load-more.is-loading .kazhe-load-more-spinner {
    display: inline-block;
}

@keyframes kazhe-load-spin {
    to { transform: rotate(360deg); }
}

/* ── ریسپانسیو ── */
@media (max-width: 600px) {
    button.kazhe-load-more,
    button.kazhe-load-more[type="button"] {
        min-width: 180px;
        padding: 10px 22px;
        font-size: 0.82rem;
        gap: 6px;
        border-radius: 8px;
    }

    .kazhe-load-more .kazhe-load-more-icon {
        width: 16px;
        height: 16px;
    }

    .kazhe-load-more .kazhe-remaining {
        font-size: 0.72rem;
    }

    .kazhe-load-more-wrap {
        margin-top: 20px;
    }
}
