.trustreview-showcase {
  --tr-primary: #0b0f17;
  --tr-surface: #ffffff;
  --tr-radius: 16px;
  --tr-radius-sm: 10px;
  --tr-star-color: var(--trustreview-star-color, #f59e0b);
  --tr-accent: var(--tr-star-color);
  --tr-text: #0b0f17;
  --tr-subtle: #5b6472;
  --tr-line: rgba(11, 15, 23, 0.06);
  --tr-line-strong: rgba(11, 15, 23, 0.12);
  --tr-shadow: 0 1px 2px rgba(11, 15, 23, 0.04);
  --tr-shadow-hover: 0 10px 28px rgba(11, 15, 23, 0.08);
  --tr-shadow-floating: 0 24px 80px rgba(0, 0, 0, 0.1);
  --tr-ugc-desktop-columns: 4;
  --tr-ugc-mobile-columns: 2;
  display: block;
  padding-top: var(--tr-padding-pc-top, 40px);
  padding-right: var(--tr-padding-pc-right, 0px);
  padding-bottom: var(--tr-padding-pc-bottom, 40px);
  padding-left: var(--tr-padding-pc-left, 0px);
  color: var(--tr-text);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (max-width: 749px) {
  .trustreview-showcase {
    padding-top: var(--tr-padding-mobile-top, var(--tr-padding-pc-top, 40px));
    padding-right: var(--tr-padding-mobile-right, var(--tr-padding-pc-right, 0px));
    padding-bottom: var(--tr-padding-mobile-bottom, var(--tr-padding-pc-bottom, 40px));
    padding-left: var(--tr-padding-mobile-left, var(--tr-padding-pc-left, 0px));
  }
}

.trustreview-showcase__loading,
.trustreview-showcase__empty,
.trustreview-showcase__error {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--tr-radius);
  background: #ffffff;
  border: 1px solid var(--tr-line);
  box-shadow: var(--tr-shadow);
}

.trustreview-showcase__loading::before,
.trustreview-showcase__empty::before,
.trustreview-showcase__error::before {
  content: "★";
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--tr-star-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}

.trustreview-showcase__shell {
  display: grid;
  gap: 20px;
}

.trustreview-showcase__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.trustreview-showcase--ugc-grid .trustreview-showcase__header {
  justify-content: center;
}

.trustreview-showcase__header h2,
.trustreview-showcase__header p {
  margin: 0;
}

.trustreview-showcase__header h2 {
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--tr-primary);
}

.trustreview-showcase__header p {
  max-width: 640px;
  color: var(--tr-subtle);
  line-height: 1.7;
}

.trustreview-showcase__summary {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.trustreview-showcase__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.trustreview-showcase__tab {
  border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius-sm);
  background: #ffffff;
  color: var(--tr-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease, color 140ms ease;
}

.trustreview-showcase__tab svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.trustreview-showcase__tab.is-active {
  border-color: var(--tr-accent);
  box-shadow: 0 0 0 1px var(--tr-accent) inset;
  color: var(--tr-accent);
}

.trustreview-showcase__review-tabs-summary {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.trustreview-showcase__review-tabs-score {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--tr-primary);
}

.trustreview-showcase__review-tabs-score strong {
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.trustreview-showcase__review-tabs-score .trustreview-showcase__stars {
  font-size: 20px;
}

.trustreview-showcase__review-tabs-score span:last-child {
  color: var(--tr-subtle);
}

.trustreview-showcase__stat {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius-sm);
  background: #ffffff;
  box-shadow: var(--tr-shadow);
}

.trustreview-showcase__stat strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--tr-primary);
}

.trustreview-showcase__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.trustreview-showcase__filters {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trustreview-showcase__button,
.trustreview-showcase__chip {
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--tr-line);
  background: #ffffff;
  color: var(--tr-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.trustreview-showcase button:focus-visible,
.trustreview-showcase a:focus-visible,
.trustreview-showcase [role="button"]:focus-visible,
.trustreview-media-preview button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.72);
  outline-offset: 3px;
}

