/* Only this component is styled here; desktop and print use no footer slot. */
.nvl-mobile-footer-cta-slot {
  display: none;
}

@media screen and (max-width: 1024px) {
  .nvl-mobile-footer-cta-slot {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    border: 0;
    padding: 0;
  }

  .nvl-mobile-footer-cta {
    position: relative;
    z-index: 8; /* NVL's header uses 9 and its modal overlays use 20. */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    background-color: var(--theme--secondary-color, #131446);
  }

  .nvl-mobile-footer-cta--fixed {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.12);
  }

  .nvl-mobile-footer-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 4px;
    padding: 10px 24px;
    background-color: var(--theme--primary-color, #cb2026);
    color: var(--text--inverted-color, #ffffff);
    font-family: gotham-bold, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    cursor: pointer;
  }

  .nvl-mobile-footer-cta__button:disabled {
    cursor: default;
  }

  .nvl-mobile-footer-cta__button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
  }

  @media (hover: hover) {
    .nvl-mobile-footer-cta__button:hover:not(:disabled) {
      background-color: var(--theme--primary-color--hover, #a10406);
    }
  }
}
