/* A single customer review: photo, name, stars, quote, product button.
 * Palette: #FFFFFF ground, #EEEEEE rules, #1D1616 text, #757575 body,
 * #D84040 accent. */

.cc_srrpi96w_gIsLyoSDMI .rvw-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
}

/* Deliberately small. These are phone photos from customers; displayed near
 * their native size they stay crisp, and blown up to the full card width they
 * went soft. */
.cc_srrpi96w_gIsLyoSDMI .rvw-media {
  width: 100%;
  max-width: 11.5rem;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-surface-alt, #eee);
}

.cc_srrpi96w_gIsLyoSDMI .rvw-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Reads as an empty slot waiting for a photo rather than a failed image, and
 * it holds the row's height so the cards beside it keep their alignment. */
.cc_srrpi96w_gIsLyoSDMI .rvw-photo--empty {
  background: var(--color-bg, #fff);
  border: 1px dashed var(--color-border, #eee);
  border-radius: 4px;
}

.cc_srrpi96w_gIsLyoSDMI .rvw-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text-primary, #1d1616);
}

.cc_srrpi96w_gIsLyoSDMI .rvw-stars {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-bottom: 0.875rem;
  color: var(--rvw-accent, var(--color-accent, #d84040));
}

.cc_srrpi96w_gIsLyoSDMI .rvw-stars svg {
  width: 0.9375rem;
  height: 0.9375rem;
  display: block;
}

.cc_srrpi96w_gIsLyoSDMI .rvw-text {
  max-width: 30ch;
  margin: 0 auto 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-secondary, #757575);
}

/* Pinned to the bottom so the buttons line up across a row whose quotes are
 * different lengths — in the reference they staggered, which read as broken. */
.cc_srrpi96w_gIsLyoSDMI .rvw-btn {
  margin-top: auto;
  width: 100%;
  max-width: 20rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1rem;
  border-radius: 4px;
  background: var(--color-text-primary, #1d1616);
  color: var(--color-bg, #fff);
  font-family: var(--font-label);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.cc_srrpi96w_gIsLyoSDMI .rvw-btn:hover, .cc_srrpi96w_gIsLyoSDMI .rvw-btn:focus-visible {
  background: var(--rvw-accent, var(--color-accent, #d84040));
}

.cc_srrpi96w_gIsLyoSDMI .rvw-btn:focus-visible {
  outline: 2px solid var(--rvw-accent, var(--color-accent, #d84040));
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cc_srrpi96w_gIsLyoSDMI .rvw-btn {
    transition: none;
  }
}

@media (min-width: 768px) {
  .cc_srrpi96w_gIsLyoSDMI .rvw-name, .cc_srrpi96w_gIsLyoSDMI .rvw-text {
    font-size: var(--text-body);
  }

  .cc_srrpi96w_gIsLyoSDMI .rvw-text {
    font-size: var(--text-small);
  }
}
