html.nb-box-promo-lock,
html.nb-box-promo-lock body {
  overflow: hidden;
}

html.nb-box-promo-hold #intro {
  pointer-events: none;
}

.nb-box-stack {
  position: relative;
  aspect-ratio: 700 / 830;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nb-box-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.nb-box-promo {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 16px;
  overflow: hidden;
}

.nb-box-promo[hidden] {
  display: none !important;
}

.nb-box-promo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 10, 0.9);
  backdrop-filter: blur(8px);
}

.nb-box-promo-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(420px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  background: rgba(12, 14, 16, 0.96);
  border: 1px solid rgba(227, 200, 126, 0.45);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.nb-box-promo-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(227, 200, 126, 0.35);
  border-radius: 50%;
  background: rgba(12, 14, 16, 0.75);
  color: #f3ede1;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nb-box-promo-close:hover,
.nb-box-promo-close:focus-visible {
  background: rgba(200, 162, 76, 0.18);
  border-color: #e3c87e;
  color: #e3c87e;
  outline: none;
}

.nb-box-promo-media {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px 0;
}

.nb-box-promo .nb-box-stack {
  width: min(200px, 58vw, calc(38dvh * 700 / 830));
}

.nb-box-promo-body {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px 18px 18px;
  text-align: center;
}

.nb-box-promo-title {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(26px, 7vw, 30px);
  line-height: 1.05;
  text-wrap: balance;
  color: #f3ede1;
}

.nb-box-promo-text {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(243, 237, 225, 0.88);
}

.nb-box-promo-note {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(227, 200, 126, 0.86);
}

.nb-box-promo-cta {
  box-sizing: border-box;
  max-width: 100%;
  padding: 12px 16px;
  white-space: normal;
  text-align: center;
}

.nb-box-promo-cta:focus-visible {
  outline: 2px solid #e3c87e;
  outline-offset: 3px;
}

.nb-box-promo.is-xmas .nb-box-promo-panel::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 14px;
  width: 54px;
  height: 36px;
  pointer-events: none;
  background:
    radial-gradient(circle at 8px 16px, #9a3040 0 2.5px, transparent 3px),
    radial-gradient(circle at 20px 8px, #e3c87e 0 2px, transparent 2.5px),
    radial-gradient(circle at 28px 20px, #f3ede1 0 1.5px, transparent 2px);
}

@media (min-width: 760px) {
  .nb-box-promo-title {
    font-size: clamp(34px, 2.8vw, 40px);
  }

  .nb-box-promo-text {
    font-size: 15px;
  }

  .nb-box-promo-panel {
    flex-direction: row;
    align-items: stretch;
    width: min(760px, 100%);
  }

  .nb-box-promo-media {
    flex: 0 0 auto;
    width: auto;
    padding: 20px 8px 20px 22px;
  }

  .nb-box-promo .nb-box-stack {
    width: min(270px, calc((100dvh - 120px) * 700 / 830));
  }

  .nb-box-promo-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 28px 32px 28px 18px;
  }

  .nb-box-promo-cta {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-box-promo,
  .nb-box-promo * {
    transition: none !important;
    animation: none !important;
  }
}