@media (hover: hover) {
  .trustreview-showcase__button:hover,
  .trustreview-showcase__chip:hover {
    border-color: var(--tr-line-strong);
    box-shadow: var(--tr-shadow);
  }
}

.trustreview-showcase__chip.is-active {
  background: var(--tr-primary);
  color: #ffffff;
  border-color: var(--tr-primary);
}

.trustreview-showcase__sort {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--tr-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--tr-text);
  font-size: 13px;
  font-weight: 700;
}

.trustreview-showcase__sort-options[hidden] {
  display: none;
}

.trustreview-showcase__sort-menu {
  position: relative;
}

.trustreview-showcase__sort-trigger {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 128px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.trustreview-showcase__sort-icon {
  width: 16px;
  height: 16px;
  color: var(--tr-subtle);
  flex: 0 0 auto;
}

.trustreview-showcase__sort-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: max(100%, 172px);
  padding: 6px;
  border: 1px solid var(--tr-line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(11, 15, 23, 0.14);
}

.trustreview-showcase__sort-options button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--tr-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.trustreview-showcase__sort-options button[aria-selected="true"] {
  background: #f3f4f6;
  font-weight: 700;
}

.trustreview-showcase__sort-options button[aria-selected="true"]::before {
  content: "✓";
}

.trustreview-showcase__sort-options button:hover,
.trustreview-showcase__sort-options button:focus-visible {
  background: #eef2f7;
  outline: 2px solid rgba(17, 24, 39, 0.28);
  outline-offset: -2px;
}

.trustreview-showcase__grid {
  display: grid;
  grid-template-columns: repeat(var(--tr-ugc-desktop-columns), minmax(0, 1fr));
  gap: 10px;
}

.trustreview-showcase__ugc-heading {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.trustreview-showcase__ugc-summary-bar {
  width: fit-content;
  max-width: 100%;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 32px;
  color: var(--tr-text);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.35;
}

.trustreview-showcase__ugc-summary-text {
  color: var(--tr-text);
  white-space: nowrap;
}

.trustreview-showcase__ugc-summary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--tr-line-strong);
  color: var(--tr-text);
  text-decoration: none;
  white-space: nowrap;
}

.trustreview-showcase__ugc-summary-link span {
  font-size: 16px;
  line-height: 1;
}

.trustreview-showcase__media-card,
.trustreview-showcase__carousel-card,
.trustreview-showcase__review-card {
  border-radius: var(--tr-radius);
  background: #ffffff;
  border: 1px solid var(--tr-line);
  overflow: hidden;
  box-shadow: var(--tr-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.trustreview-showcase__media-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: #111111;
}

.trustreview-showcase__ugc-preview {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
}

.trustreview-showcase__ugc-preview img,
.trustreview-showcase__ugc-preview .trustreview-showcase__media-placeholder {
  width: 100%;
  height: 100%;
}

.trustreview-showcase__ugc-preview img {
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}

.trustreview-showcase__ugc-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(17, 17, 17, 0.56);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.trustreview-showcase__ugc-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 260px;
  text-align: center;
}

.trustreview-showcase__ugc-overlay .trustreview-showcase__stars {
  color: var(--tr-star-color);
}

.trustreview-showcase__ugc-overlay .trustreview-showcase__content {
  color: #ffffff;
  line-height: 1.45;
  -webkit-line-clamp: 3;
}

.trustreview-showcase__ugc-overlay .trustreview-showcase__author {
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.trustreview-showcase__media-card--no-media .trustreview-showcase__ugc-overlay {
  opacity: 1;
}

.trustreview-showcase__media-card:focus-within .trustreview-showcase__ugc-overlay {
  opacity: 1;
}

@media (hover: hover) {
  .trustreview-showcase__media-card:hover,
  .trustreview-showcase__carousel-card:hover,
  .trustreview-showcase__review-card:hover {
    transform: translateY(-1px);
    background: #fafafa;
    border-color: var(--tr-line-strong);
    box-shadow: var(--tr-shadow-hover);
  }

  .trustreview-showcase__media-card:hover .trustreview-showcase__ugc-overlay {
    opacity: 1;
  }

  .trustreview-showcase__media-card:hover .trustreview-showcase__ugc-preview img {
    transform: scale(1.035);
  }
}

.trustreview-showcase__media-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--tr-line);
}

