.tb-loyalty-overlay {
  background: rgba(0, 0, 0, .64);
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 80px;
  z-index: 255;
}

.tb-loyalty-tray {
  background: #fff;
  bottom: 0;
  box-shadow: -5px 5px 12px 2px rgba(80, 16, 152, .18);
  color: #000;
  overflow-y: auto;
  position: fixed;
  right: 0;
  top: 80px;
  width: min(480px, 100vw);
  z-index: 270;
}

.tb-loyalty-tray[hidden],
.tb-loyalty-overlay[hidden] {
  display: none;
}

.tb-loyalty-open {
  overflow: hidden;
}

.tb-loyalty-tray__close {
  align-items: center;
  background: rgba(154, 35, 248, .45);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 2rem;
  height: 40px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 40px;
  z-index: 2;
}

.tb-loyalty-tray__content {
  min-height: 100%;
}

.tb-loyalty-tray__hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .16), transparent 30%),
    linear-gradient(150deg, rgba(154, 35, 248, .95), rgba(80, 16, 152, .94)),
    url("/assets/loyalty/images/header-texture.png");
  background-blend-mode: screen, normal, normal;
  color: #fff;
  min-height: 471px;
  padding: 24px 24px 42px;
  text-align: center;
}

.tb-loyalty-tray__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 480px;
  width: 100%;
}

.tb-loyalty-tray__logo {
  height: auto;
  margin: 0 auto;
  max-width: 166px;
  object-fit: contain;
  width: 166px;
}

.tb-loyalty-tray__title {
  color: #fff;
  font-family: GT-America-Condensed-Medium, Arial Black, Arial, Helvetica, sans-serif;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: .9;
  margin: 32px 0 0;
}

.tb-loyalty-tray__qr {
  background: #fff;
  border-radius: 2px;
  height: 160px;
  margin: 24px auto 0;
  object-fit: contain;
  width: 160px;
}

.tb-loyalty-tray__qr-label {
  color: #fff;
  font-family: InterstateBold, Arial, Helvetica, sans-serif;
  font-size: .75rem;
  line-height: 1.2;
  margin: 24px 0 0;
  text-transform: uppercase;
}

.tb-loyalty-tray__stores {
  display: none;
}

.tb-loyalty-tray__stores a {
  align-items: center;
  background: #000;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-family: InterstateBold, Arial, Helvetica, sans-serif;
  font-size: .75rem;
  justify-content: center;
  min-height: 34px;
  min-width: 112px;
  padding: 7px 12px;
  text-decoration: none;
}

.tb-loyalty-tray__food {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tb-loyalty-tray__benefits {
  background: #fff;
  padding: 31px 40px 38px;
}

.tb-loyalty-tray__benefits ul {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-loyalty-tray__benefits li {
  align-items: center;
  color: #000;
  display: grid;
  font-family: InterstateRegular, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  gap: 14px;
  grid-template-columns: 20px minmax(0, 1fr);
  line-height: 1.25;
}

.tb-loyalty-tray__benefits li svg {
  color: #ff8200;
  height: 20px;
  width: 20px;
}

.tb-loyalty-tray__benefits strong {
  font-family: InterstateBold, Arial, Helvetica, sans-serif;
}

.tb-loyalty-tray__cta {
  align-items: center;
  background: #501098;
  border: 2px solid #501098;
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-family: InterstateBold, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  justify-content: center;
  margin: 28px auto 0;
  min-height: 48px;
  padding: 11px 28px;
  text-decoration: none;
  text-transform: uppercase;
  width: min(274px, 100%);
}

.tb-loyalty-tray__cta:hover {
  background: #38096c;
  border-color: #38096c;
  color: #fff;
}

.tb-loyalty-tray__legal {
  color: #585858;
  font-family: InterstateRegular, Arial, Helvetica, sans-serif;
  font-size: .6875rem;
  line-height: 1.32;
  margin: 24px 0 0;
}

@media screen and (max-width: 989px) {
  .tb-loyalty-overlay {
    top: 54px;
  }

  .tb-loyalty-tray {
    top: 54px;
    width: min(420px, 100vw);
  }

  .tb-loyalty-tray__hero {
    min-height: 430px;
    padding: 24px 24px 34px;
  }

  .tb-loyalty-tray__title {
    font-size: 56px;
    letter-spacing: -.04em;
  }
}

@media screen and (max-width: 640px) {
  .tb-loyalty-overlay {
    top: 0;
  }

  .tb-loyalty-tray {
    left: 0;
    top: 0;
    width: 100vw;
  }

  .tb-loyalty-tray__close {
    right: 10px;
    top: 10px;
  }

  .tb-loyalty-tray__hero {
    min-height: 416px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .tb-loyalty-tray__logo {
    width: 152px;
  }

  .tb-loyalty-tray__title {
    font-size: 3rem;
    max-width: 330px;
  }

  .tb-loyalty-tray__benefits {
    padding-left: 24px;
    padding-right: 24px;
  }
}
