/* Shared fluid sizing. Values are validated and scoped to one shop.
   Keep root font preferences, focus outlines, image ratios and hit targets intact. */
.themeScope.themeScope.themeScope {
  font-family: var(--fluid-body-font);
  font-size: var(--fluid-body-size);
  font-weight: var(--fluid-body-weight);
  line-height: var(--fluid-body-leading);
  letter-spacing: var(--fluid-body-tracking);
  --automation-gutter: var(--fluid-gutter);
}
.themeScope.themeScope.themeScope :is(h1) {
  font-family: var(--fluid-h1-font);
  font-size: var(--fluid-h1-size);
  font-weight: var(--fluid-h1-weight);
  line-height: var(--fluid-h1-leading);
  letter-spacing: var(--fluid-h1-tracking);
}
.themeScope.themeScope.themeScope :is(h2) {
  font-family: var(--fluid-h2-font);
  font-size: var(--fluid-h2-size);
  font-weight: var(--fluid-h2-weight);
  line-height: var(--fluid-h2-leading);
  letter-spacing: var(--fluid-h2-tracking);
}
.themeScope.themeScope.themeScope :is(h3) {
  font-family: var(--fluid-h3-font);
  font-size: var(--fluid-h3-size);
  font-weight: var(--fluid-h3-weight);
  line-height: var(--fluid-h3-leading);
  letter-spacing: var(--fluid-h3-tracking);
}
.themeScope.themeScope.themeScope :is(h4) {
  font-family: var(--fluid-h4-font);
  font-size: var(--fluid-h4-size);
  font-weight: var(--fluid-h4-weight);
  line-height: var(--fluid-h4-leading);
  letter-spacing: var(--fluid-h4-tracking);
}
.themeScope.themeScope.themeScope :is(h5) {
  font-family: var(--fluid-h5-font);
  font-size: var(--fluid-h5-size);
  font-weight: var(--fluid-h5-weight);
  line-height: var(--fluid-h5-leading);
  letter-spacing: var(--fluid-h5-tracking);
}
.themeScope.themeScope.themeScope :is(h6) {
  font-family: var(--fluid-h6-font);
  font-size: var(--fluid-h6-size);
  font-weight: var(--fluid-h6-weight);
  line-height: var(--fluid-h6-leading);
  letter-spacing: var(--fluid-h6-tracking);
}
.themeScope.themeScope.themeScope
  :is(.themeHero h1, .commerceHero h1, .automationHero h1, .hero h1) {
  font-family: var(--fluid-display-font);
  font-size: var(--fluid-display-size);
  font-weight: var(--fluid-display-weight);
  line-height: var(--fluid-display-leading);
  letter-spacing: var(--fluid-display-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    .productDescription,
    .productDescription p,
    .productDescription li,
    .productCardDescription,
    .legalContent,
    .helpArticle,
    .blogArticleBody
  ) {
  font-family: var(--fluid-body-font);
  font-size: var(--fluid-body-size);
  font-weight: var(--fluid-body-weight);
  line-height: var(--fluid-body-leading);
  letter-spacing: var(--fluid-body-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    .productLead,
    .themeIntroduction,
    .catalogIntro > p,
    .heroIntroduction,
    .lead
  ) {
  font-family: var(--fluid-lead-font);
  font-size: var(--fluid-lead-size);
  font-weight: var(--fluid-lead-weight);
  line-height: var(--fluid-lead-leading);
  letter-spacing: var(--fluid-lead-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    small,
    .priceNote,
    .unitPrice,
    .productCardMeta,
    .productChoiceSummary,
    .productPriceContext,
    .eyebrow,
    .breadcrumb,
    .availability,
    .automationPreviewNotice
  ) {
  font-family: var(--fluid-small-font);
  font-size: var(--fluid-small-size);
  font-weight: var(--fluid-small-weight);
  line-height: var(--fluid-small-leading);
  letter-spacing: var(--fluid-small-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    .siteHeader nav a,
    .categorySidebarBody :is(a, summary),
    .accountNavigation a,
    .commerceDepartmentNav a,
    .automationNavigation a
  ) {
  font-family: var(--fluid-navigation-font);
  font-size: var(--fluid-navigation-size);
  font-weight: var(--fluid-navigation-weight);
  line-height: var(--fluid-navigation-leading);
  letter-spacing: var(--fluid-navigation-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    button,
    .primaryAction,
    .secondaryAction,
    .secondaryButton,
    .productCardAction,
    .automationTextLink
  ) {
  font-family: var(--fluid-button-font);
  font-size: var(--fluid-button-size);
  font-weight: var(--fluid-button-weight);
  line-height: var(--fluid-button-leading);
  letter-spacing: var(--fluid-button-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    input:not([type="checkbox"], [type="radio"], [type="hidden"]),
    select,
    textarea
  ) {
  font-family: var(--fluid-input-font);
  font-size: var(--fluid-input-size);
  font-weight: var(--fluid-input-weight);
  line-height: var(--fluid-input-leading);
  letter-spacing: var(--fluid-input-tracking);
}
.themeScope.themeScope.themeScope :is(.price, .productPrice, .totalAmount) {
  font-family: var(--fluid-price-font);
  font-size: var(--fluid-price-size);
  font-weight: var(--fluid-price-weight);
  line-height: var(--fluid-price-leading);
  letter-spacing: var(--fluid-price-tracking);
}
.themeScope.themeScope.themeScope
  :is(
    .productCard h2,
    .productCard h3,
    .commerceOffer h3,
    .automationOffer h3
  ) {
  font-family: var(--fluid-productTitle-font);
  font-size: var(--fluid-productTitle-size);
  font-weight: var(--fluid-productTitle-weight);
  line-height: var(--fluid-productTitle-leading);
  letter-spacing: var(--fluid-productTitle-tracking);
}
.themeScope.themeScope.themeScope :is(table, td, th, .orderTable) {
  font-family: var(--fluid-table-font);
  font-size: var(--fluid-table-size);
  font-weight: var(--fluid-table-weight);
  line-height: var(--fluid-table-leading);
  letter-spacing: var(--fluid-table-tracking);
}

.themeScope.themeScope.themeScope
  :is(.siteHeader, .themeHome, .automationWrap) {
  padding-inline: var(--fluid-gutter);
}
.themeScope.themeScope.themeScope .catalogContent .themeHome {
  padding-inline: 0;
}
.themeScope.themeScope.themeScope :is(.themeSection, .automationSection) {
  padding-block: var(--fluid-sectionGap);
}
.themeScope.themeScope.themeScope .productGrid {
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, var(--fluid-cardMinWidth)), 1fr)
  );
  gap: var(--fluid-gridGap);
}
.themeScope.themeScope.themeScope .catalogLayout {
  gap: var(--fluid-gridGap);
}
@media (min-width: 64.001rem) {
  .themeScope.themeScope.themeScope .catalogLayout:not(.catalogLayout--empty) {
    grid-template-columns: minmax(0, var(--fluid-sidebarWidth)) minmax(0, 1fr);
  }
}
.themeScope.themeScope.themeScope .catalogLayout--empty {
  grid-template-columns: minmax(0, 1fr);
}
.themeScope.themeScope.themeScope :is(.productVisual, .productHeroVisual) img {
  max-width: min(100%, var(--fluid-imageSize));
  max-height: var(--fluid-imageSize);
  object-fit: contain;
  margin-inline: auto;
}
.themeScope.themeScope.themeScope
  :is(.brand, .commerceBrand, .automationBrand)
  img {
  width: min(100%, var(--fluid-logoWidth));
  max-width: var(--fluid-logoWidth);
  height: auto;
  max-height: none;
  object-fit: contain;
}
.themeScope.themeScope.themeScope
  :is(.brand, .commerceBrand)
  img[src="/branding/rainshift-icon.png"] {
  width: calc(var(--fluid-logoWidth) / 5);
  max-width: calc(var(--fluid-logoWidth) / 5);
}
.themeScope.themeScope.themeScope
  :is(
    button,
    .primaryAction,
    .secondaryAction,
    .secondaryButton,
    .productCardAction,
    .accountNavigation a,
    .categoryToggleLabel
  ) {
  min-height: var(--fluid-controlHeight);
  height: auto;
  white-space: normal;
}
.themeScope.themeScope.themeScope
  :is(
    input:not(
      [type="checkbox"],
      [type="radio"],
      [type="hidden"],
      [type="range"]
    ),
    select
  ) {
  min-height: var(--fluid-controlHeight);
  height: auto;
}
.themeScope.themeScope.themeScope
  :is(
    button,
    input,
    select,
    textarea,
    .productCard,
    .primaryAction,
    .secondaryButton,
    .buyBox,
    .cartSummary
  ) {
  border-radius: var(--fluid-radius);
}
.themeScope.themeScope.themeScope
  :is(button, .primaryAction, .headerCart, .accountLink)
  svg {
  width: var(--fluid-iconSize);
  height: var(--fluid-iconSize);
  flex-shrink: 0;
}
.themeScope.themeScope.themeScope
  :is(h1, h2, h3, h4, h5, h6, .productLead, .productDescription) {
  overflow-wrap: anywhere;
}
/* Explicit Page Builder block styles remain editable in their own editor. */