.trustreview-showcase__media-thumb .trustreview-showcase__review-media-item {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.trustreview-showcase__media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

@media (hover: hover) {
  .trustreview-showcase__media-card:hover .trustreview-showcase__media-thumb img {
    transform: scale(1.035);
  }
}

.trustreview-showcase--ugc-masonry .trustreview-showcase__header {
  justify-content: center;
}

.trustreview-showcase__masonry {
  column-count: var(--tr-ugc-desktop-columns);
  column-gap: 18px;
}

.trustreview-showcase__masonry-card {
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: var(--tr-radius);
  background: #ffffff;
  border: 1px solid var(--tr-line);
  box-shadow: var(--tr-shadow);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.trustreview-showcase__masonry-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.trustreview-showcase__masonry-media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.04);
}

.trustreview-showcase__masonry-media img,
.trustreview-showcase__masonry-media video {
  display: block;
  width: 100%;
  height: auto;
}

.trustreview-showcase__masonry-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.trustreview-showcase__masonry-card--text-only .trustreview-showcase__masonry-body {
  padding-top: 16px;
}

.trustreview-showcase__masonry-author {
  color: var(--tr-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.trustreview-showcase__masonry-stars {
  color: var(--tr-star-color);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.trustreview-showcase__masonry-content {
  color: var(--tr-text);
  font-size: 14px;
  line-height: 1.55;
}

.trustreview-showcase__masonry-sentinel {
  width: 100%;
  height: 1px;
}

@media (hover: hover) {
  .trustreview-showcase__masonry-card:hover {
    transform: translateY(-1px);
    border-color: var(--tr-line-strong);
    box-shadow: var(--tr-shadow-hover);
  }

  .trustreview-showcase__masonry-card:hover .trustreview-showcase__masonry-media img,
  .trustreview-showcase__masonry-card:hover .trustreview-showcase__masonry-media video {
    transform: scale(1.02);
  }
}

.trustreview-showcase__media-meta,
.trustreview-showcase__review-meta {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.trustreview-showcase__stars {
  color: var(--tr-star-color);
  letter-spacing: 0.14em;
  font-size: 13px;
}

.trustreview-showcase__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.trustreview-showcase__author {
  font-weight: 700;
  letter-spacing: 0;
}

.trustreview-showcase__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}

.trustreview-showcase__product {
  color: var(--tr-subtle);
  font-size: 13px;
}

.trustreview-showcase__content {
  margin: 0;
  color: var(--tr-text);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trustreview-showcase__carousel-card .trustreview-showcase__content,
.trustreview-showcase--all-reviews .trustreview-showcase__review-card .trustreview-showcase__content,
.trustreview-showcase--review-tabs .trustreview-showcase__review-card .trustreview-showcase__content {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.trustreview-showcase__review-media {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.trustreview-showcase__review-media-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.trustreview-showcase__review-media-carousel {
  overflow: hidden;
}

.trustreview-showcase__review-media-track {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trustreview-showcase__review-media-track::-webkit-scrollbar {
  display: none;
}

.trustreview-showcase__carousel-card .trustreview-showcase__review-media {
  display: grid;
  grid-template-columns: repeat(2, 92px);
}

.trustreview-showcase__review-media-item {
  position: relative;
  display: block;
  width: 92px;
  height: 92px;
  overflow: hidden;
  border-radius: var(--tr-radius-sm);
  border: 1px solid var(--tr-line);
  background: #ffffff;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  flex: 0 0 92px;
  scroll-snap-align: start;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.trustreview-showcase__media-nav {
  position: absolute;
  top: calc(50% + 8px);
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 15, 23, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--tr-text);
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 22px rgba(11, 15, 23, 0.14);
}

.trustreview-showcase__media-nav[hidden] {
  display: none;
}

.trustreview-showcase__media-nav--prev {
  left: 10px;
}

.trustreview-showcase__media-nav--next {
  right: 10px;
}

.trustreview-showcase__media-nav-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trustreview-showcase__carousel-card .trustreview-showcase__review-media-item {
  width: 92px;
  height: 92px;
}

.trustreview-showcase__media-more {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 23, 0.52);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

@media (hover: hover) {
  .trustreview-showcase__review-media-item:hover {
    transform: translateY(-1px);
    border-color: var(--tr-line-strong);
    box-shadow: var(--tr-shadow);
  }
}

.trustreview-showcase__review-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trustreview-showcase__media-placeholder {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #ffffff;
  font-size: 22px;
}

.trustreview-showcase__media-overlay {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 23, 0.58);
  color: #ffffff;
  opacity: 0;
  transition: opacity 160ms ease;
}

.trustreview-showcase__media-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.trustreview-showcase__media-icon--video::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 11px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #0b0f17;
}

.trustreview-showcase__media-icon--image::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 9px;
  width: 13px;
  height: 13px;
  border: 3px solid #0b0f17;
  border-radius: 999px;
}

.trustreview-showcase__media-icon--image::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: #0b0f17;
  transform: rotate(45deg);
  transform-origin: left center;
}

@media (hover: hover) {
  .trustreview-showcase__review-media-item:hover .trustreview-showcase__media-overlay {
    opacity: 1;
  }
}

.trustreview-media-preview {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.trustreview-media-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.62);
  backdrop-filter: blur(4px);
}

.trustreview-media-preview__dialog {
  position: relative;
  width: min(92vw, 920px);
  height: min(82vh, 720px);
  border-radius: var(--tr-radius);
  background: #0b0f17;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.trustreview-media-preview__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(11, 15, 23, 0.72);
  color: #ffffff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.trustreview-media-preview__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(11, 15, 23, 0.72);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

.trustreview-media-preview__nav:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.trustreview-media-preview__nav--prev {
  left: 12px;
}

.trustreview-media-preview__nav--next {
  right: 12px;
}

.trustreview-media-preview__body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.trustreview-media-preview__body img,
.trustreview-media-preview__body video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trustreview-review-detail-open {
  overflow: hidden;
}

.trustreview-review-detail {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111827;
}

.trustreview-review-detail .trustreview-showcase__stars {
  color: var(--tr-star-color, var(--trustreview-star-color, #f59e0b));
}

.trustreview-review-detail__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.64);
  backdrop-filter: blur(4px);
}

.trustreview-review-detail__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1040px);
  height: min(82vh, 680px);
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.trustreview-review-detail__media {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trustreview-review-detail__media-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trustreview-review-detail__media img,
.trustreview-review-detail__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trustreview-review-detail__placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #f5f5f5;
  color: #4b5563;
  text-align: center;
  line-height: 1.6;
}

.trustreview-review-detail__media-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  pointer-events: auto;
}

.trustreview-review-detail__media-nav-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trustreview-review-detail__media-nav--prev {
  left: 22px;
}

.trustreview-review-detail__media-nav--next {
  right: 22px;
}

.trustreview-review-detail__panel {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  min-width: 0;
  padding: 92px 32px 32px;
  background: #ffffff;
}

.trustreview-review-detail__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.trustreview-review-detail__mobile-close {
  display: none;
}

.trustreview-review-detail__review {
  align-self: center;
  display: grid;
  gap: 28px;
}

.trustreview-review-detail__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trustreview-review-detail__author > span {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
}

.trustreview-review-detail__author strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.trustreview-review-detail__review p {
  margin: 0;
  color: #111827;
  line-height: 1.45;
  letter-spacing: 0;
}

.trustreview-review-detail__product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 104px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  overflow: hidden;
  background: #ffffff;
  padding-right: 10px;
}

