

.rp-container {
    margin: 30px 0;
}

/* فیلترها */
.rp-filters {
    background: #d3d3d3;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
   
}

.rp-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    align-items: end;
}

.rp-filter-row input,
.rp-filter-row select {
    padding: 11px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    font-family: 'iransans';
}

.rp-filter-row input:focus,
.rp-filter-row select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
}

.rp-filter-row button {
    background: #c15b1a;
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'iransans';
}

.rp-filter-row button:hover {
    background: #777777;
}

.rp-reset {
    background: #a8a6a4;
    color: white;
    padding: 11px 20px;
    border-radius: 8px;
    text-align: center;
}

.rp-reset:hover {
     background: #777777;
}

/* کارت‌ها */
.rp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.rp-card {
    background: #cfcfcf;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: dashed;
    border-width: 2px;
}

.rp-card:hover {
    transform: translateY(-6px);
 
}

.rp-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rp-no-img {
    width: 100%;
    height: 180px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.rp-card-body {
    padding: 18px;
    flex-grow: 1;
    line-height: 1.4;
}

.rp-card-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: bold;
    color: #b53004;
    line-height: 1.3;
    background: #e2e2e2;
    padding: 5px 5px 5px 0;
}

.rp-card-area {
    margin: 0 0 8px;
    font-size: 13px;
    color: #c65b1e;
    font-weight: 600;
    line-height: 1.3;
}

.rp-card-description {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
   text-align: justify;
}

/* ========== فیلدهای کلیدی با بک‌گراند جدا ========== */
.rp-card-features {
   
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 8px;
    font-size: 13.5px;
}

.rp-card-feature {
    background: #f0f0f0;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 0.4;
}

.rp-card-feature i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

/* آیکون‌ها */
.rp-card-feature.price i { color: #27ae60; }
.rp-card-feature.installment i { color: #f39c12; }
.rp-card-feature.units i { color: #3498db; }
.rp-card-feature.delivery i { color: #9b59b6; }

/* صفحه‌بندی */
.rp-pagination {
    text-align: center;
    margin-top: 20px;
}

.rp-pagination a,
.rp-pagination span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: #f1f1f1;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    min-width: 44px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.rp-pagination a:hover,
.rp-pagination .current {
    background: #667eea;
    color: white;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .rp-filter-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rp-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rp-card-img,
    .rp-no-img {
        height: 160px;
    }

    .rp-card-body {
        padding: 16px;
    }

    .rp-card-title {
        font-size: 17px;
    }

    .rp-card-features {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .rp-card-feature {
        font-size: 13px;
        padding: 7px 9px;
    }
}

