/* Global Figma callback tab. It is viewport-bound so it cannot be clipped by
 * a hero, Elementor wrapper, or the page's horizontal content width. */
.codex-callback-reminder {
  position: fixed !important;
  z-index: 2147483000 !important;
  top: 50% !important;
  right: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  width: 47px !important;
  height: 177px !important;
  margin: 0 !important;
  padding: 14px 0 16px !important;
  flex-direction: column-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 9px 0 0 9px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 8px rgba(16, 26, 68, 0.16) !important;
  color: #4725d7 !important;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif !important;
  font-size: 13px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transform: translateY(-50%) !important;
  transition: box-shadow 160ms ease, color 160ms ease !important;
}

.codex-callback-reminder:hover,
.codex-callback-reminder:focus-visible {
  color: #3516b4 !important;
  box-shadow: 0 2px 12px rgba(16, 26, 68, 0.24) !important;
  text-decoration: none !important;
}

.codex-callback-reminder:focus-visible {
  outline: 2px solid #6338ff !important;
  outline-offset: -2px !important;
}

.codex-callback-reminder__icon {
  display: block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

.codex-callback-reminder__icon path {
  fill: currentColor !important;
}

.codex-callback-reminder__label {
  display: block !important;
  flex: 0 0 auto !important;
  width: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  writing-mode: vertical-rl !important;
  transform: rotate(180deg) !important;
  white-space: nowrap !important;
}

/* Disable the former homepage-only pseudo-element to avoid a duplicate tab. */
body .aw-hero-subtitle::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 520px) {
  .codex-callback-reminder {
    top: auto !important;
    right: 14px !important;
    bottom: 16px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    flex-direction: row !important;
    gap: 0 !important;
    border-radius: 50% !important;
    transform: none !important;
  }

  .codex-callback-reminder__icon {
    flex-basis: 17px !important;
    width: 17px !important;
    height: 17px !important;
  }

  .codex-callback-reminder__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  /* A lead form must not cover delivery or payment controls during checkout. */
  body#checkout .codex-callback-reminder {
    display: none !important;
  }
}