.trustreview-review-detail__product-image {
  width: 96px;
  height: 104px;
  display: block;
  background: #f3f4f6;
}

.trustreview-review-detail__product-image img,
.trustreview-review-detail__product-image span {
  display: block;
  width: 100%;
  height: 100%;
}

.trustreview-review-detail__product-image img {
  object-fit: cover;
}

.trustreview-review-detail__product-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.trustreview-review-detail__product-copy strong,
.trustreview-review-detail__product-copy span {
  overflow-wrap: anywhere;
}

.trustreview-review-detail__product-copy strong {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.trustreview-review-detail__product-copy span {
  color: #4b5563;
  font-size: 14px;
}

.trustreview-review-detail__product-arrow {
  padding-right: 14px;
  font-size: 24px;
}

.trustreview-review-detail button:focus-visible,
.trustreview-review-detail a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.72);
  outline-offset: 3px;
}

.trustreview-showcase__reply {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--tr-radius-sm);
  background: #fafafa;
  border: 1px solid var(--tr-line);
  color: var(--tr-subtle);
  font-size: 13px;
  line-height: 1.7;
}

.trustreview-showcase__reply-label {
  color: var(--tr-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trustreview-showcase__reply-author {
  color: var(--tr-text);
  font-size: 13px;
}

.trustreview-showcase__reply-content {
  color: var(--tr-subtle);
}

.trustreview-showcase__carousel {
  display: grid;
  gap: 16px;
}

.trustreview-showcase__carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trustreview-showcase__carousel-card,
.trustreview-showcase__review-card {
  padding: 22px;
}

.trustreview-showcase__carousel-card h3,
.trustreview-showcase__review-card h3 {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--tr-primary);
}

.trustreview-showcase__carousel-product-link,
.trustreview-showcase__review-product-link {
  color: inherit;
  text-decoration: none;
}

.trustreview-showcase__carousel-actions,
.trustreview-showcase__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.trustreview-showcase__pagination {
  justify-content: center;
}

.trustreview-showcase__pagination-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.trustreview-showcase__pagination-button {
  min-height: 42px;
}

.trustreview-showcase__pagination-sentinel {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--tr-subtle);
  font-size: 13px;
}

