/* Original Stamped layout, type, borders, spacing and responsive rules are retained. */
.stamped-starrating .native-average-star::before {
  background: linear-gradient(to right, #000 0 var(--native-star-fill), #ddd var(--native-star-fill) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#stamped-main-widget[data-native-reviews] [hidden] { display: none !important; }
#stamped-main-widget .native-review-status { clear: both; margin: 12px 0 22px; color: #666; font-size: 12px; line-height: 1.5; }
#stamped-main-widget .native-review-more { display: block; margin: 24px auto; padding: 12px 25px; border: 1px solid #222; background: white; color: #111; font: inherit; font-size: 13px; cursor: pointer; }
#stamped-main-widget .native-review-origin { clear: both; margin: 18px 0 0; color: #777; font-size: 11px; }
#stamped-main-widget .native-review-origin summary, #stamped-main-widget .native-review-provenance summary { cursor: pointer; list-style-position: inside; }
#stamped-main-widget .native-review-origin p, #stamped-main-widget .native-review-provenance p { margin: 7px 0; line-height: 1.6; }
#stamped-main-widget .native-review-provenance { margin: 10px 0 0; color: #888; font-size: 10px; }
#stamped-main-widget .native-review-photo { display: inline-block; padding: 0; margin: 0; border: 0; background: none; vertical-align: top; cursor: pointer; }
#stamped-main-widget .native-review-photo img { object-fit: cover; }
#stamped-main-widget .stamped-review-content-body { white-space: pre-wrap; }
#stamped-main-widget .stamped-photos-carousel .photo.stamped-photo { display: block !important; cursor: pointer; flex-shrink: 0; }
#stamped-main-widget .stamped-photos-carousel { max-width: 100%; overflow: hidden; }
#stamped-main-widget .stamped-photos-carousel .photo.stamped-photo[hidden] { display: none !important; }
#stamped-main-widget .stamped-summary-photos-container .stamped-photos-carousel-btn-left,
#stamped-main-widget .stamped-summary-photos-container .stamped-photos-carousel-btn-right { display: block !important; cursor: pointer; width: 30px; height: 38px; margin-top: -19px; text-align: center; background: #fffffff2; border: 1px solid #ddd; color: #111; z-index: 1; }
#stamped-main-widget .stamped-summary-photos-container .stamped-photos-carousel-btn-left { left: 0 !important; }
#stamped-main-widget .stamped-summary-photos-container .stamped-photos-carousel-btn-right { right: 0 !important; }
#stamped-main-widget .stamped-photos-carousel-btn-left::before { content: '‹'; font: 26px/34px Arial, sans-serif; }
#stamped-main-widget .stamped-photos-carousel-btn-right::before { content: '›'; font: 26px/34px Arial, sans-serif; }
#stamped-main-widget .stamped-summary-photos-container .stamped-photos-carousel-btn-left[hidden],
#stamped-main-widget .stamped-summary-photos-container .stamped-photos-carousel-btn-right[hidden] { display: none !important; }
#stamped-main-widget .stamped-reviews-search-text { display: block !important; }
#stamped-main-widget.native-filters-open .stamped-filters-wrapper { display: block !important; }
#stamped-main-widget.native-filters-open .stamped-summary-actions-clear[style*="inline-block"] { display: inline-block !important; }
#stamped-main-widget .summary-rating-bar[role="button"] { cursor: pointer; }
#stamped-main-widget .summary-rating-bar[aria-disabled="true"] { cursor: default; }
#stamped-main-widget :is(button,[role="button"],select,input,summary):focus-visible { outline: 2px solid #111; outline-offset: 3px; }
#native-review-lightbox { width: min(900px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 16px; border: 0; background: white; color: #111; margin: auto; }
#native-review-lightbox::backdrop { background: #000b; }
#native-review-lightbox .native-review-lightbox-head { display: flex; gap: 12px; justify-content: space-between; align-items: center; font-size: 13px; margin: 0 0 12px; }
#native-review-lightbox button { width: 42px; height: 42px; padding: 0; border: 1px solid #ddd; background: #fff; color: #111; border-radius: 0; cursor: pointer; font: inherit; font-size: 25px; flex-shrink: 0; }
#native-review-lightbox button:disabled { opacity: .3; cursor: default; }
#native-review-lightbox button::before, #native-review-lightbox button::after { content: none; }
#native-review-lightbox .native-review-lightbox-stage { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 7px; align-items: center; }
#native-review-lightbox [data-photo-image] { width: 100%; max-height: calc(100dvh - 170px); min-height: 50px; object-fit: contain; }
#native-review-lightbox [data-photo-count] { text-align: center; font-size: 12px; margin: 12px 0 0; }
@media (max-width: 600px) {
  #native-review-lightbox { padding: 10px; }
  #native-review-lightbox .native-review-lightbox-stage { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 3px; }
  #native-review-lightbox button { width: 34px; }
  #stamped-main-widget #native-rating-filter { max-width: 100%; }
}
