/* Rosaifa 4.13.5 — pagination continuity, textured footer wordmark and sticky-header hardening. */
#rf-shop-results{scroll-margin-top:calc(var(--rf-sticky-top,0px) + 112px)}

/* Footer uses the exact same logo source as the header, with the same copper/textured rendering. */
.rf-footer-wordmark-image{display:block;line-height:1;max-width:min(100%,430px)}
.rf-footer-wordmark-image .custom-logo-link,
.rf-footer-wordmark-image .rf-fallback-logo{display:inline-flex;align-items:center;max-width:100%;text-decoration:none}
.rf-footer-wordmark-image .custom-logo,
.rf-footer-wordmark-image .rf-fallback-logo img{
  display:block;
  width:min(100%,390px);
  height:auto;
  max-height:112px;
  max-width:390px;
  object-fit:contain;
  object-position:left center;
  mix-blend-mode:multiply;
  filter:contrast(1.12) saturate(1.04)
    drop-shadow(.36px 0 0 rgba(100,61,45,.52))
    drop-shadow(-.36px 0 0 rgba(100,61,45,.52))
    drop-shadow(0 .28px 0 rgba(100,61,45,.36));
}

/* JS fallback activates only after the header reaches its natural sticky point. */
.rf-site-header.rf-sticky-locked{
  position:fixed!important;
  top:var(--rf-header-offset,0px)!important;
  left:0;
  right:0;
  width:100%;
  z-index:1400!important;
  box-shadow:0 8px 26px rgba(55,34,22,.07),0 1px 0 rgba(47,36,29,.06);
}
.rf-sticky-header-spacer{display:block;height:0;pointer-events:none}
.rf-sticky-header-spacer.is-active{height:var(--rf-locked-header-height,0px)}

@media(max-width:760px){
  #rf-shop-results{scroll-margin-top:92px}
  .rf-footer-wordmark-image{max-width:310px}
  .rf-footer-wordmark-image .custom-logo,
  .rf-footer-wordmark-image .rf-fallback-logo img{width:min(100%,300px);max-height:88px}
}