.trustreview-showcase__pagination-status {
  color: var(--tr-subtle);
  font-size: 13px;
}

.trustreview-showcase__review-list {
  display: grid;
  gap: 16px;
}

.trustreview-showcase__review-tabs-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(300px, 48%);
  align-items: center;
  gap: 22px;
  min-height: 190px;
  padding: 24px 28px;
  cursor: pointer;
}

.trustreview-showcase__review-tabs-card--no-media {
  grid-template-columns: 74px minmax(0, 1fr);
}

.trustreview-showcase__review-tabs-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  background: #e5e7eb;
  color: #374151;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.trustreview-showcase__review-tabs-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trustreview-showcase__review-tabs-body {
  min-width: 0;
}

.trustreview-showcase__review-tabs-body .trustreview-showcase__review-meta {
  padding: 0;
  gap: 8px;
}

.trustreview-showcase__review-tabs-body .trustreview-showcase__meta-row {
  justify-content: flex-start;
  gap: 8px;
}

.trustreview-showcase__review-tabs-body .trustreview-showcase__author {
  font-size: 16px;
}

.trustreview-showcase__review-tabs-body .trustreview-showcase__badge {
  padding: 3px 8px;
}

.trustreview-showcase__review-tabs-helpful {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--tr-subtle);
  font-size: 13px;
}

.trustreview-showcase__review-tabs-helpful svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--tr-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trustreview-showcase__review-tabs-media {
  min-width: 0;
}

.trustreview-showcase__review-tabs-media .trustreview-showcase__review-media {
  display: grid;
  grid-template-columns: repeat(2, clamp(110px, 13vw, 160px));
  justify-content: end;
  margin-top: 0;
  gap: 14px;
}

.trustreview-showcase__review-tabs-media .trustreview-showcase__review-media-item {
  width: clamp(110px, 13vw, 160px);
  height: clamp(110px, 13vw, 160px);
}

.trustreview-showcase__masonry--review-tabs {
  margin-top: 0;
}

.trustreview-showcase--floating-trigger {
  position: fixed;
  z-index: 9998;
  bottom: var(--tr-floating-offset, 24px);
  right: 24px;
}

.trustreview-showcase--floating-trigger[data-position="left"] {
  left: 24px;
  right: auto;
}

