﻿/**
 * Optional blocks rendered inside [data-custom-sections-host] — loaded by landing templates + editor preview.
 */
[data-custom-sections-host] {
  display: flex;
  flex-direction: column;
  gap: 0;
}

[data-custom-sections-host]:not(:empty) {
  border-bottom: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
}

.aff-cs {
  padding-block: clamp(calc(var(--bix-section-spacing-y) * 0.45), 7vw, calc(var(--bix-section-spacing-y) * 1.05));
  border-top: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
}

/* -------------------------------------------------------------------------- */
/* Optional hero blocks (add-on sections)                                     */
/* -------------------------------------------------------------------------- */

.aff-cs--hero {
  padding-block: clamp(calc(var(--bix-section-spacing-y) * 0.45), 7vw, calc(var(--bix-section-spacing-y) * 1.05));
  background: var(--bix-section-hero-bg, var(--bix-color-cream, #f4f0e8));
  color: var(--bix-section-hero-text, var(--bix-color-ink, #1c1917));
}

.aff-cs-hero__kicker {
  margin: 0 0 var(--bix-space-4, 1rem);
}

.aff-cs-hero__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: var(--bix-font-weight-heading, 700);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--bix-section-hero-text, var(--bix-color-ink, #1c1917));
}

.aff-cs-hero__title em {
  font-style: italic;
  color: var(--bix-section-hero-accent, var(--bix-color-accent, #3d8b5c));
}

.aff-cs-hero__lead {
  margin: 0 0 var(--bix-space-8, 2rem);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--bix-color-muted, #78716c);
  max-width: 36rem;
}

.aff-cs-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bix-space-3, 0.75rem);
  align-items: center;
}

.aff-cs-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bix-radius-xl, 1.5rem);
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--bix-shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
}

/* Split hero */
.aff-cs-hero-split__grid {
  display: grid;
  gap: var(--bix-space-10, 2.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .aff-cs-hero-split__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.aff-cs-hero-split__copy {
  min-width: 0;
}

/* Centered hero */
.aff-cs-hero-centered__inner {
  margin-inline: auto;
  text-align: center;
}

.aff-cs-hero-centered__visual {
  margin-bottom: var(--bix-space-10, 2.5rem);
}

.aff-cs-hero-centered__visual img {
  max-height: min(22rem, 52vw);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.aff-cs-hero-centered__copy .aff-cs-hero__lead {
  margin-inline: auto;
}

.aff-cs-hero-centered__copy .aff-cs-hero__cta-row {
  justify-content: center;
}

/* Overlay hero */
.aff-cs--hero-overlay {
  position: relative;
  padding: 0 !important;
  min-height: clamp(20rem, 48vw, 32rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.aff-cs-hero-overlay__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.aff-cs-hero-overlay__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aff-cs-hero-overlay__bg--mobile {
  display: none;
}

@media (max-width: 767px) {
  .aff-cs-hero-overlay__backdrop--has-mobile .aff-cs-hero-overlay__bg--desktop {
    display: none;
  }

  .aff-cs-hero-overlay__backdrop--has-mobile .aff-cs-hero-overlay__bg--mobile {
    display: block;
  }
}

.aff-cs-hero-overlay__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 25, 23, 0.55) 0%,
    rgba(28, 25, 23, 0.72) 100%
  );
}

/* This div has no children/text so merchant themes that reset empty elements to display none
   (a common Bootstrap-style utility) hide it — same issue as .aff-fc__photo. Override with
   higher specificity so the scrim keeps showing regardless of load order against theme CSS. */
.aff-cs-hero-overlay__scrim:empty {
  display: block !important;
}

.aff-cs-hero-overlay__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(3.5rem, 10vw, 6rem);
  color: #fff;
}

.aff-cs-hero-overlay__inner .aff-cs-hero__kicker {
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.aff-cs-hero-overlay__inner .aff-cs-hero__title {
  color: #fff;
  max-width: 40rem;
  margin-inline: auto;
}

.aff-cs-hero-overlay__inner .aff-cs-hero__title em {
  color: rgba(255, 255, 255, 0.95);
}

.aff-cs-hero-overlay__inner .aff-cs-hero__lead {
  color: rgba(255, 255, 255, 0.9);
  margin-inline: auto;
}

.aff-cs-hero-overlay__inner .aff-cs-hero__cta-row {
  justify-content: center;
}

.aff-cs-hero-overlay__inner .bg-ld-v3-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.aff-cs-hero-overlay__inner .bg-ld-v3-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* -------------------------------------------------------------------------- */
/* Optional benefits blocks                                                   */
/* -------------------------------------------------------------------------- */

.aff-cs--benefits {
  background: var(--bix-section-benefits-band, var(--bix-color-cream-dark, #e8e2d6));
  color: var(--bix-section-benefits-text, var(--bix-color-ink, #1c1917));
}

.aff-cs-benefits__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--bix-space-12, 3rem);
}

.aff-cs-benefits__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: var(--bix-font-weight-heading, 700);
  color: var(--bix-section-benefits-text, var(--bix-color-ink, #1c1917));
}

.aff-cs-benefits__intro {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bix-section-benefits-body, var(--bix-color-muted, #78716c));
}

/* Icon grid */
.aff-cs-benefits-grid__items {
  display: grid;
  gap: var(--bix-space-6, 1.5rem);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .aff-cs-benefits-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .aff-cs-benefits-grid__items {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aff-cs-benefits-grid__item {
  padding: var(--bix-space-6, 1.5rem);
  background: var(--bix-color-white, #fafaf9);
  border-radius: var(--bix-radius-lg, 1rem);
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.aff-cs-benefits-grid__num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bix-color-muted, #78716c);
  margin-bottom: var(--bix-space-2, 0.5rem);
}

.aff-cs-benefits-grid__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--bix-space-4, 1rem);
  border-radius: var(--bix-radius-md, 0.75rem);
  background: color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 12%, transparent);
  color: var(--bix-color-accent, #3d8b5c);
}

.aff-cs-benefits-grid__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.aff-cs-benefits-grid__item h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-benefits-grid__item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bix-color-muted, #78716c);
}

/* Photo cards */

.aff-cs-benefits-photos__row {
  display: grid;
  gap: var(--bix-space-6, 1.5rem);
}

@media (min-width: 768px) {
  .aff-cs-benefits-photos__row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aff-cs-benefits-photos__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--bix-radius-xl, 1.5rem);
  overflow: hidden;
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  background: var(--bix-color-surface, #f4f0e8);
  box-shadow: var(--bix-shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
}

.aff-cs-benefits-photos__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.aff-cs-benefits-photos__body {
  padding: var(--bix-space-5, 1.25rem) var(--bix-space-5, 1.25rem) var(--bix-space-6, 1.5rem);
}

.aff-cs-benefits-photos__body h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-benefits-photos__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bix-color-muted, #78716c);
}

/* Showcase grid (2×2) */

.aff-cs-benefits-showcase__grid {
  display: grid;
  gap: var(--bix-space-5, 1.25rem);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .aff-cs-benefits-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--bix-space-6, 1.5rem);
  }
}

.aff-cs-benefits-showcase__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--bix-radius-card, 1.5rem);
  background: var(--bix-color-surface, #fafaf9);
  border: 1px solid var(--color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
  overflow: hidden;
  min-height: 100%;
}

.aff-cs-benefits-showcase__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background:
    radial-gradient(
      ellipse 80% 70% at 50% 40%,
      color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 16%, transparent),
      transparent 70%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 8%, var(--bix-color-cream, #f4f0e8)) 0%,
      var(--bix-color-cream, #f4f0e8) 100%
    );
}

.aff-cs-benefits-showcase__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md, 0.75rem);
}

.aff-cs-benefits-showcase__body {
  padding: var(--bix-space-5, 1.25rem) var(--bix-space-5, 1.25rem) var(--bix-space-6, 1.5rem);
}

.aff-cs-benefits-showcase__body h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-benefits-showcase__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bix-color-muted, #78716c);
}

/* Numbered list */
.aff-cs-benefits-numbered__wrap {
  max-width: 42rem;
  margin-inline: auto;
}

.aff-cs-benefits-numbered__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aff-cs-benefits-numbered__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--bix-space-5, 1.25rem);
  padding: var(--bix-space-6, 1.5rem) 0;
  border-bottom: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  align-items: start;
}

.aff-cs-benefits-numbered__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aff-cs-benefits-numbered__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--bix-color-accent, #3d8b5c);
  background: color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 28%, transparent);
}

