/* Rettatide SEA Retail V3 — compact, mobile-first finishing layer */
.r2-theme {
  --r3-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: clip;
  font-family: var(--r3-font);
}

.r2-theme :where(
  .r2-hero__title,
  .r2-hero__stat-value,
  .r2-section-title,
  .r2-wholesale__number,
  .r2-comparison__logo-fallback,
  .r2-comparison__other-label,
  .r2-comparison__versus span,
  .r2-story-card__quote,
  .r2-feedback__score strong,
  .r2-cta__title,
  .r2-faq__question::before,
  .r2-newsletter__title,
  .r2-coa__certificate-logo-fallback,
  .r2-coa__certificate-title strong,
  .r2-coa__purity-value,
  .r2-coa__verify-card h3
) {
  font-family: var(--r3-font);
}

.r2-theme :where(.r2-section-title, .r2-hero__title, .r2-cta__title) {
  letter-spacing: -.035em;
}

.r2-theme :where(.r2-hero, .r2-trust, .r2-catalog, .r2-wholesale, .r2-confidence, .r2-section, .r2-cta, .r2-faq, .r2-newsletter) img {
  max-width: 100%;
}

.r2-theme .r2-cta__panel--simple {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.r2-theme .r2-cta__panel--simple .r2-cta__sub {
  margin-inline: auto;
}

.r2-theme .r2-cta__panel--simple .r2-cta__actions {
  justify-content: center;
}

.r2-theme .r2-section-copy,
.r2-theme .r2-section-sub {
  line-height: 1.6;
}

.r2-theme .r2-eyebrow {
  margin-bottom: 10px !important;
  font-size: 11px;
  letter-spacing: .12em;
}

.r2-theme .r2-button,
.r2-theme .r2-btn {
  font-family: var(--r3-font);
}

@media (max-width: 767px) {
  .r2-container {
    width: min(var(--r2-container), calc(100% - 32px));
  }

  .r2-theme :where(.r2-section, .r2-catalog, .r2-wholesale, .r2-confidence, .r2-faq) {
    padding-block: 44px;
    scroll-margin-top: 72px;
  }

  .r2-theme .r2-section-title {
    font-size: clamp(26px, 8vw, 32px);
    line-height: 1.08;
  }

  .r2-theme :where(.r2-section-head, .r2-catalog__header, .r2-wholesale__header) {
    margin-bottom: 22px;
  }

  .r2-theme :where(.r2-section-copy, .r2-section-sub) {
    margin-top: 10px !important;
    font-size: 14px;
    line-height: 1.55;
  }

  .r2-theme :where(.r2-button, .r2-btn) {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
  }

  .r2-theme .r2-cta {
    padding-block: 38px;
  }

  .r2-theme .r2-cta__panel--simple {
    gap: 0;
    padding: 32px 20px;
  }

  .r2-theme .r2-cta__title {
    font-size: 28px;
  }

  .r2-theme .r2-faq__question {
    min-height: 54px;
    padding-block: 14px;
  }

  .r2-theme .r2-newsletter {
    padding-block: 36px;
  }

  .r2-theme .r2-site-footer {
    padding-top: 42px;
  }

  .r2-theme .r2-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    padding-bottom: 32px;
  }

  .r2-theme .r2-site-footer__brand,
  .r2-theme .r2-site-footer__column:last-child {
    grid-column: 1 / -1;
  }

  .r2-theme .r2-site-footer__column h3 {
    margin-bottom: 9px !important;
  }

  .r2-theme .r2-site-footer__column a {
    padding-block: 3px;
  }

  .r2-theme .r2-site-footer__legal {
    padding-block: 18px 10px;
  }

  .r2-theme .r2-site-footer__bottom {
    gap: 5px;
    padding-bottom: 18px;
  }

  .r2-theme .r2-floating {
    right: 12px;
    bottom: 12px;
    gap: 7px;
  }

  .r2-theme .r2-floating__item {
    width: 42px;
    height: 42px;
  }

  .r2-theme .r2-floating__icon,
  .r2-theme .r2-floating__icon svg {
    width: 20px;
    height: 20px;
  }

  .r2-theme .r2-floating__item--email,
  .r2-theme .back-to-top {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .r2-theme *,
  .r2-theme *::before,
  .r2-theme *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