.trustreview-showcase__floating-button {
  min-width: 188px;
  max-width: 240px;
  border: 0;
  border-radius: var(--tr-radius);
  background: var(--tr-primary);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 12px 16px 12px 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

@media (hover: hover) {
  .trustreview-showcase__floating-button:hover {
    transform: none;
    box-shadow: var(--tr-shadow-floating);
  }
}

.trustreview-showcase__floating-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--tr-radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.trustreview-showcase__floating-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.trustreview-showcase__floating-copy strong {
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0;
}

.trustreview-showcase__floating-copy span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.trustreview-showcase__floating-panel {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.trustreview-showcase__floating-panel.is-open {
  display: block;
}

.trustreview-showcase__floating-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 23, 0.42);
  backdrop-filter: blur(6px);
}

.trustreview-showcase__floating-dialog {
  position: absolute;
  right: 18px;
  bottom: calc(var(--tr-floating-offset, 24px) + 82px);
  width: min(420px, calc(100vw - 24px));
  max-height: min(74vh, 720px);
  border-radius: var(--tr-radius);
  background: #ffffff;
  border: 1px solid var(--tr-line);
  box-shadow: var(--tr-shadow-floating);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.trustreview-showcase--floating-trigger[data-position="left"] .trustreview-showcase__floating-dialog {
  left: 18px;
  right: auto;
}

.trustreview-showcase__floating-head {
  padding: 20px 22px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--tr-line);
  background: #ffffff;
}

.trustreview-showcase__floating-head h3,
.trustreview-showcase__floating-head p {
  margin: 0;
}

.trustreview-showcase__floating-head h3 {
  color: var(--tr-primary);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0;
}

.trustreview-showcase__floating-head p {
  margin-top: 8px;
  color: var(--tr-subtle);
  line-height: 1.6;
  font-size: 13px;
}

.trustreview-showcase__floating-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid var(--tr-line);
  background: #ffffff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.trustreview-showcase__floating-body {
  overflow: auto;
  padding: 18px 18px 20px;
  display: grid;
  gap: 16px;
}

.trustreview-showcase__floating-foot {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--tr-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fafafa;
}

