.ny-lanister[hidden],
.ny-lanister-fab[hidden] {
  display: none !important;
}

.ny-lanister,
.ny-lanister * {
  box-sizing: border-box;
}

.ny-lanister {
  align-items: center;
  background: rgba(10, 13, 12, 0.72);
  display: flex;
  font-family: "FuturaPTBook", Arial, sans-serif;
  inset: 0;
  justify-content: center;
  overflow: auto;
  padding: 24px;
  position: fixed;
  z-index: 2147482000;
}

body.ny-lanister-lock {
  overflow: hidden !important;
}

.ny-lanister__dialog {
  background: #fff8ec;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  color: #2d2119;
  display: grid;
  grid-template-columns: minmax(330px, 43%) minmax(0, 57%);
  max-height: calc(100dvh - 48px);
  max-width: 1030px;
  height: 447px;
  overflow: hidden;
  position: relative;
  width: calc(100vw - 48px);
}

.ny-lanister__visual {
  min-height: 0;
  overflow: hidden;
}

.ny-lanister__visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ny-lanister__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 41px 48px 24px 46px;
}

.ny-lanister__title {
  color: #30231a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 3.7vw, 54px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 23px;
  max-width: 470px;
  text-wrap: balance;
}

.ny-lanister__discount {
  color: #855d2b;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 15px;
}

.ny-lanister__discount strong {
  color: #593c22;
  font-size: 32px;
  white-space: nowrap;
}

.ny-lanister__copy {
  color: #382b23;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 18px;
  max-width: 480px;
  text-wrap: pretty;
}

.ny-no-wrap {
  white-space: nowrap;
}

.ny-lanister__cta {
  align-self: flex-start;
  background: #36251c;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(54, 37, 28, 0.2);
  color: #fff;
  cursor: pointer;
  font: 700 16px/1 Arial, sans-serif;
  min-height: 46px;
  padding: 13px 22px;
  text-transform: none !important;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ny-lanister__cta:hover {
  box-shadow: 0 12px 26px rgba(54, 37, 28, 0.28);
  transform: translateY(-2px);
}

.ny-lanister__period {
  color: #6d5e54;
  font-size: 11px;
  line-height: 1.35;
  margin: auto 0 0;
  padding-top: 17px;
}

.ny-lanister__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 50%;
  color: #33261e;
  cursor: pointer;
  display: flex;
  font: 400 31px/1 Arial, sans-serif;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  z-index: 3;
}

.ny-lanister__dialog:focus {
  outline: none;
}

.ny-lanister button:focus-visible,
.ny-lanister-fab:focus-visible {
  outline: 3px solid #dba83e;
  outline-offset: 3px;
}

.ny-lanister-fab {
  background: transparent;
  border: 0;
  border-radius: 16px;
  bottom: max(92px, calc(env(safe-area-inset-bottom) + 22px));
  box-shadow: 0 12px 30px rgba(40, 24, 12, 0.38);
  cursor: pointer;
  height: 64px;
  padding: 0;
  position: fixed;
  right: 20px;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 64px;
  z-index: 2147481000;
}

.ny-lanister-fab:hover {
  transform: translateY(-3px);
}

.ny-lanister-fab img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

@media (max-width: 720px) {
  .ny-lanister {
    padding: 12px;
  }

  .ny-lanister__dialog {
    display: block;
    height: auto;
    max-height: calc(100dvh - 24px);
  max-width: 390px;
    overflow: auto;
    width: 100%;
  }

  .ny-lanister__visual {
    height: 175px;
    min-height: 175px;
  }

  .ny-lanister__visual img {
    object-position: center 54%;
  }

  .ny-lanister__content {
    min-height: 339px;
    padding: 18px 20px 15px;
  }

  .ny-lanister__title {
    font-size: 34px;
    line-height: 1.01;
    margin-bottom: 17px;
  }

  .ny-lanister__discount {
    font-size: 17px;
    margin-bottom: 11px;
  }

  .ny-lanister__discount strong {
    font-size: 25px;
  }

  .ny-lanister__copy {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 17px;
  }

  .ny-lanister__cta {
    font-size: 14px;
    min-height: 45px;
    padding: 12px 18px;
  }

  .ny-lanister__period {
    font-size: 10px;
    padding-top: 15px;
  }

  .ny-lanister__close {
    right: 8px;
    top: 8px;
  }

  .ny-lanister-fab {
    height: 58px;
    right: 14px;
    width: 58px;
  }
}

@media (max-width: 340px) {
  .ny-lanister__visual {
    height: 142px;
    min-height: 142px;
  }

  .ny-lanister__content {
    min-height: 325px;
    padding: 15px 15px 13px;
  }

  .ny-lanister__title {
    font-size: 31px;
  }

  .ny-lanister__copy {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ny-lanister__cta,
  .ny-lanister-fab {
    transition: none;
  }
}
