.rediem-popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(20px);
}

.rediem-close-button::before,
.rediem-close-button::after,
button.shop-store::before,
button.shop-store::after {
  display: none;
}

button.shop-store,
.rediem-close-button {
  border: 0 !important;
}

.rediem-popup-content * {
  line-height: 1.2;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

#rediem_referral {
  opacity: 0;
  height: 0;
}

.rediem-referral-iframe {
  vertical-align: middle;
}



.rediem-popup-content-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  max-width: calc(100% - 40px);
}

.rediem-popup-content {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0px 0px 64px 0px rgba(0, 0, 0, 0.25);
  background: #FFF;
  display: flex;
  overflow: hidden;
  position: relative;
  padding: 40px;
  height: 92vh;
  height: 92dvh;
  gap: 40px;
  position: relative;
}

.rediem-popup-col-text {
  width: 50%;
}

.rediem-popup-col-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.4;
  height: calc(92vh - 100px);
  height: calc(92dvh - 100px);
  overflow-y: auto;
  padding-bottom: 20px;
}


.rediem-popup-col-content * {
  margin: 0;
}

.rediem-popup-col-img {
  width: 50%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  border-radius: 30px;
}

.rediem-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rediem-input {
  outline: none;
}

.rediem-input.texfield {
  min-height: 45px;
  border: 1px solid #e2e2e2;
  padding: 12px;
  box-shadow: none;
  padding-bottom: 0px;
}

.rediem-sbt-btn,
.btn-shop-now {
  height: 45px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  background: var(--Olipop-Brand-Colors-Primary, #0077C8);
  color: #fff;
}

.rediem-term {
  margin-top: 15px;
}

.rediem-term *,
.rediem-term {
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.rediem-body-text * {
  font-size: 15px;
}

.rediem-heading *,
.rediem-heading {
  font-size: 42px;
}

.rediem-heading {
  font-weight: 700;
}

.rediem-close-button {
  position: absolute !important;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  padding: 0px !important;
  background: transparent !important;
  border-radius: 60px !important;
  cursor: pointer !important;
  padding: 5px !important;
  min-width: unset !important;
  min-height: unset !important;
  color: currentColor !important;
}


.rediem-close-button>* {
  width: 100%;
  height: 100%;
}

.rediem-friend-reward {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--Gray-300, #D0D5DD);
  align-items: center;
}

.rediem-term-checkbox,
.rediem-term-checkbox * {
  font-size: 12px;
}

.rediem-term-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.reward-box .text-sm {
  color: var(--Gray-500, #667085);
  font-size: 12px;
  font-weight: 400;
}

.reward-box {
  font-size: 16px;
  font-weight: 700;
}

.color-primary,
.reward-box {
  color: #0077C8;
}

.rediem-term-checkbox .js-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.rediem-email-input {
  display: flex;
  flex-direction: column;
}

.rediem-email-input .label {
  font-weight: 700;
  font-size: 16px;
}

.rediem-members img {
  filter: grayscale(1);
  width: 56px;
}

.rediem-email-input .rediem-input.email {
  border: 0;
  border-bottom: 1px solid #D0D5DD;
}

.rediem-members {
  /* padding: 10px 12px;
  border-radius: 60px; */
  align-items: center;
  line-height: 1;
  gap: 4px;
  display: inline-flex;
  width: max-content;
  font-size: 14px;
}

.click-to-copy {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--Gray-300, #D0D5DD);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
  line-height: 1;
}

.ref-friend-btn {
  display: flex;
  gap: 15px;
}

.ref-friend-btn>button {
  padding: 10px;
  flex-grow: 1;
  border: 0;
  min-height: 45px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
}

button.apply-to-checkout {
  background: #0077C8;
  color: #fff;
}

button.shop-store {
  background: rgba(0, 119, 200, 0.10);
}

.inst-heading {
  font-size: 16px;
  font-weight: bold;
}

.rediem-sbt-btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
}

.rediem-popup-open,
.rediem-popup-open body {
  overflow-y: hidden;
}

.rediem-form-error:empty {
  display: none;
}

.is-error.rediem-form-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 10px;
  font-size: 14px;
}

.copied-tooltip {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 45px;
  font-size: 12px;
  font-weight: normal;
}

.rediem-popup-wrapper button {
  cursor: pointer;
}

.click-to-copy {
  position: relative;
}

.rediem-footer {
  position: fixed;
  width: calc(50% - 40px);
  text-align: center;
  left: 20px;
  font-size: 14px;
  background: #fff;
  padding-bottom: 36px;
  bottom: 2px;
  border-radius: 30px;
}

.rediem-footer img {
  display: inline-block;
}

.gift-card.advocate * {
  margin: 0;
}

.ref-widget-wrapper {
  position: fixed;
  min-width: 100px;
  height: 46px;
}

.ref-widget-wrapper,
.ref-widget-wrapper * {
  text-decoration: none;
}

.ref-widget {
  display: flex;
  align-items: center;
  font-size: 18px;
  padding: 10px;
  line-height: 1;
  gap: 10px;
  color: #fff;
  position: relative;
  height: 100%;
  font-weight: 700;
}

.ref-icon {
  --d: -10px;
  width: 46px;
  height: 46px;
  object-fit: contain;
  position: absolute;
}

.gift-card.advocate {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.30);
  box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(44px);
  align-self: flex-start;
  width: 100%;
  line-height: 1.2;
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
}

