/* Scoped to the existing Pahadi Magic Customer Reviews block only. */
#pm-reviews-block .pmcc-inline {
    width: 100%;
    --pmcc-green: #1f7a45;
    --pmcc-green-soft: #eef8f1;
    --pmcc-gold: #d89a00;
}

#pm-reviews-block .pmcc__list {
    width: 100%;
}

#pm-reviews-block .pmcc__comment {
    padding: 18px 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#pm-reviews-block .pmcc__comment:first-child {
    padding-top: 0;
}

/* Every individual imported/native review uses the same green stars. */
#pm-reviews-block .pmcc__stars {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--pmcc-green);
}

#pm-reviews-block .pmcc__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0 0 7px;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
}

#pm-reviews-block .pmcc__name {
    font-weight: 700;
}

#pm-reviews-block .pmcc__verified {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border: 1px solid var(--pmcc-green);
    border-radius: 999px;
    color: var(--pmcc-green);
    background: var(--pmcc-green-soft);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

#pm-reviews-block .pmcc__title {
    margin: 0 0 6px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: inherit;
}

#pm-reviews-block .pmcc__text {
    max-width: 78ch;
    font: inherit;
    font-size: 14px;
    line-height: 1.65;
}

#pm-reviews-block .pmcc__text p {
    margin: 0;
}

#pm-reviews-block .pmcc__pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 22px;
}

#pm-reviews-block .pmcc__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

#pm-reviews-block .pmcc__page--current {
    border-color: currentColor;
    font-weight: 800;
}

/* Native review cards/lists are hidden only after the merged PMCC list mounts. */
#pm-reviews-block .pmcc-native-hidden {
    display: none !important;
}

/* JS wraps only the numeric parts of the existing aggregate sentence. */
#pm-reviews-block .pmcc-summary-average {
    color: #152b22;
    font-weight: 800;
}

#pm-reviews-block .pmcc-summary-count {
    color: var(--pmcc-gold, #d89a00);
    font-weight: 800;
}

@media (max-width: 767px) {
    #pm-reviews-block .pmcc__comment {
        padding: 16px 0 18px;
    }

    #pm-reviews-block .pmcc__page {
        min-width: 40px;
        height: 40px;
    }
}
