/* Opacity overwrite for the lightbox */
.retailer-overlay-wrapper.lightbox {
  background: rgba(0 0 0 / 0.78);
}

.retailer-overlay .lb__close {
}

/* The component. <div> */
.retailer-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  flex-flow: column;
  box-sizing: border-box;
}

.retailer-overlay__background-click {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

/* Inner wrapper that wraps text elements & buttons */
.retailer-overlay__inner-wrapper {
  pointer-events: all;
  background: var(--uphe-blue-dark);
  padding: 1em 1em 0;
  position: relative;
  overflow-y: scroll;
}

/* Text elements */
.retailer-overlay__title,
.retailer-overaly__cta {
  color: #fff;
  margin: 0 0 0.5em 0;
  text-align: left;
  font-size: 1.6em;
  width: calc(100% - 2em);
  align-self: start;
}

/* Sub texts like "Yours To Own", "Watch on Demand" */
.retailer-overaly__cta {
  font-size: 0.8em;
  color: var(--uphe-blue-light);
  margin-bottom: 1em;
}

/* subtitle  */
.retailer-overlay__format-title {
  color: var(--uphe-blue-light);
  align-self: start;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.retailer-overlay__button-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  --gap: 0.25em;
  gap: 1em var(--gap);
  justify-content: space-between;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

/* <a> */
.retailer-overlay__button {
  flex: 0 0 calc(50% - var(--gap));
  overflow: hidden;
  border-width: 0;
  background: #fff;
}

/* Desktop styles */
@media (min-width: 700px) {
  .retailer-overlay {
    justify-content: center;
  }
  .retailer-overlay__inner-wrapper {
    pointer-events: all;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 72rem);
    overflow-y: auto;
    padding: 3em 3em 2em;
  }

  .retailer-overlay__title,
  .retailer-overaly__cta {
    font-size: 2.2em;
    margin-bottom: 0;
  }

  /* Sub texts like "Yours To Own", "Watch on Demand" */
  .retailer-overaly__cta {
    font-size: 1em;
    margin-bottom: 1em;
  }
  .retailer-overlay__button-wrapper {
    width: 100%;
    justify-content: start;
    --gap: 1em;
    margin-top: 0;
    margin-bottom: 2em;
  }
  .retailer-overlay__button {
    flex: 0 0 calc(25% - var(--gap));
    border-radius: 3em;
  }
}

.retailer-overlay__button--logo {
  max-width: 100%;
  width: 100%;
  left: 0%;
  display: block;
  position: relative;
}

/* Close button (x) */
.retailer-overlay__close {
}
