.ht-bw-popup,
.ht-bw-booksy {
  --ht-bw-serif: 'DM Serif Display', Georgia, serif;
  font-family: Montserrat, Arial, sans-serif;
}
.ht-bw-popup *, .ht-bw-popup,
.ht-bw-booksy *, .ht-bw-booksy { box-sizing: border-box; }
.ht-bw-popup:not([open]), .ht-bw-booksy[hidden] { display: none; }
.ht-bw-popup[open] {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 3vw, 22px);
  border: 0;
  overflow: hidden;
  background: transparent;
  color: #faefe1;
  color-scheme: dark;
}
.ht-bw-popup::backdrop {
  background: #090806;
  opacity: .74;
  animation: ht-bw-dim 950ms cubic-bezier(.22, .7, .24, 1) both;
}
html:has(.ht-bw-popup) { scrollbar-gutter: stable; }
html:has(.ht-bw-popup[open]) { overflow: hidden; }
.ht-bw-popup__lightning {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ht-bw-popup__card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: min(100%, 710px);
  max-height: 100%;
  overflow: hidden;
  border: 1px solid #e2af8066;
  border-radius: 5px;
  background: radial-gradient(ellipse at 88% 5%, #603d2663, transparent 62%), linear-gradient(125deg, #1e1a18 20%, #2d2019 73%, #191614);
  box-shadow: 0 25px 98px #000a;
  animation: ht-bw-enter 690ms 170ms cubic-bezier(.22, .7, .24, 1) both;
}
.ht-bw-popup__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.ht-bw-popup__art::before {
  content: '';
  position: absolute;
  top: -104px;
  right: -95px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #e9c19d29 0 1px, transparent 1px 15px);
  mask-image: radial-gradient(black 35%, transparent 74%);
}
.ht-bw-popup__art::after {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid #deb28b3b;
}
.ht-bw-popup__copy {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 37px 53px 40px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
}
.ht-bw-popup__copy p { color: inherit; margin: 0; }
.ht-bw-popup__copy .ht-bw-popup__date {
  margin: 0 35px 9px 0;
  color: #e4cbb5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ht-bw-popup__heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 17px; }
.ht-bw-popup__heading h2 {
  margin: 0;
  color: #faefe1;
  font: 400 clamp(43px, 8.4vw, 82px)/.95 var(--ht-bw-serif);
  letter-spacing: -.045em;
  text-transform: none;
}
.ht-bw-popup__heading .ht-bw-popup__discount {
  color: #e4cbb5;
  font: 400 clamp(36px, 6.7vw, 67px)/1 var(--ht-bw-serif);
  letter-spacing: -.04em;
  white-space: nowrap;
}
.ht-bw-popup__copy .ht-bw-popup__lead {
  margin-top: 11px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.ht-bw-popup .ht-bw-popup__prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.ht-bw-popup .ht-bw-popup__prices li {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e2af8066;
  border-radius: 3px;
  background: #1e17136b;
}
.ht-bw-popup__prices span { color: #e4cbb5; font-size: 10px; line-height: 1.35; }
.ht-bw-popup__prices strong { font: 400 clamp(19px, 5vw, 28px)/1 var(--ht-bw-serif); }
.ht-bw-popup__prices small { color: #e4cbb5; font-size: 9px; line-height: 1.45; }
.ht-bw-popup__copy .ht-bw-popup__bonus { margin-top: 12px; color: #f2d1b5; font-size: 12px; font-weight: 700; line-height: 1.45; }
.ht-bw-popup__code {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 17px;
  padding: 3px 3px 3px 11px;
  border: 1px solid #e2af8066;
  border-radius: 4px;
}
.ht-bw-popup__code span { color: #e4cbb5; font-size: 10px; }
.ht-bw-popup__code strong { font-size: 13px; letter-spacing: .09em; }
.ht-bw-popup__code button {
  min-height: 32px;
  padding: 5px 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #e4cbb5;
  font: 400 10px/1.3 Montserrat, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.ht-bw-popup__copy .ht-bw-popup__booksy { margin-top: 9px; color: #e4cbb5; font-size: 11px; line-height: 1.55; }
.ht-bw-popup__actions, .ht-bw-booksy__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 15px; }
.ht-bw-popup__actions { margin-top: 17px; }
.ht-bw-popup a.ht-bw-popup__button, .ht-bw-booksy a.ht-bw-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: #e5bc98;
  color: #211915;
  font: 700 11px/1.4 Montserrat, Arial, sans-serif;
  text-decoration: none;
}
.ht-bw-popup a.ht-bw-popup__link, .ht-bw-booksy a.ht-bw-popup__link {
  color: #e4cbb5;
  font: 700 11px/1.4 Montserrat, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ht-bw-popup a.ht-bw-popup__button:hover, .ht-bw-booksy a.ht-bw-popup__button:hover { text-decoration: underline; text-underline-offset: 3px; }
.ht-bw-popup :focus-visible, .ht-bw-booksy :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.ht-bw-popup__close {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e2af8066;
  border-radius: 50%;
  background: #35261e;
  color: #faefe1;
  cursor: pointer;
}
.ht-bw-popup__close::before, .ht-bw-popup__close::after {
  content: '';
  grid-area: 1 / 1;
  width: 15px;
  height: 1px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.ht-bw-popup__close::after { transform: rotate(-45deg); }
.ht-bw-popup__close:hover { border-color: currentColor; }
.ht-bw-popup__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ht-bw-booksy {
  padding: 0 24px 52px;
  background: #f4eee8;
  color: #292824;
  scroll-margin-top: 98px;
}
.ht-bw-booksy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 14px 32px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 23px 26px 25px;
  border: 1px solid #dfcbbb;
  border-top: 3px solid #b68a68;
  border-radius: 4px;
  background: #fffaf4;
}
.ht-bw-booksy__inner h2 {
  margin: 0 0 7px;
  color: #292824;
  font: 400 clamp(27px, 3.4vw, 39px)/1.04 var(--ht-bw-serif);
  letter-spacing: -.025em;
  text-transform: none;
}
.ht-bw-booksy__inner p { max-width: 62ch; margin: 0; color: #473e37; font-size: 13px; line-height: 1.6; }
.ht-bw-booksy a.ht-bw-popup__button { background: #2d241e; color: #fff8ee; }
.ht-bw-booksy a.ht-bw-popup__link { color: #76523c; }
@media (max-width: 650px) {
  .ht-bw-booksy { padding: 0 20px 38px; }
  .ht-bw-booksy__inner { grid-template-columns: minmax(0, 1fr); padding: 17px; }
}
@media (max-width: 570px), (max-height: 440px) {
  .ht-bw-popup__copy { padding: 24px 20px 23px; }
  .ht-bw-popup__heading { gap: 2px 10px; }
  .ht-bw-popup__heading h2 { font-size: clamp(38px, 12.4vw, 57px); }
  .ht-bw-popup__copy .ht-bw-popup__lead { font-size: 13px; }
  .ht-bw-popup .ht-bw-popup__prices { gap: 5px; }
  .ht-bw-popup .ht-bw-popup__prices li { padding: 8px 6px; }
  .ht-bw-popup__code, .ht-bw-popup__actions { margin-top: 13px; }
  .ht-bw-popup__close { top: 5px; right: 5px; }
}
@keyframes ht-bw-dim { 0% { opacity: 0; } 50% { opacity: .9; } 100% { opacity: .74; } }
@keyframes ht-bw-enter { from { opacity: 0; transform: translateY(14px) scale(.975); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ht-bw-popup::backdrop, .ht-bw-popup__card { animation: none; }
  .ht-bw-popup__lightning { display: none; }
}
