/* ============================================================================
   Royal Home Flooring — Reviews Page
   Matches the Royal cinematic page system used by service/category pages.
   ============================================================================ */

.rhf-page--reviews {
  --rhf-page-accent: #feda6a;

  --rhf-reviews-dark-a: #3c3640;
  --rhf-reviews-dark-b: #221f26;
  --rhf-reviews-dark-c: #15161c;

  --rhf-reviews-light-a: #f8f9fb;
  --rhf-reviews-light-b: #eef1f4;
  --rhf-reviews-light-c: #dfe5ec;
  --rhf-reviews-light-d: #fffdf8;

  --rhf-reviews-ink: #1d1e22;
  --rhf-reviews-navy: #17385f;
  --rhf-reviews-blue: #1f5f91;
  --rhf-reviews-muted: #4e5565;
  --rhf-reviews-gold-dark: #ad8425;
  --rhf-reviews-line-dark: rgba(255, 255, 255, 0.16);
  --rhf-reviews-line-light: rgba(7, 24, 47, 0.14);
  --rhf-reviews-radius-xl: clamp(1.35rem, 2.2vw, 2.1rem);

  background: var(--rhf-reviews-dark-b);
  color: rgba(255, 255, 255, 0.9);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================================
   Hero
   ============================================================================ */

.rhf-page--reviews .rhf-reviews-hero {
  min-height: clamp(680px, 92vh, 940px);
}

.rhf-page--reviews .rhf-reviews-hero .rhf-page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  align-items: end;
  justify-content: start;
  padding-block: clamp(8rem, 13vw, 11.5rem) clamp(5.5rem, 10vw, 8rem);
}

.rhf-page--reviews .rhf-reviews-hero .rhf-page-hero__copy {
  display: grid;
  justify-items: start;
  max-width: 980px;
}

.rhf-page--reviews .rhf-reviews-hero .rhf-page-kicker {
  margin: 0 0 1rem;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: clamp(0.72rem, 0.66rem + 0.22vw, 0.86rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rhf-page--reviews .rhf-reviews-hero h1 {
  max-width: 10.8ch;
  margin: 0;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.073em;
  text-wrap: balance;
}

.rhf-page--reviews .rhf-reviews-hero .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.rhf-page--reviews .rhf-reviews-hero .rhf-page-hero__shade {
  background:
    linear-gradient(
      180deg,
      rgba(10, 20, 36, 0.52) 0%,
      rgba(10, 20, 36, 0.38) 42%,
      rgba(10, 20, 36, 0.58) 100%
    ) !important;
}

.rhf-page--reviews .rhf-reviews-hero .rhf-page-hero__video {
  filter: saturate(1.02) contrast(1.02);
}

/* ============================================================================
   Shared review section system
   ============================================================================ */

.rhf-reviews-intro,
.rhf-reviews-widget-section,
.rhf-reviews-themes,
.rhf-reviews-close {
  position: relative;
  overflow: clip;
  padding: clamp(4.75rem, 9vw, 9rem) 0;
}

.rhf-reviews-intro > .rhf-container,
.rhf-reviews-widget-section > .rhf-container,
.rhf-reviews-themes > .rhf-container,
.rhf-reviews-close > .rhf-container {
  position: relative;
  z-index: 1;
}

.rhf-reviews-intro,
.rhf-reviews-themes,
.rhf-reviews-close {
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(900px 460px at 8% 0%, rgba(255, 255, 255, 0.08), transparent 58%),
    radial-gradient(760px 360px at 100% 20%, rgba(254, 218, 106, 0.08), transparent 54%),
    linear-gradient(135deg, var(--rhf-reviews-dark-a) 0%, var(--rhf-reviews-dark-b) 100%);
}

.rhf-reviews-widget-section {
  color: var(--rhf-reviews-ink);
  background:
    radial-gradient(820px 380px at 92% 0%, rgba(254, 218, 106, 0.18), transparent 58%),
    radial-gradient(760px 360px at 0% 20%, rgba(255, 255, 255, 0.86), transparent 58%),
    linear-gradient(135deg, var(--rhf-reviews-light-d) 0%, var(--rhf-reviews-light-a) 48%, var(--rhf-reviews-light-c) 100%);
}

.rhf-reviews-close {
  background:
    radial-gradient(860px 420px at 10% 0%, rgba(254, 218, 106, 0.10), transparent 58%),
    radial-gradient(740px 360px at 96% 18%, rgba(255, 255, 255, 0.07), transparent 56%),
    linear-gradient(135deg, #2c242b 0%, #1c141a 100%);
}

.rhf-reviews-widget-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(4rem, 9vw, 8rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(34, 31, 38, 0.18), transparent);
}

.rhf-reviews-themes::before,
.rhf-reviews-close::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(4rem, 9vw, 8rem);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.12), transparent);
}

