.ipwh-domain-offer {
  position: relative;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin: 10px 0 22px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  color: #81221f;
  font: 800 12px/1.5 Arial, sans-serif;
  text-align: left;
  cursor: help;
  appearance: none;
}

.ipwh-domain-offer[hidden] {
  display: none !important;
}

.ipwh-domain-offer::before {
  content: "\2713";
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border-radius: 999px;
  background: #f8eceb;
  font-size: 10px;
  line-height: 1;
}

.ipwh-domain-offer-tooltip {
  position: absolute;
  z-index: 40;
  bottom: calc(100% + 12px);
  left: 0;
  width: min(310px, calc(100vw - 48px));
  padding: 15px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #81221f, #571411);
  box-shadow: 0 18px 38px rgba(40, 12, 11, 0.28);
  color: #fff;
  font: 700 12px/1.58 Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

.ipwh-domain-offer-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 22px;
  border: 7px solid transparent;
  border-top-color: #571411;
}

.ipwh-domain-offer:hover .ipwh-domain-offer-tooltip,
.ipwh-domain-offer:focus-visible .ipwh-domain-offer-tooltip,
.ipwh-domain-offer:focus .ipwh-domain-offer-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ipwh-domain-offer:focus-visible {
  outline: 3px solid rgba(129, 34, 31, 0.28);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .ipwh-domain-offer-tooltip {
    transition: none;
  }
}
