.m95p-reviews-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.m95p-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.m95p-reviews-title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: .03em;
    font-weight: 800;
    text-transform: uppercase;
}

.m95p-reviews-stats {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #dbe2ef;
    border-radius: 8px;
    padding: 8px 12px;
    white-space: nowrap;
    font-weight: 700;
    color: #1a2540;
}

.m95p-reviews-stats .star {
    color: #2d5bff;
}

.m95p-reviews-stats .count {
    font-size: 12px;
    font-weight: 500;
    color: #4c5d84;
}

.m95p-shortcode-stars {
    display: inline-flex;
    gap: 2px;
    color: #2d5bff;
    line-height: 1;
	font-weight: bolder;
    font-size: 30px;
}

.m95p-shortcode-star.is-unmarked {
    opacity: .25;
}

.m95p-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.m95p-review-card {
    min-width: 0;
}

.m95p-reviews-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.m95p-reviews-actions button,
.m95p-submit {
    min-width: 160px;
    height: 44px;
    border: 1px solid #2d5bff;
    border-radius: 6px;
    background: #fff;
    color: #2d5bff;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s ease;
}

.m95p-reviews-actions button:hover,
.m95p-submit:hover {
    background: #2d5bff;
    color: #fff;
}

.m95p-reviews-actions button[disabled],
.m95p-submit[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.m95p-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(16, 26, 49, .55);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.m95p-modal.is-open {
    display: flex;
}

.m95p-modal-content {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.m95p-modal-content h3 {
    margin: 0 0 8px;
}

.m95p-close-modal {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #f0f3fa;
    color: #1a2540;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.m95p-modal input,
.m95p-modal textarea,
.m95p-modal select {
    width: 100%;
    border: 1px solid #dbe2ef;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #1a2540;
}

.m95p-modal textarea {
    min-height: 120px;
    resize: vertical;
}

.m95p-form-message {
    min-height: 18px;
    font-size: 13px;
}

.m95p-form-message.is-error {
    color: #d12626;
}

.m95p-form-message.is-success {
    color: #1f7a31;
}

@media (max-width: 991px) {
    .m95p-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .m95p-reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .m95p-reviews-title {
        font-size: 28px;
    }

    .m95p-reviews-grid {
        grid-template-columns: 1fr;
    }
}

span.m95p-rating-summary {
    background: #edf1f7;
    padding: 15px;
    border-radius: 8px;
    font-size: 20px;
    display: flex;
    width: 250px;
    justify-content: space-around;
    align-items: center;
}

span.m95p-shortcode-star.is-marked {
    display: inline-flex;
    gap: 2px;
    color: #2d5bff;
    line-height: 1;
    font-weight: bolder;
    font-size: 30px;
}

span.m95p-rating-summary-avg {
    font-family: "Micra", Sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.box-rew-par {
    height: 100% !important;
}

.box-rew-par > div > div > div:last-child {
    margin-top: auto;
}

.box-rew-par > div > div {
    align-items: flex-start;
    flex-direction: column !important;
}

.avatrrr img {
    border-radius: 50% !important;
}

.box-rew-par > div > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
}

.box-rew-par > div > div > *:not(:nth-last-child(-n+2)) {
  grid-column: 1 / -1; /* все кроме двух последних на всю ширину */
}

.box-rew-par > div > div > :nth-last-child(2) {grid-column: 1;width: 40px !important;margin-top: auto;}
.box-rew-par > div > div > :nth-last-child(1) {grid-column: 2;width: 300px !important; padding-bottom: 18px;}