.rediem-popup-wrapper.user .gift-card.advocate,
.rediem-popup-wrapper.customer .gift-card.advocate {
  display: none;
}

.rediem-popup-col-img,
.gift-card.advocate {
  padding: 20px;
}

.gift-heading {
  font-size: 12px;
}

.gift-card-text {
  font-size: 16px;
}

.gift-time {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 12px;
}

.gift-card img {
  border-radius: 6.667px;
  background: #D7E7E3;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  height: 50px;
  width: 92px;
  object-fit: cover;
}

.rediem-footer a {
  text-decoration: none;
  color: currentColor;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.ref-widget {
  padding-left: 18px;
  padding-right: 18px;
}

.ref-widget.icon_top_left,
.ref-widget.icon_bottom_left {
  padding-left: 48px;
}

.ref-widget.icon_top_right,
.ref-widget.icon_bottom_right {
  padding-right: 48px;
}

@media(max-width:768px) {
  .rediem-popup-content {
    flex-direction: column-reverse;
    padding: 0;
    gap: 0;
    padding-bottom: 5px;
  }

  .rediem-popup-col-text,
  .rediem-popup-col-img {
    width: 100%;
  }

  .rediem-popup-col-content,
  .rediem-popup-col-img {
    min-height: 140px;
    border-radius: 0;
  }

  .rediem-popup-col-content {
    padding: 20px;
    padding-bottom: 50px;
  }

  .rediem-popup-col-content *:not(.rediem-term-checkbox, .rediem-term, .rediem-footer, .rediem-heading *, .rediem-heading),
  .ref-friend-btn>button {
    font-size: 12px;
  }

  .rediem-heading *,
  .rediem-heading {
    font-size: 24px;
  }

  .rediem-term-checkbox,
  .rediem-term-checkbox *,
  .rediem-term,
  .rediem-term * {
    font-size: 10px;
  }

  .rediem-popup-col-content {
    height: calc(92vh - 140px);
    height: calc(92dvh - 140px);
  }

  .rediem-heading * {
    font-size: 24px !important;
  }

  .rediem-footer {
    padding-bottom: 10px;
    padding-top: 10px;
    width: calc(100% - 20px);
    left: 10px;
    border-radius: 0 0 20px 20px;
  }

  .gift-card.advocate {
    display: none;
  }

  .rediem-members {
    font-size: 12px;
  }
}