.zg-pr-gallery {
    --zg-pr-heading-font: Montserrat, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --zg-pr-body-font: Inter, "Segoe UI", Roboto, Arial, sans-serif;

    color: #202429;
    box-sizing: border-box;
    font-family: var(--zg-pr-body-font);
}

.zg-pr-admin-product-gallery {
    display: block;
    margin: 56px auto 0;
    padding-top: 48px !important;
}

.zg-pr-gallery * {
    box-sizing: border-box;
}

.zg-pr-gallery__header {
    display: flex;
    gap: 18px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.zg-pr-gallery__eyebrow {
    margin: 0 0 6px;
    line-height: 1;
}

.zg-pr-source-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 6px 8px;
    border: 1px solid #e2e7e4;
    border-radius: 6px;
    background: #fff;
    line-height: 0;
}

.zg-pr-source-mark img {
    display: block;
    width: 154px;
    max-width: 100%;
    height: auto;
}

.zg-pr-source-mark__fallback {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.zg-pr-source-mark--small {
    padding: 5px 7px;
}

.zg-pr-source-mark--small img {
    width: 116px;
}

.zg-pr-source-mark--inline {
    padding: 0;
    border: 0;
    background: transparent;
}

.zg-pr-source-mark--inline img {
    width: 112px;
}

.zg-pr-source-mark--fb {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1;
}

.zg-pr-source-mark--fb .zg-pr-source-mark__word {
    color: #1877f2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.zg-pr-source-mark--bubble {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 2px solid #f4f4f4;
    border-radius: 999px;
    background: transparent;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.14);
}

.zg-pr-source-mark--bubble img {
    width: 100%;
    height: 100%;
}

.zg-pr-gallery__title,
.zg-pr-gallery__source strong,
.zg-pr-summary__score strong,
.zg-pr-summary__trust strong,
.zg-pr-review h3,
.zg-pr-modal__review h3 {
    font-family: var(--zg-pr-heading-font) !important;
    letter-spacing: 0;
}

.zg-pr-gallery__title {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.06;
}

.zg-pr-gallery__source {
    display: grid;
    min-width: 136px;
    padding: 12px 14px;
    border: 1px solid #e4e7ea;
    border-radius: 8px;
    background: #fff;
    text-align: right;
}

.zg-pr-gallery__source strong {
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.zg-pr-gallery__source span {
    color: #626a72;
    font-size: 13px;
}

.zg-pr-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px solid #ededed;
    background: transparent;
}

.zg-pr-gallery img.zg-pr-winner-badge {
    display: block;
    width: auto !important;
    max-width: 100%;
    height: 90px !important;
    background: transparent !important;
    object-fit: contain;
    flex: none;
}

.zg-pr-summary__score {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.zg-pr-summary__score strong {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.zg-pr-summary__rated {
    align-self: center;
    color: #626a72;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zg-pr-stars {
    color: #c93219;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.zg-pr-summary__score > span:last-child {
    color: #202429;
    font-size: 18px;
}

.zg-pr-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    margin-bottom: 16px;
}

.zg-pr-toolbar__title {
    font-family: var(--zg-pr-heading-font, inherit);
    font-size: 18px;
    font-weight: 800;
    color: #202429;
}

.zg-pr-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zg-pr-viewtoggle {
    display: inline-flex;
    padding: 3px;
    border: 1px solid #dcdfe4;
    border-radius: 9px;
    background: #f3f4f6;
}

.zg-pr-viewtoggle__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 7px;
    color: #5a626b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.zg-pr-viewtoggle__btn svg {
    fill: currentColor;
}

.zg-pr-viewtoggle__btn.is-active {
    background: #fff;
    color: #15181d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* ---------- Review search ---------- */
.zg-pr-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.zg-pr-search__icon {
    position: absolute;
    left: 11px;
    color: #8a9099;
    pointer-events: none;
}

.zg-pr-search__input {
    box-sizing: border-box;
    width: 184px;
    max-width: 100%;
    height: 36px;
    padding: 0 12px 0 32px;
    border: 1px solid #d4d8dd;
    border-radius: 8px;
    background: #fff;
    color: #202429;
    font-size: 14px;
    font-family: inherit;
}

.zg-pr-search__input::placeholder {
    color: #8a9099;
}

.zg-pr-search__input:focus {
    outline: none;
    border-color: #404040;
}

.zg-pr-search-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 0 0 16px;
    color: #4f5760;
    font-size: 14px;
}

.zg-pr-search-note[hidden] {
    display: none;
}

.zg-pr-search-note strong {
    color: #1c2027;
    font-weight: 800;
}

.zg-pr-search-note__clear {
    padding: 0;
    border: 0;
    background: transparent;
    color: #c93219;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- Write a review ---------- */
.zg-pr-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border: 0;
    border-radius: 9px;
    background: #15181d;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.zg-pr-write-btn svg {
    fill: currentColor;
}