.aff-cs-benefits-numbered__copy h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-benefits-numbered__copy p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--bix-color-muted, #78716c);
}

/* -------------------------------------------------------------------------- */
/* Optional how-it-works blocks                                               */
/* -------------------------------------------------------------------------- */

.aff-cs--how {
  background: var(--bix-section-how-bg, --bix-color-cream);
  color: var(--bix-section-how-text, var(--bix-color-ink, #1c1917));
}

.aff-cs-how__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--bix-space-10, 2.5rem);
}

.aff-cs-how__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--bix-font-weight-heading, 700);
   color: var(--bix-section-how-text, var(--bix-color-ink, #1c1917));
}

.aff-cs-how__intro {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--bix-color-muted, #78716c);
}

.aff-cs-how__step {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aff-cs-how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bix-color-accent, #3d8b5c);
  background: color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 28%, transparent);
  margin-bottom: var(--bix-space-3, 0.75rem);
}

.aff-cs-how__tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bix-color-muted, #78716c);
  margin-bottom: var(--bix-space-2, 0.5rem);
}

.aff-cs-how__step h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-how__step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bix-section-how-body, var(--bix-color-muted, #78716c));
}

.aff-cs-how__cta-wrap {
  text-align: center;
  margin-top: var(--bix-space-10, 2.5rem);
}

