/* ===== صفحه تک ملک ===== */
.row {
	display:flex;
}
.space-between {
	justify-content:space-between;
}
.single-page {
    padding: 30px;
    margin: 0 auto;
}
.single-page .row2 {
    display: flex;
    justify-content: space-between;
}
.consultant-note {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 16px;
}
.delete-property-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'iransans', Tahoma, sans-serif;
    margin-top: 20px;
    transition: 0.2s;
}

.delete-property-btn:hover {
    background: #c82333;
}
.btns {
	flex-wrap:wrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btns button {
    margin: 0;
    border-radius: 10px !important;
}
/* گالری */

.single-page .single-gallery {
    margin-bottom: 30px;
    width: 50%;
    overflow: hidden;
}
.gallery-main {
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 12px;
	height: 400px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

.thumb-img.active,
.thumb-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* هدر */
.single-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.single-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #222;
}

.single-price {
   	font-size: 15px;
    font-weight: 700;
    color: #334155;
    border-right: 2px solid #dfa83f;
    padding-right: 12px;
}

.rent-price {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-top: 5px;
}
.contact-item a {
    text-decoration: none;
    background: #2196F3;
    padding: 4px 10px 3px;
    border-radius: 9999px;
    color: #FFF;
}
/* مشخصات */
.single-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-icon {
    font-size: 18px;
}

.spec-label {
    font-size: 13px;
    color: #252525;
}

.spec-value, .spec-value a {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}
.single-page .card-date {
    font-size: 14px;
    margin-bottom: 1rem;
}

/* بخش‌های عمومی */
.section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f59e0b;
    display: inline-block;
}

/* امکانات */
.single-amenities {
    margin-bottom: 30px;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-badge {
    background: #f0f0f0;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    color: #555;
}

/* توضیحات */
.single-description {
    margin-bottom: 30px;
}

.description-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

/* اطلاعات تماس */
.single-contact {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
}

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.contact-icon {
    font-size: 18px;
}
.gallery-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll-item {
    width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 16px;
    object-fit: cover;
    max-height: 400px;
}
/* گالری اسلایدر */
.single-gallery {
    margin-bottom: 20px;
}

.gallery-slider {
    height: 400px;
}

.gallery-slider .slick-list,
.gallery-slider .slick-track,
.gallery-slide {
    height: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}
.slick-slider .slick-list {
    height: 400px;
}

.slick-slider .slick-track {
    height: 400px;
}
/* تنظیم دکمه‌های قبلی و بعدی در موبایل */
@media (max-width: 768px) {
    .gallery-slider {
        height: 300px;
    }
    
    .gallery-slide img {
        height: 300px;
    }
}
/* ریسپانسیو */
@media (max-width: 600px) {
	.single-page .single-gallery {
		width: 50%;
	}
}
@media (max-width: 600px) {
    .single-page {
        padding: 20px;
    }
    
    .single-title {
        font-size: 18px;
    }
    
    .single-price {
        font-size: 15px;
    }
    
    .single-specs {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px;
    }
    
    .thumb-img {
        width: 55px;
        height: 55px;
    }
    .contact-info {
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 500px) {
	.single-page .row2 {
		flex-flow: column-reverse;
	}
	.single-page .single-gallery {
		width: 100%;
	}
}
@media (max-width: 425px) {
	.single-specs {
        grid-template-columns: repeat(1, 1fr);
	}
}
/* پاپ‌آپ */
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 20px;
    overflow: hidden;
    direction: rtl;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(85vh - 70px);
}

.edit-property-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    margin: 15px 0;
	font-family:iransans;
}

.btn-assign {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
	font-family:iransans;
}
/* امکانات در پاپ‌آپ */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.amenities-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 10px;
    background: #f5f5f5;
    border-radius: 30px;
    transition: 0.2s;
}

.amenities-grid label:hover {
    background: #e0e0e0;
}

