/* Black Friday promo banner for public pages.
   Linked separately so css/ramsey.css can stay untouched. */

.bf-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: #E6720E;
  color: #FFFFFF;
  border-bottom: 1px solid #000000;
}

html.bf-banner-expired .bf-banner {
  display: none;
}

html:not(.bf-banner-expired) .home-header {
  top: var(--bf-banner-h, 4.5rem);
}

html:not(.bf-banner-expired) {
  scroll-padding-top: calc(var(--bf-banner-h, 4.5rem) + 5.5rem);
}

html:not(.bf-banner-expired) .gallery-section,
html:not(.bf-banner-expired) .store-group {
  scroll-margin-top: calc(var(--bf-banner-h, 4.5rem) + 5.5rem);
}

.bf-banner-inner {
  width: min(1180px, calc(100% - 3.6rem));
  margin: 0 auto;
  padding: 0.4rem 0.2rem 0.45rem;
  text-align: center;
}

.bf-banner-head {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #FFFFFF;
}

.bf-banner-head strong {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #000000;
  color: #FFFFFF;
  padding: 0.05em 0.4em;
  border-radius: 3px;
  white-space: nowrap;
}

.bf-banner-call {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.bf-banner-call:hover,
.bf-banner-call:focus-visible {
  color: #000000;
}

.bf-banner-call:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 2px;
}

.bf-banner-fine {
  margin: 0.22rem 0 0;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  color: #FFFFFF;
}

.bf-banner-dismiss {
  position: absolute;
  right: 0.2rem;
  top: 0.2rem;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.bf-banner-dismiss:hover,
.bf-banner-dismiss:focus-visible {
  color: #000000;
}

.bf-banner-dismiss:focus-visible {
  outline: 3px solid #000000;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .bf-banner-inner {
    width: min(1180px, calc(100% - 2.8rem));
    padding: 0.4rem 0.15rem 0.45rem;
  }
  .bf-banner-head {
    font-size: 0.86rem;
  }
  .bf-banner-fine {
    font-size: 0.68rem;
  }
}