/* Horizontal steps — mirrors the default "How it works" core section panel layout */
.aff-cs-how-horizontal__panel {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--bix-radius-card, var(--bix-radius-xl, 1.5rem));
  background: var(--bix-section-how-panel, var(--bix-color-surface, var(--bix-color-white, #fff)));
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--bix-shadow-card);
}

.aff-cs-how-horizontal__steps {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.aff-cs-how-horizontal__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5.25rem 0 0;
}

.aff-cs-how-horizontal__step .aff-cs-how__step-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0;
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--bix-color-ink, #1c1917);
  background: var(--bix-color-white, #fff);
  border: 1px solid var(--bix-color-ink, #1c1917);
}

.aff-cs-how-horizontal__step .aff-cs-how__tag {
  display: none;
}

@media (min-width: 768px) {
  .aff-cs-how-horizontal__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .aff-cs-how-horizontal__step::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(3.25rem / 2 - 1px);
    width: calc(100% + 1.25rem);
    height: 2px;
    background: var(--bix-color-ink, #1c1917);
    z-index: 0;
  }

  .aff-cs-how-horizontal__step:nth-child(3n)::before,
  .aff-cs-how-horizontal__step:last-child::before {
    content: none;
  }
}

/* Vertical timeline */
.aff-cs-how-timeline__wrap {
  max-width: 36rem;
  margin-inline: auto;
}

.aff-cs-how-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--bix-space-6, 1.5rem);
  border-left: 2px solid color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 35%, transparent);
}

.aff-cs-how-timeline__step {
  position: relative;
  padding: 0 0 var(--bix-space-8, 2rem) var(--bix-space-6, 1.5rem);
}

.aff-cs-how-timeline__step:last-child {
  padding-bottom: 0;
}

.aff-cs-how-timeline__step::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--bix-space-6, 1.5rem) - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bix-color-accent, #3d8b5c);
  box-shadow: 0 0 0 4px var(--bix-color-white, #fafaf9);
}

.aff-cs-how-timeline__step .aff-cs-how__step-num {
  display: none;
}