.amenities-grid input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.modal-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.save-edit-btn {
    flex: 1;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.cancel-edit-btn {
    flex: 1;
    padding: 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

.cancel-edit-btn:hover {
    background: #5a6268;
}
.property-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* pointer-events: auto; /* پیش‌فرض */
}
.property-modal label {
    font-size: 14px;
}
/* اطلاعات مالک */
.owner-info {
    background: #f8f9fa;
    border-right: 4px solid #f59e0b;
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.owner-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.owner-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.owner-label {
    font-weight: 700;
    color: #333;
    font-size: 14px;
    min-width: 80px;
}

.owner-value {
    color: #555;
    font-size: 14px;
}

.owner-value a {
    color: #a62626;
    text-decoration: none;
}

.owner-value a:hover {
    text-decoration: underline;
}
/* ===== باکس نویسنده ===== */
.author-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: center;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.author-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-color: #e0e8f0;
}

/* آواتار */
.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* اطلاعات نویسنده */
.author-info {
    flex: 1;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e2b3c;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.author-bio {
    font-size: 13px;
    color: #5b6e8c;
    line-height: 1.5;
    margin: 0 0 12px 0;
    opacity: 0.85;
}

/* دکمه تماس */
.author-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2c7da0;
    color: white;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.author-contact-btn:hover {
    background: #1e5a73;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}
.faq-item-edit {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.faq-item-title {
    font-weight: bold;
    color: #333;
}

.remove-faq-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}

.add-faq-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    margin-top: 10px;
}
.faq-item-edit {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.faq-item-title {
    font-weight: bold;
    color: #333;
}
.remove-faq-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}
.add-faq-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    margin-top: 10px;
}
.property-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}
.property-modal-content {
    background-color: #fff;
    margin: 50px auto;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    animation: modalopen 0.3s;
}
@keyframes modalopen {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}
.modal-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}
.input-group {
    margin-bottom: 15px;
}
.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.input-field {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}
.left-text {
    text-align: left;
    direction: ltr;
}
.row-2 {
    display: flex;
    gap: 15px;
}
.row-2 .input-group {
    flex: 1;
}
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}
.save-edit-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
.cancel-edit-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}
/* ریسپانسیو موبایل */
@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 12px;
    }
    
    .author-avatar img {
        width: 70px;
        height: 70px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-bio {
        font-size: 12px;
    }
    
    .author-contact-btn {
        font-size: 12px;
        padding: 5px 14px;
    }
}
/* استایل بخش سوالات متداول در پاپ‌آپ */
#faqs-container {
    margin-top: 5px;
}

.faq-item-edit {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    font-family: 'IRANSans', Tahoma, sans-serif;
}

.faq-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

.faq-item-title {
    font-weight: bold;
    color: #2a5298;
    font-size: 13px;
    font-family: 'IRANSans', Tahoma, sans-serif;
}

.remove-faq-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'IRANSans', Tahoma, sans-serif;
    transition: 0.2s;
}

.remove-faq-btn:hover {
    background: #c82333;
}

.add-faq-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'iransans', Tahoma, sans-serif;
    margin-top: 10px;
    transition: 0.2s;
}

.add-faq-btn:hover {
    background: #218838;
}

.faq-item-edit .input-group {
    margin-bottom: 12px;
}

.faq-item-edit .input-group label {
    font-size: 12px;
    color: #555;
    margin-bottom: 5px;
    display: block;
    font-family: 'IRANSans', Tahoma, sans-serif;
}

.faq-item-edit .faq-question-input,
.faq-item-edit .faq-answer-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'IRANSans', Tahoma, sans-serif;
    box-sizing: border-box;
}

.faq-item-edit .faq-question-input:focus,
.faq-item-edit .faq-answer-input:focus {
    outline: none;
    border-color: #2a5298;
}
/* استایل لودر دکمه */
.save-edit-btn .btn-percent {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0 5px;
    border-radius: 15px;
    margin-right: 5px;
}

.save-edit-btn:disabled {
    cursor: wait;
}
/* دکمه انتشار/پیش‌نویس */
.property-publish-section {
    margin: 20px 0;
    text-align: center;
}

.publish-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'iransans', Tahoma, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.publish-btn.published {
    background: #28a745;
    color: white;
}

.publish-btn.draft {
    background: #ffc107;
    color: #333;
}

.publish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.publish-btn:active {
    transform: scale(0.98);
}

.publish-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.publish-hint {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 8px;
}
/* استایل بریدکرامب - رسپانسیو با اسکرول */
.property-breadcrumb {
    margin-bottom: 20px;
    padding: 12px 0;
    font-size: 14px;
    font-family: 'IRANSans', Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    background: #f8f9fa;
    border-radius: 12px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.property-breadcrumb::-webkit-scrollbar {
    height: 4px;
}

.property-breadcrumb::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.property-breadcrumb::-webkit-scrollbar-thumb {
    background: #2a5298;
    border-radius: 10px;
}

.property-breadcrumb .breadcrumb-inner {
    display: inline-block;
    padding: 0 15px;
}

.property-breadcrumb a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    padding: 4px 0;
}

.property-breadcrumb a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

.property-breadcrumb .sep {
    margin: 0 6px;
    color: #ccc;
    font-size: 12px;
    display: inline-block;
}

.property-breadcrumb .current {
    color: #999;
    font-weight: 500;
    display: inline-block;
}

/* نسخه دسکتاپ - بدون اسکرول */
@media (min-width: 768px) {
    .property-breadcrumb {
        white-space: normal;
        overflow-x: visible;
        background: transparent;
        padding: 10px 0;
    }
    
    .property-breadcrumb .breadcrumb-inner {
        padding: 0;
    }
}
.price-word-display {
	display:none;
}
/* برای موبایل‌های خیلی کوچک */
@media (max-width: 480px) {
    .property-breadcrumb {
        font-size: 12px;
        padding: 8px 0;
        border-radius: 8px;
    }
    
    .property-breadcrumb .sep {
        margin: 0 4px;
    }
}
/* گالری تصاویر در مودال */
#edit_current_gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin: 15px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    min-height: 140px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.remove-gallery-image {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: none;
}

.gallery-item:hover .remove-gallery-image {
    display: block;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 20px;
}

/* Progress Bar */
.upload-progress {
    margin: 15px 0;
}