/* ============================================================================
   Typography
   ============================================================================ */

.rhf-page--reviews .rhf-section-kicker {
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-weight: 950;
  letter-spacing: 0.16em;
  text-shadow: none;
  opacity: 1;
}

.rhf-reviews-opener h2,
.rhf-reviews-section-heading h2,
.rhf-reviews-final h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 5.6rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-shadow: none;
  text-rendering: geometricPrecision;
}

.rhf-reviews-intro h2,
.rhf-reviews-themes h2,
.rhf-reviews-close h2,
.rhf-reviews-intro h3,
.rhf-reviews-themes h3,
.rhf-reviews-close h3 {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.rhf-reviews-widget-section h2,
.rhf-reviews-widget-section h3 {
  color: var(--rhf-reviews-navy);
  -webkit-text-fill-color: var(--rhf-reviews-navy);
}

.rhf-reviews-intro p,
.rhf-reviews-themes p,
.rhf-reviews-close p {
  color: rgba(255, 255, 255, 0.84);
}

.rhf-reviews-widget-section p {
  color: var(--rhf-reviews-muted);
}

.rhf-reviews-opener,
.rhf-reviews-section-heading,
.rhf-reviews-final {
  max-width: 1080px;
}

.rhf-reviews-opener {
  margin-bottom: clamp(2.3rem, 5vw, 4.2rem);
}

.rhf-reviews-section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.rhf-reviews-opener h2 {
  max-width: 980px;
}

.rhf-reviews-section-heading h2 {
  max-width: 920px;
}

.rhf-reviews-opener > p:last-child,
.rhf-reviews-section-heading > p:last-child,
.rhf-reviews-final > p {
  max-width: 790px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.04rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.005em;
}

/* ============================================================================
   Intro proof cards
   ============================================================================ */

.rhf-reviews-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.rhf-reviews-proof-card {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rhf-reviews-proof-card > p:first-child {
  margin: 0;
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.rhf-reviews-proof-card h3 {
  margin: 1rem 0 0;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.rhf-reviews-proof-card > p:last-child {
  margin: 0.7rem 0 0;
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ============================================================================
   Shopper Approved widget area
   ============================================================================ */


/* ============================================================================
   Shopper Approved seal card
   ============================================================================ */

.rhf-reviews-sa-seal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.4vw, 1.65rem);
  align-items: center;
  width: min(100%, 920px);
  margin: 0 auto clamp(1.4rem, 3vw, 2.35rem);
  padding: clamp(1rem, 2vw, 1.35rem) clamp(1.05rem, 2.4vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: clamp(1.1rem, 2vw, 1.55rem);
  background:
    radial-gradient(320px 160px at 16% 0%, rgba(254, 218, 106, 0.13), transparent 72%),
    linear-gradient(180deg, #303641 0%, #252a32 54%, #1c2129 100%);
  box-shadow: 0 22px 70px rgba(23, 32, 51, 0.18);
  color: #ffffff;
}

.rhf-reviews-sa-seal__copy {
  display: grid;
  gap: 0.38rem;
  min-width: 0;
}

.rhf-reviews-sa-seal__kicker {
  margin: 0;
  color: var(--rhf-page-accent) !important;
  -webkit-text-fill-color: var(--rhf-page-accent) !important;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.rhf-reviews-sa-seal__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 460;
  letter-spacing: -0.012em;
  line-height: 1.48;
}

.rhf-reviews-sa-seal__link,
.rhf-reviews-sa-seal .shopperlink,
.rhf-reviews-sa-seal .new-sa-seals,
.rhf-reviews-sa-seal .placement-default {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.rhf-reviews-sa-seal img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 220px) !important;
  max-height: 56px !important;
  height: auto !important;
  border-radius: 4px !important;
}

@media (max-width: 760px) {
  .rhf-reviews-sa-seal {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.rhf-reviews-widget-shell {
  overflow: hidden;
  border: 1px solid rgba(7, 24, 47, 0.12);
  border-radius: var(--rhf-reviews-radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  box-shadow:
    0 30px 90px rgba(7, 24, 47, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.rhf-reviews-widget-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.95rem clamp(1rem, 2vw, 1.45rem);
  border-bottom: 1px solid rgba(7, 24, 47, 0.11);
  background: rgba(255, 255, 255, 0.72);
}

.rhf-reviews-widget-toolbar span:first-child {
  color: var(--rhf-reviews-navy);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.rhf-reviews-widget-toolbar__stars {
  color: var(--rhf-page-accent);
  -webkit-text-fill-color: var(--rhf-page-accent);
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(7, 24, 47, 0.22);
}

.rhf-reviews-shopper-widget {
  min-height: 420px;
  padding: clamp(1rem, 2vw, 1.55rem);
  color: var(--rhf-reviews-ink);
}

.rhf-reviews-shopper-widget iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

.rhf-reviews-shopper-widget .shopperapproved_widget,
.rhf-reviews-shopper-widget .sa_review,
.rhf-reviews-shopper-widget [class*="shopper"],
.rhf-reviews-shopper-widget [class*="sa_"] {
  max-width: 100%;
}

.rhf-reviews-widget-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px dashed rgba(7, 24, 47, 0.2);
  border-radius: clamp(1rem, 2vw, 1.45rem);
  padding: clamp(1.25rem, 3vw, 2.2rem);
  background:
    radial-gradient(520px 240px at 50% 0%, rgba(254, 218, 106, 0.17), transparent 70%),
    rgba(255, 255, 255, 0.62);
  text-align: center;
}

.rhf-reviews-widget-placeholder > * {
  max-width: 680px;
}

.rhf-reviews-widget-placeholder__kicker {
  margin: 0 0 0.85rem;
  color: var(--rhf-reviews-gold-dark) !important;
  -webkit-text-fill-color: var(--rhf-reviews-gold-dark) !important;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.rhf-reviews-widget-placeholder h3 {
  margin: 0;
  color: var(--rhf-reviews-navy);
  -webkit-text-fill-color: var(--rhf-reviews-navy);
  font-size: clamp(1.6rem, 3.4vw, 3.2rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.052em;
}

.rhf-reviews-widget-placeholder p:not(.rhf-reviews-widget-placeholder__kicker) {
  margin: 1rem auto 0;
  color: var(--rhf-reviews-muted);
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.68;
}

/* ============================================================================
   Customer theme cards
   ============================================================================ */

.rhf-reviews-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.rhf-reviews-theme-card {
  min-height: 260px;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.rhf-reviews-theme-card__mark {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(254, 218, 106, 0.38);
  border-radius: 999px;
  background: rgba(254, 218, 106, 0.08);
  color: var(--rhf-page-accent);
  font-weight: 950;
}

.rhf-reviews-theme-card h3 {
  margin: 1.05rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.rhf-reviews-theme-card p {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

/* ============================================================================
   CTA close
   ============================================================================ */

.rhf-reviews-final {
  max-width: 980px;
}

.rhf-reviews-final h2 {
  max-width: 900px;
}

.rhf-reviews-final .rhf-page-hero__actions {
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* ============================================================================
   Responsive
   ============================================================================ */

@media (max-width: 1120px) {
  .rhf-reviews-proof-grid,
  .rhf-reviews-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rhf-page--reviews .rhf-reviews-hero {
    min-height: 740px;
  }

  .rhf-page--reviews .rhf-reviews-hero .rhf-page-hero__inner {
    padding-block: 7.5rem 4.75rem;
  }

  .rhf-page--reviews .rhf-reviews-hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2.45rem, 11vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .rhf-reviews-intro,
  .rhf-reviews-widget-section,
  .rhf-reviews-themes,
  .rhf-reviews-close {
    padding-block: 3.75rem;
  }

  .rhf-reviews-proof-grid,
  .rhf-reviews-theme-grid {
    grid-template-columns: 1fr;
  }

  .rhf-reviews-opener h2,
  .rhf-reviews-section-heading h2,
  .rhf-reviews-final h2 {
    font-size: clamp(2.15rem, 12vw, 3.7rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .rhf-reviews-widget-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rhf-reviews-shopper-widget {
    padding: 0.85rem;
  }
}

/* Shopper Approved Seal — Royal custom wrapper */








/* Shopper Approved seal placement only — no background, no card, no text */
.rhf-reviews-widget-section .shopperlink.placement-2639 {
  display: flex !important;
  justify-content: center !important;
  margin: 0 auto 56px !important;
}