.zg-pr-write-btn:hover {
    background: #2a2f37;
}

.zg-pr-form {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.zg-pr-form[hidden] {
    display: none;
}

.zg-pr-form__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 16, 0.55);
}

.zg-pr-form__dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow: auto;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.zg-pr-form__close {
    position: absolute;
    top: 9px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #9aa0a8;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.zg-pr-form__title {
    margin: 0 0 4px;
    font-family: var(--zg-pr-heading-font, inherit);
    font-size: 22px;
    font-weight: 800;
}

.zg-pr-form__sub {
    margin: 0 0 16px;
    color: #626a72;
    font-size: 14px;
}

.zg-pr-form__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.zg-pr-form__rating-label {
    color: #3a4049;
    font-size: 13px;
    font-weight: 700;
}

.zg-pr-form__stars {
    display: inline-flex;
    gap: 2px;
}

.zg-pr-form__star {
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #d6d9de;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.1s ease;
}

.zg-pr-form__star.is-on {
    color: #c93219;
}

/* Match the site checkout field styling. */
.zg-pr-form__form {
    display: grid;
    gap: 12px;
}

.zg-pr-form__field {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    background: #fff;
    color: #404040;
    font-size: 14px;
    font-family: Inter, var(--zg-pr-body-font, inherit);
}

.zg-pr-form__field::placeholder {
    color: #8a9099;
}

.zg-pr-form__field:focus {
    outline: none;
    border-color: #404040;
    box-shadow: none;
}

.zg-pr-form__textarea {
    height: auto;
    min-height: 132px;
    padding: 13px 14px;
    line-height: 1.5;
    resize: vertical;
}

.zg-pr-form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.zg-pr-form__msg {
    margin: -2px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.zg-pr-form__msg.is-error {
    color: #c0392b;
}

.zg-pr-form__msg.is-success {
    color: #1c7a43;
    font-weight: 600;
}

.zg-pr-form__submit {
    width: 100%;
    margin-top: 4px;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #15181d;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.zg-pr-form__submit:hover {
    background: #2a2f37;
}

.zg-pr-form__submit:disabled {
    opacity: 0.7;
    cursor: default;
}

/* Search + sort grouped together, matched styling. */
.zg-pr-findbar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zg-pr-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f5760;
    font-size: 14px;
}

.zg-pr-sort__label {
    white-space: nowrap;
}

.zg-pr-sort__select {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    height: 36px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234f5760' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid #d4d8dd;
    border-radius: 8px;
    color: #202429;
    font-size: 14px;
    line-height: 1.2;
    padding: 0 30px 0 12px;
    cursor: pointer;
}

.zg-pr-sort__select:focus-visible {
    outline: 2px solid #c93219;
    outline-offset: 1px;
}

.zg-pr-sort__select:disabled {
    opacity: 0.6;
    cursor: progress;
}

.zg-pr-review-list.is-loading {
    opacity: 0.55;
    transition: opacity 0.15s ease;
    pointer-events: none;
}

.zg-pr-summary__rating {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: none;
    padding-right: 26px;
    border-right: 1px solid #e7e7e7;
}

.zg-pr-summary__bars {
    display: grid;
    gap: 5px;
    width: 220px;
    max-width: 100%;
}

.zg-pr-summary__bar meter::-webkit-meter-optimum-value {
    background: linear-gradient(90deg, #2f3540, #11151c);
}

.zg-pr-summary__bar {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) 46px;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 3px 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #4f5760;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.zg-pr-summary__bar-pct {
    text-align: right;
}

.zg-pr-summary__bar:hover:not(:disabled),
.zg-pr-summary__bar:focus-visible {
    background: #f1f2f4;
    color: #15181d;
    outline: none;
}

.zg-pr-summary__bar.is-active {
    background: #ecedef;
    color: #15181d;
}

.zg-pr-summary__bar:disabled {
    cursor: default;
    opacity: 0.55;
}

.zg-pr-summary__bar meter {
    width: 100%;
    height: 8px;
}

.zg-pr-summary__bar meter::-webkit-meter-bar {
    border: 0;
    border-radius: 999px;
    background: #e0e3e6;
}

.zg-pr-summary__bar meter::-webkit-meter-optimum-value {
    border-radius: 999px;
    background: #202429;
}

.zg-pr-summary__bar.is-active meter::-webkit-meter-optimum-value,
.zg-pr-summary__bar:hover:not(:disabled) meter::-webkit-meter-optimum-value {
    background: #c93219;
}

.zg-pr-summary__filter-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    margin: 8px 0 0;
    color: #4f5760;
    font-size: 12.5px;
    font-weight: 600;
}

.zg-pr-summary__filter-note[hidden] {
    display: none;
}

.zg-pr-summary__filter-note strong {
    color: #15181d;
}

/* ---------- Business reply (official response) ---------- */
.zg-pr-reply {
    position: relative;
    max-width: 940px;
    margin: 12px 0 0;
    padding-top: 10px;
    border-top: 1px solid #eceff1;
}

