.pr-wrap {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    direction: rtl;
    color: #333;
    box-sizing: border-box
}

.pr-wrap *,
.pr-modal * {
    box-sizing: border-box
}

.pr-list-col {
    flex: 1;
    min-width: 0
}
/* mobile */
@media (max-width: 768px) {
    .pr-list-col {
        width: 100%;
      overflow: hidden;
    }
}

@media (max-width: 768px){
    .pr-list{
        display: flex;
        gap: 16px;
        overflow-x: auto;
    }
}

.pr-summary {
    width: 300px;
    flex: none;
    position: sticky;
    top: 20px
}

.pr-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 32px;
}

.pr-item {
    margin-bottom: 12px
}

.pr-empty {
    color: #777;
    font-size: 13px;
    text-align: center;
    padding: 30px 16px
}

.pr-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pr-title {
    font-size: 20px;
    font-weight: 800;
    color: #00115B;
    margin: 0
}

.pr-author {
    font-size: 14px;
    font-weight: 400;
    color: #E74C3C;
}

.pr-rate-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #7D7C7C;
    margin-bottom: 12px;
    line-height: 24px;
}

.pr-stars {
    display: inline-flex;
    gap: 2px;
    direction: ltr
}

.pr-text {
    font-size: 16px;
    line-height: 100%;
    color: #7D7C7C;
    margin: 0 0 16px
}

.pr-foot {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #7D7C7C;
    justify-content: flex-end;
}

.pr-sum-title {
    font-size: 13px;
    font-weight: 700;
    color: #0a1f5c;
    margin: 0 0 14px;
    line-height: 1.8
}

.pr-avg {
    font-size: 20px;
    font-weight: 700;
    color: #0a1f5c
}

.pr-avg small {
    font-size: 13px;
    font-weight: 400
}

.pr-count-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #767676;
    margin: 10px 0 14px
}

.pr-sum-desc {
    font-size: 11px;
    line-height: 1.9;
    color: #888;
    margin: 0 0 16px
}

.pr-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ef4056;
    border-radius: 6px;
    background: #fff;
    color: #ef4056;
    font-size: 13px;
    cursor: pointer;
    transition: .2s
}

.pr-btn:hover {
    background: #ef4056;
    color: #fff
}

.pr-more {
    background: none;
    border: 0;
    color: #ef4056;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px
}

.pr-more:disabled {
    opacity: .5
}

/* مودال */
.pr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    direction: rtl
}

.pr-modal.is-open {
    display: flex
}

body.pr-lock {
    overflow: hidden
}

.pr-dialog {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow: auto;
    padding: 22px;
    position: relative;
    color: #333
}

.pr-close {
    position: absolute;
    top: 10px;
    left: 14px;
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer
}

.pr-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0a1f5c;
    margin: 0 0 16px
}

.pr-field {
    margin-bottom: 14px
}

.pr-field label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 6px
}

.pr-field input[type=text],
.pr-field input[type=email],
.pr-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9dce1;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #333
}

.pr-field input:focus,
.pr-field textarea:focus {
    outline: 0;
    border-color: #ef4056
}

.pr-stars-input {
    display: inline-flex;
    gap: 4px;
    direction: ltr
}

.pr-star-btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    line-height: 0
}

.pr-star-btn svg {
    fill: none;
    stroke: #f5a623;
    transition: .15s
}

.pr-star-btn.on svg {
    fill: #f5a623
}

.pr-msg {
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 0
}

.pr-msg.ok {
    color: #0a9b4a
}

.pr-msg.err {
    color: #ef4056
}

.pr-submit {
    width: 100%;
    padding: 11px;
    border: 0;
    border-radius: 6px;
    background: #ef4056;
    color: #fff;
    font-size: 14px;
    cursor: pointer
}

.pr-submit:disabled {
    opacity: .6;
    cursor: default
}

@media (max-width:768px) {
    .pr-wrap {
        flex-direction: column
    }

    .pr-summary {
        width: 100%;
        position: static;
        order: -1
    }
}