@media (max-width: 980px) {
  .trustreview-showcase__carousel-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .trustreview-showcase__grid {
    grid-template-columns: repeat(var(--tr-ugc-mobile-columns), minmax(0, 1fr));
    gap: 12px;
  }

  .trustreview-showcase__masonry {
    column-count: var(--tr-ugc-mobile-columns);
    column-gap: 12px;
  }

  .trustreview-showcase__masonry-card {
    margin-bottom: 12px;
  }

  .trustreview-showcase__masonry-body {
    gap: 6px;
    padding: 12px;
  }

  .trustreview-showcase__header {
    align-items: flex-start;
  }

  .trustreview-showcase__tabs {
    gap: 6px;
  }

  .trustreview-showcase__tab {
    min-height: 54px;
    gap: 8px;
    padding: 10px 8px;
    font-size: 15px;
  }

  .trustreview-showcase__tab svg {
    width: 22px;
    height: 22px;
  }

  .trustreview-showcase__review-tabs-summary {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .trustreview-showcase__review-tabs-score {
    gap: 10px;
  }

  .trustreview-showcase__review-tabs-score strong {
    font-size: 30px;
  }

  .trustreview-showcase__review-tabs-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 18px;
  }

  .trustreview-showcase__review-tabs-avatar {
    width: 54px;
    height: 54px;
    font-size: 24px;
    display: none;
  }

  .trustreview-showcase__review-tabs-media .trustreview-showcase__review-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: flex-start;
  }

  .trustreview-showcase__review-tabs-media .trustreview-showcase__review-media-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .trustreview-showcase__header h2 {
    font-size: 26px;
    line-height: 1.1;
  }

  .trustreview-showcase__ugc-summary-bar {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .trustreview-showcase__ugc-summary-text,
  .trustreview-showcase__ugc-summary-link {
    white-space: normal;
  }

  .trustreview-showcase__ugc-summary-link {
    padding-left: 10px;
  }

  .trustreview-showcase__summary {
    width: 100%;
  }

  .trustreview-showcase__stat {
    flex: 1 1 calc(50% - 9px);
    min-width: 0;
  }

  .trustreview-showcase--floating-trigger,
  .trustreview-showcase--floating-trigger[data-position="left"] {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .trustreview-showcase__floating-button {
    max-width: calc(100% - 24px);
    width: 100%;
    margin: 0 auto;
  }

  .trustreview-showcase__floating-dialog,
  .trustreview-showcase--floating-trigger[data-position="left"] .trustreview-showcase__floating-dialog {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 94px;
    max-height: calc(100vh - 112px);
  }

  .trustreview-review-detail {
    padding: 12px;
  }

  .trustreview-review-detail__dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 48dvh) auto;
    overflow: auto;
    border-radius: 14px;
  }

  .trustreview-review-detail__mobile-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .trustreview-review-detail__media img,
  .trustreview-review-detail__media video {
    object-fit: contain;
  }

  .trustreview-review-detail__media-nav {
    width: 40px;
    height: 40px;
  }

  .trustreview-review-detail__media-nav-icon {
    width: 22px;
    height: 22px;
  }

  .trustreview-review-detail__media-nav--prev {
    left: 12px;
  }

  .trustreview-review-detail__media-nav--next {
    right: 12px;
  }

  .trustreview-review-detail__panel {
    align-content: start;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 28px 20px 22px;
  }

  .trustreview-review-detail__panel .trustreview-review-detail__close {
    display: none;
  }

  .trustreview-review-detail__review {
    align-self: start;
    gap: 20px;
  }

  .trustreview-review-detail__author > span {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .trustreview-review-detail__author strong {
    font-size: 20px;
  }

  .trustreview-review-detail__product {
    grid-template-columns: 82px minmax(0, 1fr) 22px;
    gap: 14px;
    min-height: 0;
    align-self: start;
  }

  .trustreview-review-detail__product-image {
    width: 82px;
    height: 90px;
  }

  .trustreview-showcase__ugc-overlay {
    padding: 6px;
    opacity: 1;
  }

  .trustreview-showcase__ugc-copy {
    gap: 6px;
  }

  .trustreview-showcase__ugc-overlay .trustreview-showcase__content {
    line-height: 1.1;
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trustreview-showcase *,
  .trustreview-media-preview *,
  .trustreview-review-detail * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .trustreview-showcase__media-card:hover,
  .trustreview-showcase__carousel-card:hover,
  .trustreview-showcase__review-card:hover,
  .trustreview-showcase__review-media-item:hover,
  .trustreview-showcase__floating-button:hover {
    transform: none !important;
  }
}

[dir="rtl"].trustreview-showcase,
[dir="rtl"].trustreview-media-preview,
[dir="rtl"].trustreview-review-detail {
  direction: rtl;
  text-align: right;
}

.trustreview-showcase[dir="rtl"] .trustreview-showcase__header,
.trustreview-showcase[dir="rtl"] .trustreview-showcase__toolbar,
.trustreview-showcase[dir="rtl"] .trustreview-showcase__tabs,
.trustreview-showcase[dir="rtl"] .trustreview-showcase__floating-copy,
.trustreview-showcase[dir="rtl"] .trustreview-showcase__floating-pagination,
.trustreview-showcase[dir="rtl"] .trustreview-showcase__pagination-actions,
.trustreview-review-detail[dir="rtl"] .trustreview-review-detail__author,
.trustreview-review-detail[dir="rtl"] .trustreview-review-detail__product {
  flex-direction: row-reverse;
}

.trustreview-showcase[dir="rtl"] .trustreview-showcase__sort-options {
  right: auto;
  left: 0;
}

.trustreview-showcase[dir="rtl"] .trustreview-showcase__sort-options button {
  text-align: right;
}

.trustreview-media-preview[dir="rtl"] .trustreview-media-preview__close,
.trustreview-review-detail[dir="rtl"] .trustreview-review-detail__close {
  right: auto;
  left: 12px;
}

.trustreview-media-preview[dir="rtl"] .trustreview-media-preview__nav--prev,
.trustreview-review-detail[dir="rtl"] .trustreview-review-detail__media-nav--prev {
  left: auto;
  right: 12px;
}

.trustreview-media-preview[dir="rtl"] .trustreview-media-preview__nav--next,
.trustreview-review-detail[dir="rtl"] .trustreview-review-detail__media-nav--next {
  right: auto;
  left: 12px;
}