@media (min-width: 700px) {
    .zg-pr-review__body .zg-pr-reply {
        margin-right: 24px;
    }
}

.zg-pr-modal__review .zg-pr-reply {
    margin-top: 18px;
}

.zg-pr-reply__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3f464d;
    cursor: pointer;
    font: inherit;
    line-height: 1.25;
    text-align: left;
}

.zg-pr-reply__toggle:hover .zg-pr-reply__action,
.zg-pr-reply__toggle:focus-visible .zg-pr-reply__action {
    color: #0f6d28;
}

.zg-pr-reply__toggle:focus-visible {
    outline: 2px solid rgba(19, 125, 45, 0.2);
    outline-offset: 4px;
}

.zg-pr-reply__toggle-main,
.zg-pr-reply__head {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
}

.zg-pr-reply__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #edf7f1;
    color: #137d2d;
    flex: none;
}

.zg-pr-reply__summary {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    min-width: 0;
    gap: 3px 7px;
}

.zg-pr-reply__author {
    color: #15181d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.zg-pr-reply__role {
    color: #6b737c;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0;
}

.zg-pr-reply__date {
    color: #8b929b;
    font-size: 12.5px;
    font-weight: 600;
}

.zg-pr-reply__action {
    flex: none;
    color: #137d2d;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.zg-pr-reply__panel {
    margin-top: 10px;
    padding: 12px 14px;
    border-left: 3px solid #b8d8c3;
    border-radius: 0 10px 10px 0;
    background: #f7faf8;
}

.zg-pr-reply__text {
    margin: 8px 0 0;
    color: #41474f;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-line;
}

.zg-pr-tile__replied {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #edf7f1;
    color: #137d2d;
    font-size: 11px;
    font-weight: 800;
}

.zg-pr-summary__trust {
    display: grid;
    gap: 6px;
    padding-left: 22px;
    border-left: 1px solid #dedede;
}

.zg-pr-summary__trust strong {
    font-size: 17px;
    font-weight: 800;
}

.zg-pr-summary__trust ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4f5760;
    font-size: 15px;
}

.zg-pr-summary__trust li {
    position: relative;
    padding-left: 18px;
    line-height: 1.35;
}

.zg-pr-summary__trust li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #c93219;
    content: "✓";
    font-weight: 900;
}