/* Split image + steps */
.aff-cs-how-split__grid {
  display: grid;
  gap: var(--bix-space-10, 2.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .aff-cs-how-split__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.aff-cs-how-split__visual {
  min-width: 0;
}

.aff-cs-how-split__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bix-radius-xl, 1.5rem);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--bix-shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
  background: var(--bix-color-cream, #f4f0e8);
}

.aff-cs-how-split__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--bix-space-6, 1.5rem);
}

.aff-cs-how-split__step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: var(--bix-space-4, 1rem);
  align-items: start;
}

.aff-cs-how-split__index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bix-color-accent, #3d8b5c);
  background: color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--bix-color-accent, #3d8b5c) 28%, transparent);
  flex-shrink: 0;
}

.aff-cs-how-split__step-body {
  min-width: 0;
}

.aff-cs-how-split__step .aff-cs-how__step-num,
.aff-cs-how-split__step .aff-cs-how__tag {
  display: none;
}

.aff-cs-how-split__step-body h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-how-split__step-body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--bix-color-muted, #78716c);
}

.aff-cs-how-split__steps .aff-cs-how__cta-wrap {
  text-align: left;
  margin-top: var(--bix-space-8, 2rem);
}

.aff-cs--testimonial {
  background: var(--bix-section-testimonial-bg, var(--bix-color-cream-dark, #e8e2d6));
}

.aff-cs--testimonial-cards {
  background: var(--bix-section-testimonial-cards-bg, var(--bix-color-cream-dark, #e8e2d6));
}

.aff-cs__inner {
  max-width: var(--bix-max, 72rem);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.aff-cs__kicker {
  margin: 0 0 var(--bix-space-3, 0.75rem);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bix-color-accent, #9f1239);
}

.aff-cs__quote {
  margin: 0 0 var(--bix-space-6, 1.5rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-style: italic;
  font-weight: var(--bix-font-weight-display, 400);
  line-height: 1.45;
  color: var(--bix-color-ink, #1c1917);
}

.aff-cs__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--bix-color-muted, #78716c);
}

.aff-cs__img {
  width: 100%;
  max-width: 20rem;
  border-radius: var(--bix-radius-lg, 1rem);
  object-fit: cover;
  aspect-ratio: 4/5;
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--bix-shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
}

.aff-cs--testimonial .aff-cs__img {
  box-shadow: none;
}

/* Testimonial heading — matches .paws-section h2 */
.aff-cs-testimonial__title {
  margin: 0 0 0.75rem;
  font-family: var(--bix-font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: var(--bix-font-weight-heading, 700);
  color: var(--bix-color-ink);
}

/* Testimonial slider */
.aff-cs-testimonial__slider {
  position: relative;
  overflow: hidden;
  margin-top: var(--bix-space-6, 1.5rem);
}

.aff-cs-testimonial__slides {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.aff-cs-testimonial__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.aff-cs-testimonial__grid {
  display: grid;
  gap: var(--bix-space-10, 2.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .aff-cs-testimonial__grid {
    grid-template-columns: 1fr minmax(200px, 280px);
  }
}

.aff-cs-testimonial__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--bix-space-8, 2rem);
}

.aff-cs-testimonial__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bix-color-line, rgba(28, 25, 23, 0.15));
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.aff-cs-testimonial__dot--active {
  background: var(--bix-color-accent, #9f1239);
}

/* Split story */
.aff-cs--split {
  background: var(--bix-section-split-bg, var(--bix-color-cream, #f4f0e8));
}

.aff-cs--split .aff-cs-split__grid {
  display: grid;
  gap: var(--bix-space-10, 2.5rem);
  align-items: center;
}

@media (min-width: 768px) {
  .aff-cs--split .aff-cs-split__grid {
    grid-template-columns: 1fr 1fr;
  }

  .aff-cs--split.aff-cs--split-img-left .aff-cs-split__grid {
    direction: rtl;
  }

  .aff-cs--split.aff-cs--split-img-left .aff-cs-split__grid > * {
    direction: ltr;
  }
}

.aff-cs-split__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: var(--bix-font-weight-heading, 700);
  line-height: 1.15;
  color: var(--bix-color-ink, #1c1917);
}

.aff-cs-split__body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--bix-color-muted, #78716c);
}

.aff-cs-split__img {
  width: 100%;
  border-radius: var(--bix-radius-xl, 1.5rem);
  object-fit: cover;
  aspect-ratio: 4/3;
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--bix-shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
}

/* Icon row */
.aff-cs--icons {
  background: var(--bix-color-white, #fafaf9);
}

.aff-cs-icons__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--bix-space-12, 3rem);
}

.aff-cs-icons__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: var(--bix-font-weight-heading, 700);
  color: var(--bix-color-ink, #1c1917);
}

.aff-cs-icons__intro {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--bix-color-muted, #78716c);
}

.aff-cs-icons__row {
  display: grid;
  gap: var(--bix-space-8, 2rem);
}

@media (min-width: 640px) {
  .aff-cs-icons__row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aff-cs-icons__item {
  text-align: center;
  padding: var(--bix-space-6, 1.5rem);
  border-radius: var(--bix-radius-lg, 1rem);
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  background: var(--bix-color-cream, #f4f0e8);
}

.aff-cs-icons__emoji {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: var(--bix-space-3, 0.75rem);
}

.aff-cs-icons__item h3 {
  margin: 0 0 var(--bix-space-2, 0.5rem);
  font-size: 1.0625rem;
  font-weight: var(--bix-font-weight-heading, 600);
}

.aff-cs-icons__item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--bix-color-muted, #78716c);
  line-height: 1.6;
}

/* Trust / press line */
.aff-cs--logos {
  background: var(--bix-color-cream-dark, #e8e2d6);
}

.aff-cs-logos__head {
  text-align: center;
  margin-bottom: var(--bix-space-8, 2rem);
}

.aff-cs-logos__title {
  margin: 0 0 var(--bix-space-3, 0.75rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: var(--bix-font-weight-heading, 700);
  color: var(--bix-color-ink, #1c1917);
}

.aff-cs-logos__sub {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--bix-color-muted, #78716c);
}

.aff-cs-logos__strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--bix-space-6, 1.5rem) var(--bix-space-10, 2.5rem);
}

.aff-cs-logos__strip span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bix-color-ink-soft, #44403c);
  opacity: 0.85;
}

/* Stat bar (optional custom block — Simple Pet style) */
.aff-cs--stat-strip {
  padding-block: 2rem !important;
  padding-inline: 0;
  background: var(--bix-section-stat-strip-bg, var(--bix-color-accent, #3d8b5c));
  color: var(--bix-section-stat-strip-text, var(--bix-color-button-filled-text, #ffffff));
}

.aff-cs-stat-strip__grid {
  max-width: var(--bix-max, 72rem);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  display: grid;
  gap: 1.5rem;
  text-align: center;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .aff-cs-stat-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.aff-cs-stat-strip__cell strong {
  display: block;
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: var(--bix-font-weight-heading, 700);
}

.aff-cs-stat-strip__cell span {
  display: block;
  font-size: 0.8125rem;
  opacity: 0.92;
}

/* Feature spotlight banner */
.aff-cs--feature-banner {
  position: relative;
  padding: 0 !important;
  min-height: clamp(18rem, 42vw, 28rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.aff-cs-feature-banner__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.aff-cs-feature-banner__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aff-cs-feature-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(28, 25, 23, 0.82) 0%,
    rgba(28, 25, 23, 0.55) 45%,
    rgba(28, 25, 23, 0.25) 100%
  );
}

/* This div has no children/text so merchant themes that reset empty elements to display none
   (a common Bootstrap-style utility) hide it — same issue as .aff-cs-hero-overlay__scrim. Override
   with higher specificity so the overlay keeps showing regardless of load order against theme CSS. */
.aff-cs-feature-banner__overlay:empty {
  display: block !important;
}

.aff-cs-feature-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding-block: clamp(3rem, 8vw, 5rem);
  color: #fff;
}

.aff-cs-feature-banner__kicker {
  color: rgba(255, 255, 255, 0.85) !important;
}

.aff-cs-feature-banner__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: var(--bix-font-weight-heading, 700);
  line-height: 1.12;
  color: #fff;
}

.aff-cs-feature-banner__body {
  margin: 0 0 var(--bix-space-8, 2rem);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
}

.aff-cs-feature-banner__cta {
  display: inline-flex;
}

/* Photo gallery row */

.aff-cs--photo-gallery {
  background: var(--bix-section-photo-gallery-bg, var(--bix-color-cream, #f4f0e8));
}

.aff-cs-gallery__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto var(--bix-space-12, 3rem);
}

.aff-cs-gallery__title {
  margin: 0 0 var(--bix-space-4, 1rem);
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: var(--bix-font-weight-heading, 700);
  color: var(--bix-color-ink, #1c1917);
}

.aff-cs-gallery__intro {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--bix-color-muted, #78716c);
  line-height: 1.6;
}

.aff-cs-gallery__grid {
  display: grid;
  gap: var(--bix-space-6, 1.5rem);
}

@media (min-width: 640px) {
  .aff-cs-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aff-cs-gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--bix-space-3, 0.75rem);
}

.aff-cs-gallery__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--bix-radius-lg, 1rem);
  border: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
  box-shadow: var(--bix-shadow-soft, 0 4px 24px rgba(28, 25, 23, 0.08));
}

.aff-cs-gallery__caption {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bix-color-ink-soft, #44403c);
  text-align: center;
  line-height: 1.45;
}

/* -------------------------------------------------------------------------- */
/* Built-in social proof — three testimonial cards (#proof)                 */
/* -------------------------------------------------------------------------- */

#bg-ld-v3-proof {
  background: var(--bix-section-proof-bg, var(--bix-color-cream-dark, #e8e2d6));
  color: var(--bix-section-proof-text, var(--bix-color-ink, #1c1917));
  border-block: 1px solid var(--bix-color-line, rgba(28, 25, 23, 0.12));
}

#bg-ld-v3-proof .bg-ld-v3-section__label,
#bg-ld-v3-proof .paws-section__label {
  color: var(--bix-color-accent, #9f1239);
}

#bg-ld-v3-proof .bg-ld-v3-section__title,
#bg-ld-v3-proof h2 {
  color: var(--bix-section-proof-text, var(--bix-color-ink, #1c1917));
}

#bg-ld-v3-proof .bg-ld-v3-section__intro,
#bg-ld-v3-proof .paws-section__intro {
  color: var(--bix-section-proof-body, var(--bix-color-muted, #78716c));
}

#bg-ld-v3-proof .bg-ld-v3-proof-card__quote,
#bg-ld-v3-proof .bg-ld-v3-proof-card__name {
  color: var(--bix-section-proof-text, var(--bix-proof-card-text, var(--bix-color-ink, #1c1917)));
}

#bg-ld-v3-proof .bg-ld-v3-proof-card__role {
  color: var(--bix-section-proof-body, var(--bix-proof-card-muted, var(--bix-color-muted, #78716c)));
}

.bg-ld-v3-proof-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 768px) {
  .bg-ld-v3-proof-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.bg-ld-v3-proof-card {
  margin: 0;
  min-width: 0;
}


.bg-ld-v3-proof-card__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 1.5rem) 1.25rem;
  background: var(--bix-proof-card-bg, var(--bix-color-surface, rgba(255, 255, 255, 0.92)));
  border-radius: var(--bix-radius-card, 0.75rem);
  border: 1px solid var(--bix-proof-card-border, var(--bix-color-line, rgba(28, 25, 23, 0.08)));
  box-shadow: none;
  overflow: hidden;
}

.bg-ld-v3-proof-card__inner::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  right: 0.75rem;
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(3.25rem, 7vw, 4.25rem);
  line-height: 1;
  color: var(--bix-proof-quote-mark, color-mix(in srgb, var(--bix-color-ink, #1c1917) 8%, transparent));
  pointer-events: none;
}

.bg-ld-v3-proof-card__quote {
  position: relative;
  z-index: 1;
  margin: 0 0 1.35rem;
  font-family: var(--bix-font-display, Georgia, serif);
  font-size: clamp(0.98rem, 2.1vw, 1.06rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--bix-proof-card-text, var(--bix-color-ink, #1c1917));
}

.bg-ld-v3-proof-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.bg-ld-v3-proof-card__avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--bix-font-sans, system-ui, sans-serif);
}

.bg-ld-v3-proof-card:nth-child(1) .bg-ld-v3-proof-card__avatar {
  background: #ffead5;
  color: #9a3412;
}

.bg-ld-v3-proof-card:nth-child(2) .bg-ld-v3-proof-card__avatar {
  background: #d1fae5;
  color: #047857;
}

.bg-ld-v3-proof-card:nth-child(3) .bg-ld-v3-proof-card__avatar {
  background: #dbeafe;
  color: #1d4ed8;
}

.bg-ld-v3-proof-card__avatar--img {
  background: transparent !important;
  overflow: hidden;
  padding: 0;
}

.bg-ld-v3-proof-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.bg-ld-v3-proof-card__byline {
  min-width: 0;
}

.bg-ld-v3-proof-card__name {
  display: block;
  margin: 0;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: var(--bix-font-weight-heading, 700);
  font-family: var(--bix-font-sans, system-ui, sans-serif);
  letter-spacing: -0.01em;
  color: var(--bix-proof-card-text, var(--bix-color-ink, #1c1917));
}

.bg-ld-v3-proof-card__role {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--bix-proof-card-muted, var(--bix-color-muted, #78716c));
}

.bg-ld-v3-proof-grid__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--bix-color-muted, #78716c);
  margin: 2rem 0 0;
}

/* Rich text inline formatting — bold and italic from RichTextEditor */
.aff-cs-hero__title :is(strong, b),
.aff-cs-hero__lead :is(strong, b),
.aff-cs-benefits__title :is(strong, b),
.aff-cs-benefits__intro :is(strong, b),
.aff-cs-benefits-photos__body :is(strong, b),
.aff-cs-benefits-showcase__body :is(strong, b),
.aff-cs-benefits-numbered__copy :is(strong, b),
.aff-cs-how__title :is(strong, b),
.aff-cs-how__intro :is(strong, b),
.aff-cs-testimonial__title :is(strong, b),
.aff-cs-split__title :is(strong, b),
.aff-cs-split__body :is(strong, b),
.aff-cs-icons__title :is(strong, b),
.aff-cs-icons__intro :is(strong, b),
.aff-cs-logos__title :is(strong, b),
.aff-cs-feature-banner__title :is(strong, b),
.aff-cs-feature-banner__body :is(strong, b),
.aff-cs-gallery__title :is(strong, b),
.aff-cs-gallery__intro :is(strong, b) {
  font-weight: 700;
}

.aff-cs-hero__title :is(em, i),
.aff-cs-hero__lead :is(em, i),
.aff-cs-benefits__title :is(em, i),
.aff-cs-benefits__intro :is(em, i),
.aff-cs-benefits-photos__body :is(em, i),
.aff-cs-benefits-showcase__body :is(em, i),
.aff-cs-benefits-numbered__copy :is(em, i),
.aff-cs-how__title :is(em, i),
.aff-cs-how__intro :is(em, i),
.aff-cs-testimonial__title :is(em, i),
.aff-cs-split__title :is(em, i),
.aff-cs-split__body :is(em, i),
.aff-cs-icons__title :is(em, i),
.aff-cs-icons__intro :is(em, i),
.aff-cs-logos__title :is(em, i),
.aff-cs-feature-banner__title :is(em, i),
.aff-cs-feature-banner__body :is(em, i),
.aff-cs-gallery__title :is(em, i),
.aff-cs-gallery__intro :is(em, i) {
  font-style: italic;
}
