.mps-review-stars {
    display: inline-flex;
    gap: 2px;
    line-height: 1;
    vertical-align: middle;
}

.mps-review-stars__star {
    color: #ddd;
}

.mps-review-stars__star--filled {
    color: #fbbc04;
}

.mps-review-avatar,
.mps-review-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mps-review-avatar--initials,
.mps-review-card__avatar--initials {
    background: #f1f1f1;
    color: #333;
    font-weight: 700;
    font-size: 18px;
}

.mps-reviews-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    line-height: 1.2;
}

.mps-reviews-badge__link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    color: inherit;
    text-decoration: none;
}

.mps-reviews-badge__main {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.mps-reviews-badge__rating {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1;
}

.mps-reviews-badge__stars {
    display: inline-flex;
    font-size: 1.3rem;
    line-height: 1;
}

.mps-reviews-badge__count {
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.7;
}

.mps-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mps-review-card {
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    background: #fff;
}

.mps-review-card__link {
    color: inherit;
    text-decoration: none;
}

.mps-review-card__header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.mps-review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mps-review-card__author {
    font-weight: 700;
}

.mps-review-card__date {
    font-size: .9em;
    opacity: .75;
}

.mps-review-card__text {
    margin-top: 12px;
}

.mps-review-text {
    display: block;
}

@media (max-width: 767px) {
    .mps-reviews-grid {
        grid-template-columns: 1fr;
    }
}
.mps-review-reply {
    display: block;
    margin-top: 12px;
    padding-left: 12px;
    border-left: 3px solid #e5e5e5;
    font-size: .95em;
}

.mps-review-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mps-review-stars__star--half {
  position: relative;
  display: inline-block;
  color: #d9d9d9;
}

.mps-review-stars__star--half .mps-review-stars__star-empty {
  color: #d9d9d9;
}

.mps-review-stars__star--half .mps-review-stars__star-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
  display: inline-block;
  color: #f5a400;
  white-space: nowrap;
}
/* Review text read more */
.mps-review-text--short[hidden],
.mps-review-text--full[hidden] {
    display: none !important;
}

.mps-review-text-toggle {
    appearance: none;
    display: inline-block;
    margin: 0.5rem 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    cursor: pointer;
}

.mps-review-text-toggle:hover {
    text-decoration: none;
}

.mps-review-text-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.mps-review-text-toggle,
.mps-review-text-toggle:hover,
.mps-review-text-toggle:focus,
.mps-review-text-toggle:active,
.mps-review-text-toggle[aria-expanded="true"] {
    appearance: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Review text toggle states */
.mps-review-text-toggle,
.mps-review-text-toggle:hover,
.mps-review-text-toggle:focus,
.mps-review-text-toggle:focus-visible,
.mps-review-text-toggle:active,
.mps-review-text-toggle[aria-expanded="true"] {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-thickness: auto;
    text-underline-offset: 0.15em;
}

.mps-review-text-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* Reviews legal notice */
.mps-reviews-notice {
    margin-top: 1rem;
    max-width: 70ch;
}

.mps-reviews-notice__summary {
    display: list-item;
    width: fit-content;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.mps-reviews-notice__summary:hover,
.mps-reviews-notice__summary:focus,
.mps-reviews-notice__summary:active {
    background: transparent !important;
    color: inherit !important;
    text-decoration: underline !important;
}

.mps-reviews-notice__summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.mps-reviews-notice__content {
    margin-top: 0.75rem;
    line-height: 1.6;
}

.mps-reviews-notice__content > :first-child {
    margin-top: 0;
}

.mps-reviews-notice__content > :last-child {
    margin-bottom: 0;
}

/* Badge: Bewertungsanzahl unter den Sternen */
.mps-reviews-badge {
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 0.65rem;
    row-gap: 0.05rem;
    align-items: stretch;
}

.mps-reviews-badge__main {
    display: contents;
}

.mps-reviews-badge__rating {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
}

.mps-reviews-badge__stars {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}

.mps-reviews-badge__count {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    white-space: nowrap;
}