/* AI Review Summary (compact, sits beside the award badge) */
.zg-pr-ai-summary {
    position: relative;
    flex: 0 1 500px;
    width: min(500px, 100%);
    max-width: 500px;
    min-width: 280px;
    align-self: center;
    padding: 15px 18px 16px;
    border: 1px solid #e1e2e4;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.zg-pr-ai-summary__head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}

.zg-pr-ai-summary__logo {
    display: inline-flex;
    line-height: 0;
}

.zg-pr-ai-summary__label {
    font-family: var(--zg-pr-heading-font, inherit);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(100deg, #4285F4, #9168C0 50%, #D96570);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #6a5bb0;
}

.zg-pr-ai-summary.is-loading .zg-pr-ai-summary__label {
    animation: zg-pr-ai-shimmer 1.2s linear infinite;
}

@keyframes zg-pr-ai-shimmer {
    to { background-position: -200% center; }
}

.zg-pr-ai-summary__dots {
    display: none;
    gap: 4px;
    margin-left: 2px;
}

.zg-pr-ai-summary.is-loading .zg-pr-ai-summary__dots {
    display: inline-flex;
}

.zg-pr-ai-summary__dots i {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #9168C0;
    opacity: 0.4;
    animation: zg-pr-ai-dot 1s infinite ease-in-out;
}

.zg-pr-ai-summary__dots i:nth-child(2) { animation-delay: 0.15s; }
.zg-pr-ai-summary__dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes zg-pr-ai-dot {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.zg-pr-ai-summary__list {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zg-pr-ai-summary__list li {
    position: relative;
    padding-left: 17px;
    color: #4a505a;
    font-size: 13px;
    line-height: 1.5;
}

.zg-pr-ai-summary__list li::before {
    content: "";
    position: absolute;
    top: 0.52em;
    left: 1px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4285F4, #D96570);
}

.zg-pr-ai-summary__list li strong {
    color: #1d232e;
    font-weight: 800;
}

.zg-pr-ai-summary__sep {
    color: #c0c3cc;
    margin: 0 1px;
}

/* Streaming reveal: bullets appear one by one. */
.zg-pr-ai-summary--anim .zg-pr-ai-summary__list li {
    opacity: 0;
    transform: translateY(5px);
}

.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li {
    animation: zg-pr-ai-rise 0.4s ease forwards;
}

.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li:nth-child(1) { animation-delay: 0s; }
.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li:nth-child(2) { animation-delay: 0.18s; }
.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li:nth-child(3) { animation-delay: 0.36s; }
.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li:nth-child(4) { animation-delay: 0.54s; }
.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li:nth-child(5) { animation-delay: 0.72s; }
.zg-pr-ai-summary--anim.is-revealing .zg-pr-ai-summary__list li:nth-child(6) { animation-delay: 0.9s; }

@keyframes zg-pr-ai-rise {
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .zg-pr-ai-summary__dots i { animation: none; }
    .zg-pr-ai-summary--anim .zg-pr-ai-summary__list li { opacity: 1; transform: none; }
}

.zg-pr-review-list {
    display: grid;
    gap: 18px;
}

.zg-pr-review {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    padding: 28px;
    border-radius: 8px;
    background: #f4f4f4;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.zg-pr-review:focus-visible {
    outline: 2px solid rgba(32, 36, 41, 0.28);
    outline-offset: 3px;
}

.zg-pr-review__meta {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-content: start;
    gap: 3px 12px;
    padding-right: 28px;
    border-right: 1px solid #dedede;
}

.zg-pr-review__avatar-wrap {
    position: relative;
    display: block;
    grid-row: span 3;
    width: 58px;
    height: 58px;
    margin-bottom: 0;
}

.zg-pr-review__avatar {
    display: grid;
    overflow: hidden;
    width: 100%;
    height: 100%;
    place-items: center;
    border-radius: 999px;
    background: #e7e8ec;
    color: #202429;
    font-weight: 900;
}

.zg-pr-review__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-pr-review__source-bubble {
    position: absolute;
    right: -5px;
    bottom: -5px;
}

.zg-pr-review__author-line {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
    align-items: baseline;
    min-width: 0;
}

.zg-pr-review__author-line strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    white-space: normal;
}

.zg-pr-review__trust {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    vertical-align: baseline;
}

.zg-pr-review__verified {
    display: grid;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    background: #127044;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.zg-pr-review__source-note {
    grid-column: 2;
    color: #626a72;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.12;
}

.zg-pr-review__source-note a,
.zg-pr-modal__source {
    color: inherit;
    text-decoration: none;
}

.zg-pr-review__source-note a:hover,
.zg-pr-modal__source:hover {
    text-decoration: underline;
}

.zg-pr-review__source-link,
.zg-pr-modal__source {
    display: inline-flex;
    transition: opacity 0.12s ease;
}

.zg-pr-review__source-link:hover,
a.zg-pr-modal__source:hover {
    opacity: 0.72;
    text-decoration: none;
}

.zg-pr-review__body {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.zg-pr-review__rating {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.zg-pr-review__rating--card {
    grid-column: 2;
    gap: 6px;
    margin-top: 2px;
    font-size: 13px;
}

.zg-pr-review__rating--card .zg-pr-stars {
    font-size: 13px;
    letter-spacing: 0;
}

.zg-pr-review__rating > span:last-child {
    color: #626a72;
}

/* Reviewer badge (beginner / veteran / cancelled). */
.zg-pr-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    max-width: max-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #147c36;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: help;
}

.zg-pr-badge--cancelled {
    color: #69717b;
}

.zg-pr-badge::before,
.zg-pr-badge::after {
    position: absolute;
    left: 50%;
    z-index: 15;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.zg-pr-badge::before {
    content: "";
    bottom: calc(100% + 5px);
    border: 5px solid transparent;
    border-top-color: #111;
}

.zg-pr-badge::after {
    content: attr(data-zg-pr-badge-tooltip);
    bottom: calc(100% + 14px);
    width: max-content;
    max-width: 180px;
    padding: 8px 10px;
    border-radius: 5px;
    background: #111;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.zg-pr-badge:hover::before,
.zg-pr-badge:hover::after,
.zg-pr-badge:focus-visible::before,
.zg-pr-badge:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* In the grid tile + modal the badge sits inline in the text flow. */
.zg-pr-tile__body .zg-pr-badge {
    width: max-content;
    margin: 1px 0 6px;
}

.zg-pr-modal__top .zg-pr-badge {
    margin-left: 1px;
}

.zg-pr-review h3 {
    max-width: 860px;
    margin: 0;
    font-size: clamp(20px, 1.65vw, 26px);
    font-weight: 760;
    line-height: 1.18;
}

.zg-pr-review p {
    max-width: 940px;
    margin: 0;
    color: #3f464d;
    font-size: 16px;
    line-height: 1.58;
}

.zg-pr-review__excerpt-mobile {
    display: none;
}

.zg-pr-review__media {
    display: grid;
    grid-template-columns: repeat(var(--zg-pr-cols, 5), minmax(0, 150px));
    justify-content: start;
    gap: 8px;
    margin-top: 8px;
    min-width: 0;
}

.zg-pr-review__media button {
    position: relative;
    overflow: hidden;
    min-height: 146px;
    padding: 0;
    border: 0;
    background: #e7e8ec;
    cursor: pointer;
}

.zg-pr-review__media img,
.zg-pr-review__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-pr-review__media button > span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.64);
    color: #fff;
    transform: translate(-50%, -50%);
}

.zg-pr-review__media-more {
    display: grid;
    place-items: center;
    color: #202429;
    font-weight: 900;
}

/* ---------- Grid view (masonry wall with review text) ---------- */
.zg-pr-gallery--view-grid .zg-pr-review-list {
    display: block;
    columns: 2;
    column-gap: 12px;
}

.zg-pr-tile {
    display: inline-block;
    width: 100%;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -webkit-tap-highlight-color: transparent;
}

.zg-pr-tile:focus-visible {
    outline: 2px solid rgba(32, 36, 41, 0.3);
    outline-offset: 2px;
}

.zg-pr-tile__media {
    position: relative;
    overflow: hidden;
    max-height: 360px;
    background: #e7e8ec;
}

.zg-pr-tile__media img,
.zg-pr-tile__media video {
    display: block;
    width: 100%;
    height: auto;
}

.zg-pr-tile__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    padding-left: 3px;
    place-items: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 15px;
    transform: translate(-50%, -50%);
}

.zg-pr-tile__count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.zg-pr-tile__body {
    display: grid;
    gap: 6px;
    padding: 11px 13px 13px;
    min-width: 0;
}

.zg-pr-tile__stars {
    color: #c93219;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
}

.zg-pr-tile__title {
    margin: 0;
    color: #1c2027;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.zg-pr-tile__text {
    margin: 0;
    color: #41474f;
    font-size: 13px;
    line-height: 1.5;
}

.zg-pr-tile--media .zg-pr-tile__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Text-only reviews become quote cards for visual variety. */
.zg-pr-tile--text {
    border-color: #e7e2f3;
    background: linear-gradient(165deg, #f4f1fb 0%, #fbf6f6 100%);
}

.zg-pr-tile--text .zg-pr-tile__body {
    position: relative;
    padding: 30px 15px 14px;
}

.zg-pr-tile--text .zg-pr-tile__body::before {
    content: "\201C";
    position: absolute;
    top: 6px;
    left: 11px;
    color: #c3b6e6;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    line-height: 1;
}

.zg-pr-tile--text .zg-pr-tile__text {
    color: #2c313a;
    font-size: 14px;
    font-style: italic;
    line-height: 1.5;
}

.zg-pr-tile--text .zg-pr-tile__title {
    font-size: 15px;
}

.zg-pr-tile__author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
    min-width: 0;
    color: #626a72;
    font-size: 11.5px;
}

.zg-pr-tile__avatar {
    display: grid;
    width: 20px;
    height: 20px;
    flex: none;
    overflow: hidden;
    place-items: center;
    border-radius: 999px;
    background: #e1e3e8;
    color: #333;
    font-size: 9px;
    font-weight: 800;
}

.zg-pr-tile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-pr-tile__name {
    overflow: hidden;
    color: #3a4049;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 600px) {
    .zg-pr-gallery--view-grid .zg-pr-review-list {
        columns: 3;
    }
}

@media (min-width: 1024px) {
    .zg-pr-gallery--view-grid .zg-pr-review-list {
        columns: 4;
        column-gap: 16px;
    }

    .zg-pr-tile {
        margin-bottom: 16px;
    }
}

.zg-pr-review__read {
    display: inline;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #202429;
    cursor: pointer;
    font-weight: 900;
    text-decoration: underline;
}

.zg-pr-review__read--inline {
    white-space: nowrap;
}

.zg-pr-load-more {
    display: flex;
    justify-content: center;
    margin-top: 22px;
    padding-bottom: 48px;
}

.zg-pr-load-more__button {
    min-width: 190px;
    padding: 13px 22px;
    border: 1px solid #202429;
    border-radius: 999px;
    background: #202429;
    color: #fff;
    cursor: pointer;
    font: 800 14px/1.1 var(--zg-pr-body-font);
    letter-spacing: 0;
}

.zg-pr-load-more__button:disabled {
    cursor: wait;
    opacity: 0.68;
}

/* ---------- Live theme isolation ----------
   The production product template applies brand-red button/link rules with
   higher contextual specificity. These scoped resets keep the review gallery
   visually identical to the standalone staging review page. */
.zg-pr-gallery button.zg-pr-write-btn,
.zg-pr-gallery button.zg-pr-write-btn:hover,
.zg-pr-gallery button.zg-pr-write-btn:focus {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 9px 15px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #15181d !important;
    background-image: none !important;
    color: #fff !important;
    font: 700 13px/1 var(--zg-pr-body-font) !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.zg-pr-gallery button.zg-pr-write-btn:hover,
.zg-pr-gallery button.zg-pr-write-btn:focus {
    background: #2a2f37 !important;
}

.zg-pr-gallery button.zg-pr-review__read,
.zg-pr-gallery button.zg-pr-review__read:hover,
.zg-pr-gallery button.zg-pr-review__read:focus {
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #202429 !important;
    font-family: var(--zg-pr-body-font) !important;
    font-size: inherit !important;
    font-weight: 900 !important;
    line-height: inherit !important;
    letter-spacing: 0 !important;
    text-align: inherit !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.zg-pr-gallery button.zg-pr-reply__toggle,
.zg-pr-gallery button.zg-pr-reply__toggle:hover,
.zg-pr-gallery button.zg-pr-reply__toggle:focus {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #3f464d !important;
    font: inherit !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.zg-pr-gallery button.zg-pr-summary__bar,
.zg-pr-gallery button.zg-pr-summary__bar:hover,
.zg-pr-gallery button.zg-pr-summary__bar:focus,
.zg-pr-gallery button.zg-pr-summary__bar:disabled {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) 46px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 3px 6px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    background-image: none !important;
    color: #4f5760 !important;
    font: 700 13px/normal var(--zg-pr-body-font) !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.zg-pr-gallery button.zg-pr-summary__bar:hover:not(:disabled),
.zg-pr-gallery button.zg-pr-summary__bar:focus-visible {
    background: #f1f2f4 !important;
    color: #15181d !important;
}

.zg-pr-gallery button.zg-pr-summary__bar.is-active {
    background: #ecedef !important;
    color: #15181d !important;
}

.zg-pr-gallery .zg-pr-summary__bar meter::-webkit-meter-optimum-value {
    background: #202429 !important;
}

.zg-pr-gallery .zg-pr-summary__bar.is-active meter::-webkit-meter-optimum-value,
.zg-pr-gallery .zg-pr-summary__bar:hover:not(:disabled) meter::-webkit-meter-optimum-value {
    background: #202429 !important;
}

.zg-pr-gallery .zg-pr-reply__action,
.zg-pr-gallery button.zg-pr-reply__toggle:hover .zg-pr-reply__action,
.zg-pr-gallery button.zg-pr-reply__toggle:focus-visible .zg-pr-reply__action {
    color: #137d2d !important;
    background: transparent !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-write-btn,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-write-btn:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-write-btn:focus {
    width: auto !important;
    padding: 9px 15px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #15181d !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-write-btn:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-write-btn:focus {
    background: #2a2f37 !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-review__read,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-review__read:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-review__read:focus {
    display: inline !important;
    width: auto !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #202429 !important;
    box-shadow: none !important;
    text-decoration: underline !important;
    text-transform: none !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-reply__toggle,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-reply__toggle:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-reply__toggle:focus {
    display: flex !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #3f464d !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-summary__bar,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-summary__bar:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-summary__bar:focus,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-summary__bar:disabled {
    width: 100% !important;
    padding: 3px 6px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    background-image: none !important;
    color: #4f5760 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-summary__bar:hover:not(:disabled),
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-summary__bar:focus-visible {
    background: #f1f2f4 !important;
    color: #15181d !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-summary__bar meter::-webkit-meter-optimum-value,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-summary__bar:hover:not(:disabled) meter::-webkit-meter-optimum-value {
    background: #202429 !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-modal__close,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-modal__close:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-modal__close:focus,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-form__close,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-form__close:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-form__close:focus {
    display: grid !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    background-image: none !important;
    color: #202429 !important;
    box-shadow: 0 8px 24px rgba(21, 24, 29, 0.12) !important;
    text-decoration: none !important;
    text-transform: none !important;
}

body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-modal__close:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-modal__close:focus-visible,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-form__close:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-form__close:focus-visible {
    background: #f4f2ef !important;
    color: #15181d !important;
}

/* Review-card media strip: the photo tiles are class-less buttons, so the
   theme's brand-red button background bleeds through around letterboxed
   images and fully colours the "+ N more" tile. */
.zg-pr-gallery .zg-pr-review__media button,
.zg-pr-gallery .zg-pr-review__media button:hover,
.zg-pr-gallery .zg-pr-review__media button:focus,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-review__media button,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-review__media button:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-review__media button:focus {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #e7e8ec !important;
    background-image: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.zg-pr-gallery .zg-pr-review__media img,
.zg-pr-gallery .zg-pr-review__media video,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-review__media img,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-review__media video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
}

.zg-pr-gallery button.zg-pr-review__media-more,
.zg-pr-gallery button.zg-pr-review__media-more:hover,
.zg-pr-gallery button.zg-pr-review__media-more:focus,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-review__media-more,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-review__media-more:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery button.zg-pr-review__media-more:focus {
    display: grid !important;
    place-items: center !important;
    color: #202429 !important;
    font-family: var(--zg-pr-body-font) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
}

/* Lightbox controls share the same class-less/bare-button problem. */
.zg-pr-gallery .zg-pr-modal__nav button,
.zg-pr-gallery .zg-pr-modal__nav button:hover,
.zg-pr-gallery .zg-pr-modal__nav button:focus,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__nav button,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__nav button:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__nav button:focus {
    width: 34px !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #dedede !important;
    border-radius: 999px !important;
    background: #fff !important;
    background-image: none !important;
    color: #202429 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.zg-pr-gallery .zg-pr-modal__thumbs button,
.zg-pr-gallery .zg-pr-modal__thumbs button:hover,
.zg-pr-gallery .zg-pr-modal__thumbs button:focus,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__thumbs button,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__thumbs button:hover,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__thumbs button:focus {
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    border-radius: 6px !important;
    background: #f2f3f3 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.zg-pr-gallery .zg-pr-modal__thumbs button.is-active,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__thumbs button.is-active {
    border-color: #202429 !important;
}

.zg-pr-gallery .zg-pr-modal__thumbs img,
.zg-pr-gallery .zg-pr-modal__thumbs video,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__thumbs img,
body.single-product .zg-pr-admin-product-gallery .zg-pr-gallery .zg-pr-modal__thumbs video {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
}

.zg-pr-modal[hidden] {
    display: none;
}

.zg-pr-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.zg-pr-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.zg-pr-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(780px, calc(100vh - 40px));
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.zg-pr-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #202429;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.zg-pr-modal__content {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.84fr);
    max-height: inherit;
    overflow: auto;
    padding: 0;
}

.zg-pr-modal__content:not(.has-media) {
    grid-template-columns: minmax(0, 760px);
}

.zg-pr-modal__media {
    display: grid;
    align-content: center;
    gap: 10px;
    min-height: 520px;
    padding: 18px;
    background: #fff;
}

.zg-pr-modal__media img,
.zg-pr-modal__media video {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.zg-pr-modal__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.zg-pr-modal__thumbs button {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #f2f3f3;
    cursor: pointer;
}

.zg-pr-modal__thumbs button.is-active {
    border-color: #202429;
}

.zg-pr-modal__thumbs img,
.zg-pr-modal__thumbs video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-pr-modal__review {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 28px;
}

.zg-pr-modal__review h3 {
    margin: 0;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 760;
    line-height: 1.15;
}

.zg-pr-modal__review p {
    margin: 0;
    color: #4f5760;
    font-size: 15px;
    line-height: 1.52;
}

.zg-pr-modal__stars {
    color: #c93219;
    font-size: 15px;
}

.zg-pr-modal__top {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
}

.zg-pr-modal__avatar {
    overflow: hidden;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #e7e8ec;
}

.zg-pr-modal__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zg-pr-modal__avatar-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-weight: 800;
}

.zg-pr-modal__author {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    min-width: 0;
    font-weight: 800;
}

.zg-pr-modal__author-name {
    line-height: 1.15;
}

.zg-pr-modal__date {
    color: #626a72;
    font-size: 13px;
}

.zg-pr-modal__source {
    display: inline-block;
    margin-top: 2px;
    color: #626a72;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.zg-pr-modal__nav {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
    color: #626a72;
    font-size: 13px;
}

.zg-pr-modal__nav button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #202429;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

@media (min-width: 1024px) {
    .zg-pr-gallery {
        padding-right: 120px;
        padding-left: 120px;
    }
}

@media (min-width: 1200px) {
    .zg-pr-summary {
        display: grid;
        grid-template-columns: minmax(380px, 410px) minmax(180px, 1fr) minmax(380px, 500px);
        gap: 26px;
        align-items: center;
    }

    .zg-pr-summary__rating {
        width: 100%;
    }

    .zg-pr-summary__score {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .zg-pr-winner-badge {
        justify-self: center;
    }

    .zg-pr-ai-summary {
        justify-self: end;
    }
}

@media (max-width: 900px) {
    .zg-pr-admin-product-gallery {
        padding-top: 32px !important;
    }

    .zg-pr-gallery__title {
        font-size: clamp(22px, 6.2vw, 28px);
        line-height: 1.12;
    }

    /* Rating breakdown bars are desktop-only. */
    .zg-pr-summary__bars {
        display: none;
    }

    .zg-pr-summary {
        gap: 14px 18px;
        padding-bottom: 18px;
    }

    .zg-pr-summary__rating {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding-right: 0;
        border-right: 0;
    }

    .zg-pr-ai-summary {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .zg-pr-search {
        flex: 1 1 100%;
    }

    .zg-pr-search__input {
        width: 100%;
    }

    .zg-pr-toolbar__title {
        font-size: 16px;
    }

    .zg-pr-gallery img.zg-pr-winner-badge {
        width: auto !important;
        height: 64px !important;
        flex: none;
    }

    .zg-pr-source-mark img {
        width: 124px;
    }

    .zg-pr-source-mark--bubble img {
        width: 100%;
        height: 100%;
    }

    .zg-pr-source-mark--inline img {
        width: 92px;
    }

    .zg-pr-gallery__header {
        gap: 12px;
        margin-bottom: 14px;
    }

    .zg-pr-gallery__header {
        display: grid;
        align-items: start;
    }

    .zg-pr-gallery__source {
        width: 100%;
        text-align: left;
    }

    .zg-pr-summary {
        gap: 0;
        margin-bottom: 12px;
        padding: 0;
    }

    .zg-pr-summary__score strong {
        font-size: 28px;
    }

    .zg-pr-summary__score .zg-pr-stars {
        font-size: 18px;
    }

    .zg-pr-summary__score > span:last-child {
        font-size: 15px;
    }

    .zg-pr-summary__trust strong {
        font-size: 15px;
    }

    .zg-pr-summary__trust ul {
        font-size: 13px;
    }

    .zg-pr-summary__trust {
        padding-left: 0;
        padding-top: 12px;
        border-top: 1px solid #dedede;
        border-left: 0;
    }

    .zg-pr-review-list {
        gap: 0;
    }

    .zg-pr-review {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 0 16px;
        border: 0;
        border-bottom: 1px solid #e4e7ea;
        border-radius: 0;
        background: transparent;
    }

    .zg-pr-review:last-child {
        border-bottom: 0;
    }

    .zg-pr-review__meta {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 1px 8px;
        align-items: center;
        padding-right: 0;
        padding-bottom: 1px;
        border-right: 0;
    }

    .zg-pr-review__avatar-wrap {
        grid-row: span 2;
        width: 38px;
        height: 38px;
        margin-bottom: 0;
    }

    .zg-pr-review__source-bubble {
        right: -4px;
        bottom: -4px;
        width: 19px;
        height: 19px;
        border-width: 1px;
    }

    .zg-pr-review__author-line strong {
        font-size: 13px;
    }

    .zg-pr-review__author-line {
        grid-column: 2;
        align-self: end;
    }

    .zg-pr-review__verified {
        width: 13px;
        height: 13px;
        font-size: 8px;
    }

    .zg-pr-review__author-line .zg-pr-badge {
        font-size: 10px;
    }

    .zg-pr-review__source-note {
        font-size: 11px;
        line-height: 1.15;
    }

    .zg-pr-review__body {
        gap: 5px;
    }

    .zg-pr-review__rating {
        gap: 6px;
        font-size: 12px;
    }

    .zg-pr-review__rating--card {
        display: grid;
        grid-row: 1 / span 2;
        grid-column: 3;
        gap: 1px;
        margin-top: 0;
        justify-items: end;
        align-self: center;
        text-align: right;
    }

    .zg-pr-review__rating--card .zg-pr-stars {
        font-size: 12px;
        line-height: 1;
    }

    .zg-pr-review__rating--card > span:last-child {
        font-size: 11px;
        line-height: 1.1;
    }

    .zg-pr-review h3 {
        font-size: 15px;
        line-height: 1.16;
    }

    .zg-pr-review p {
        font-size: 13px;
        line-height: 1.38;
    }

    .zg-pr-review__excerpt-desktop {
        display: none;
    }

    .zg-pr-review__excerpt-mobile {
        display: inline;
    }

    .zg-pr-review__media {
        display: flex;
        gap: 5px;
        margin-top: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .zg-pr-review__media::-webkit-scrollbar {
        display: none;
    }

    .zg-pr-review__media button {
        width: 76px;
        min-height: 76px;
        flex: 0 0 76px;
        border-radius: 5px;
    }

    .zg-pr-review__media-more {
        font-size: 12px;
    }

    .zg-pr-review__read {
        margin-left: 3px;
        font-size: 13px;
    }

    .zg-pr-load-more {
        margin-top: 16px;
        padding-bottom: 36px;
    }

    .zg-pr-load-more__button {
        width: 100%;
        min-width: 0;
        padding: 13px 18px;
        border-radius: 6px;
        font-size: 13px;
    }

    .zg-pr-modal {
        padding: 0;
        align-items: end;
    }

    .zg-pr-modal__dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 14px 14px 0 0;
    }

    .zg-pr-modal__content,
    .zg-pr-modal__content:not(.has-media) {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .zg-pr-modal__media {
        min-height: 0;
        padding: 12px;
    }

    .zg-pr-modal__media img,
    .zg-pr-modal__media video {
        max-height: 42vh;
    }

    .zg-pr-modal__thumbs button {
        width: 56px;
        height: 56px;
    }

    .zg-pr-modal__review {
        gap: 9px;
        padding: 16px;
    }

    .zg-pr-modal__review h3 {
        font-size: 18px;
        line-height: 1.16;
    }

    .zg-pr-modal__review p {
        font-size: 14px;
        line-height: 1.48;
    }

    .zg-pr-modal__top {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .zg-pr-modal__avatar {
        width: 40px;
        height: 40px;
    }

    .zg-pr-modal__source {
        font-size: 11px;
    }

    .zg-pr-modal__nav {
        position: sticky;
        bottom: 0;
        margin-right: -16px;
        margin-left: -16px;
        padding: 10px 16px 0;
        background: #fff;
    }

    .zg-pr-modal__close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
}