.progress-bar {
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #2196F3);
    width: 0%;
    transition: width 0.3s ease;
}
/* استایل فیلدهای کارشناس */
.expert-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.expert-accept-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.switch-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #795548;
}

.switch-text {
    font-size: 14px;
    color: #333;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}
/* ===========================================
   باکس نظر کارشناسی - والد: single.php
   =========================================== */

/* والد: single.php یا هر صفحه نمایش ملک */
.single .expert-box,
.single-page .expert-box,
.page-template-single-property .expert-box {
    margin: 30px 0;
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
    direction: rtl;
}

/* والد: single.php - حالت تایید شده (سبز) */
.single .expert-box.approved,
.single-page .expert-box.approved,
.page-template-single-property .expert-box.approved {
    background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e9 100%);
    border-right: 5px solid #2e7d32;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

/* والد: single.php - حالت در انتظار (زرد) */
.single .expert-box.pending,
.single-page .expert-box.pending,
.page-template-single-property .expert-box.pending {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3e0 100%);
    border-right: 5px solid #f57c00;
}

/* ===========================================
   هدر باکس - والد: .expert-box
   =========================================== */

.single .expert-box .expert-box-header,
.single-page .expert-box .expert-box-header,
.page-template-single-property .expert-box .expert-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* آیکون */
.single .expert-box .expert-icon .icon,
.single-page .expert-box .expert-icon .icon,
.page-template-single-property .expert-box .expert-icon .icon {
    font-size: 16px;
}

/* عنوان h2 */
.single .expert-box .expert-title,
.single-page .expert-box .expert-title,
.page-template-single-property .expert-box .expert-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1e2b3c;
    flex: 1;
}

/* نشان تایید */
.single .expert-box .expert-badge,
.single-page .expert-box .expert-badge,
.page-template-single-property .expert-box .expert-badge {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 30px;
    font-weight: 500;
}

/* نشان تایید - حالت سبز */
.single .expert-box.approved .expert-badge,
.single-page .expert-box.approved .expert-badge,
.page-template-single-property .expert-box.approved .expert-badge {
    background: #2e7d32;
    color: white;
}

/* نشان تایید - حالت زرد */
.single .expert-box.pending .expert-badge.pending-badge,
.single-page .expert-box.pending .expert-badge.pending-badge,
.page-template-single-property .expert-box.pending .expert-badge.pending-badge {
    background: #f57c00;
    color: white;
}

/* ===========================================
   محتوای نظر کارشناس - والد: .expert-content
   =========================================== */

.single .expert-box .expert-content,
.single-page .expert-box .expert-content,
.page-template-single-property .expert-box .expert-content {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.single .expert-box .expert-content ul,
.single .expert-box .expert-content ol,
.single-page .expert-box .expert-content ul,
.single-page .expert-box .expert-content ol,
.page-template-single-property .expert-box .expert-content ul,
.page-template-single-property .expert-box .expert-content ol {
    margin: 10px 0 15px 25px;
}

.single .expert-box .expert-content strong,
.single-page .expert-box .expert-content strong,
.page-template-single-property .expert-box .expert-content strong {
    color: #2e7d32;
}

/* ===========================================
   فوتر باکس - والد: .expert-footer
   =========================================== */

.single .expert-box .expert-footer,
.single-page .expert-box .expert-footer,
.page-template-single-property .expert-box .expert-footer {
    margin-top: 20px;
    padding-top: 15px;
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.single .expert-box .stamp,
.single-page .expert-box .stamp,
.page-template-single-property .expert-box .stamp {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(46, 125, 50, 0.15);
    border-radius: 30px;
    color: #2e7d32;
    font-weight: 500;
}

/* ===========================================
   ریسپانسیو (موبایل)
   =========================================== */

@media (max-width: 768px) {
    .single .expert-box,
    .single-page .expert-box,
    .page-template-single-property .expert-box {
        padding: 18px;
        margin: 20px 0;
    }
    
    .single .expert-box .expert-title,
    .single-page .expert-box .expert-title,
    .page-template-single-property .expert-box .expert-title {
        font-size: 18px;
    }
    
    .single .expert-box .expert-icon .icon,
    .single-page .expert-box .expert-icon .icon,
    .page-template-single-property .expert-box .expert-icon .icon {
        font-size: 28px;
    }
    
    .single .expert-box .expert-badge,
    .single-page .expert-box .expert-badge,
    .page-template-single-property .expert-box .expert-badge {
        font-size: 10px;
        padding: 3px 10px;
    }
    
    .single .expert-box .expert-content,
    .single-page .expert-box .expert-content,
    .page-template-single-property .expert-box .expert-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .single .expert-box .expert-box-header,
    .single-page .expert-box .expert-box-header,
    .page-template-single-property .expert-box .expert-box-header {
        gap: 10px;
    }
    
    .single .expert-box .expert-title,
    .single-page .expert-box .expert-title,
    .page-template-single-property .expert-box .expert-title {
        font-size: 16px;
    }
    
    .single .expert-box .expert-badge,
    .single-page .expert-box .expert-badge,
    .page-template-single-property .expert-box .expert-badge {
        font-size: 9px;
    }
}