body.nga-bf-open,
body.nga-bf-promo-open {
  overflow: hidden;
}

.nga-bf[hidden] {
  display: none;
}

.nga-bf {
  position: fixed;
  z-index: 999990;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(10, 19, 34, .72);
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.nga-bf__panel {
  position: relative;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid var(--border, #e4e9f0);
  border-radius: 10px;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-pop, 0 8px 24px rgba(16, 24, 40, .1));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms cubic-bezier(.16, 1, .3, 1), transform 260ms cubic-bezier(.16, 1, .3, 1);
}

.nga-bf.is-open,
.nga-bf.is-open .nga-bf__panel {
  opacity: 1;
}

.nga-bf.is-open .nga-bf__panel {
  transform: translateY(0);
}

.nga-bf.is-closing,
.nga-bf.is-closing .nga-bf__panel {
  transition-duration: 160ms;
  transition-timing-function: ease-in;
}

.nga-bf__offer {
  display: grid;
  align-content: end;
  padding: 36px;
  background: var(--navy-950, #0a1322);
  text-align: left;
}

.nga-bf #nga-bf-title {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
}

.nga-bf__eyebrow,
.nga-bf__upto,
.nga-bf__amount,
.nga-bf__off {
  display: block;
}

.nga-bf__eyebrow {
  color: var(--blue-100, #e3ecfb);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nga-bf__upto {
  margin-top: 20px;
  color: var(--blue-100, #e3ecfb);
  font-size: 20px;
  font-weight: 500;
}

.nga-bf__amount {
  color: #fff;
  font-size: 128px;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
}

.nga-bf__percent {
  font-size: .55em;
  vertical-align: top;
}

.nga-bf__off {
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.nga-bf .nga-bf__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nga-bf__body {
  min-width: 0;
  min-height: 0;
  padding: 56px 36px 36px;
  background: var(--surface, #fff);
  font: 400 16px/1.5 "IBM Plex Sans", system-ui, sans-serif;
  text-align: left;
}

.nga-bf .nga-bf__deals {
  margin: 0 0 12px;
  color: var(--navy-950, #0a1322);
  font: 600 22px/1.35 "Space Grotesk", system-ui, sans-serif;
}

.nga-bf__deal { display: block; white-space: nowrap; }
.nga-bf__sep { display: none; }
.nga-bf__deal-price { color: var(--blue-700, #2558b8); }

.nga-bf .nga-bf__description {
  max-width: 38ch;
  text-wrap: pretty;
  margin: 0;
  color: var(--text-2, #475467);
  font-size: 16px;
  line-height: 1.5;
}

.nga-bf .nga-bf__description--2 {
  margin-top: 4px;
}

.nga-bf .nga-bf__ends {
  margin: 16px 0 0;
  color: var(--navy-950, #0a1322);
  font-size: 16px;
  font-weight: 600;
}

.nga-bf .nga-bf__shipping {
  margin: 4px 0 0;
  color: var(--text-2, #475467);
  font-size: 15px;
}

.nga-bf__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.nga-bf .nga-bf__footnote {
  max-width: 100%;
  text-wrap: pretty;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border, #e4e9f0);
  color: var(--text-3, #667085);
  font-size: 13px;
}

.nga-bf .btn {
  display: inline-flex;
  box-sizing: border-box;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: 600 15px/1.2 "IBM Plex Sans", system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 100ms ease-out;
}

.nga-bf a.btn-primary,
.nga-bf a.btn-primary:link,
.nga-bf a.btn-primary:visited,
.nga-bf a.btn-primary:hover,
.nga-bf a.btn-primary:focus,
.nga-bf a.btn-primary:active {
  background: var(--blue-600, #2e6bd6);
  color: #fff;
  text-decoration: none;
}

.nga-bf .btn-outline {
  border-color: var(--border-strong, #cbd5e1);
  background: #fff;
  color: var(--navy-900, #101d33);
}

.nga-bf .btn:active {
  transform: translateY(1px);
}

.nga-bf :focus-visible {
  outline: 2px solid var(--blue-600, #2e6bd6);
  outline-offset: 2px;
}

.nga-bf #nga-bf-title:focus,
.nga-bf #nga-bf-title:focus-visible {
  outline: none;
  box-shadow: none;
}

.nga-bf .nga-bf__close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--navy-900, #101d33);
  cursor: pointer;
}

.nga-bf__close svg {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .nga-bf a.btn-primary:hover { background: var(--blue-700, #2558b8); }
  .nga-bf .btn-outline:hover { background: var(--blue-50, #f0f5fd); }
  .nga-bf .nga-bf__close:hover { background: var(--blue-50, #f0f5fd); }
}

@media (min-width: 721px) {
  .nga-bf__panel {
    width: min(100%, 760px);
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .nga-bf__body {
    display: grid;
    align-content: end;
  }
}

@media (max-width: 720px) {
  .nga-bf { padding: 12px; }
  .nga-bf__panel {
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .nga-bf__offer,
  .nga-bf__body { padding: 20px; }
  .nga-bf__eyebrow { padding-right: 28px; }
  .nga-bf__upto { margin-top: 10px; }
  .nga-bf__amount { font-size: 76px; }
  .nga-bf__off { font-size: 22px; }
  .nga-bf .nga-bf__deals { font-size: 19px; }
  .nga-bf__deal { display: block; }
  .nga-bf__sep { display: none; }
  .nga-bf .nga-bf__description { font-size: 15px; }
  .nga-bf__actions { flex-direction: column; }
  .nga-bf .btn { width: 100%; }
  .nga-bf .nga-bf__close { color: #fff; }
  .nga-bf .nga-bf__close:focus-visible { outline-color: #fff; }
}

@media (max-width: 720px) and (hover: hover) and (pointer: fine) {
  .nga-bf .nga-bf__close:hover { background: rgba(255, 255, 255, .08); }
}

@media (max-width: 480px) and (max-height: 700px) {
  .nga-bf__amount { font-size: 52px; }
  .nga-bf .nga-bf__deals { font-size: 17px; }
  .nga-bf__offer,
  .nga-bf__body { padding: 16px; }
  .nga-bf__actions { margin-top: 16px; }
  .nga-bf .nga-bf__footnote { margin-top: 10px; }
}

@media (max-height: 560px) {
  .nga-bf__panel {
    min-height: 0;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .nga-bf__body { overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .nga-bf,
  .nga-bf.is-closing,
  .nga-bf .nga-bf__panel,
  .nga-bf.is-open .nga-bf__panel,
  .nga-bf.is-closing .nga-bf__panel,
  .nga-bf .btn,
  .nga-bf .btn:active {
    transform: none;
    transition-duration: 1ms;
  }
}
