.ixir-wh-grid.ixir-wh-grid--3,
.ixir-wh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ixir-wh-plan,
.ixir-wh-plan--best {
  overflow: visible !important;
}

.ixir-wh-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 28px;
  line-height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-family: "Space Grotesk", "Roboto", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.ixir-ssl-badge-pill {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  gap: 8px !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  color: #2563eb !important;
  font-family: "Space Grotesk", "Roboto", sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-sizing: border-box !important;
}

.ixir-wh-plans.is-armed .ixir-wh-grid--3 .ixir-wh-plan:not(.is-in),
.ixir-wh-page--wp .ixir-wh-plans.is-armed .ixir-wh-grid--3 .ixir-wh-plan:not(.is-in) {
  transform: translate3d(112px, 0, 0);
}

@media (min-width: 1024px) {
  .ixir-wh-plans.is-armed .ixir-wh-grid--3 .ixir-wh-plan:nth-child(3) {
    --ixir-enter-delay: 80ms;
  }
  .ixir-wh-plans.is-armed .ixir-wh-grid--3 .ixir-wh-plan:nth-child(2) {
    --ixir-enter-delay: 180ms;
  }
  .ixir-wh-plans.is-armed .ixir-wh-grid--3 .ixir-wh-plan:nth-child(1) {
    --ixir-enter-delay: 280ms;
  }
}

.ixir-wh-plan:has(.ixir-wh-billing.is-open),
.ixir-wh-plan.is-billing-open {
  z-index: 100 !important;
  overflow: visible !important;
}

.ixir-wh-billing {
  position: relative;
  margin: 6px 0 8px;
}

.ixir-wh-billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: #1a56c4;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: calc(100% - 18px) 1px;
  cursor: pointer;
}

.ixir-wh-billing-btn::after {
  content: "";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 12px;
}

.ixir-wh-billing-btn:hover, .ixir-wh-billing-btn:focus {
  color: #123e8a;
}

.ixir-wh-billing-pop {
  display: none;
  position: absolute;
  z-index: 1000 !important;
  top: calc(100% + 8px);
  left: 0;
  width: min(340px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  box-sizing: border-box;
  padding: 14px 16px 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.22), 0 8px 16px -4px rgba(15, 23, 42, 0.1);
}

.ixir-wh-billing.is-open .ixir-wh-billing-pop {
  display: block;
}

.ixir-wh-grid .ixir-wh-plan:nth-child(n+3) .ixir-wh-billing-pop,
.ixir-wh-grid .ixir-wh-plan:last-child .ixir-wh-billing-pop {
  left: auto;
  right: 0;
}

.ixir-wh-billing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ixir-wh-billing-top strong {
  color: #0b2545;
  font-size: 16px;
  font-family: "Space Grotesk", "Roboto", sans-serif;
  font-weight: 700;
}

.ixir-wh-billing-close {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5160;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ixir-wh-billing-close:hover {
  background: #e5e7eb;
  color: #111827;
}

.ixir-wh-billing-pop table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ixir-wh-billing-pop th {
  padding: 9px 8px;
  background: #f6f7f9;
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.ixir-wh-billing-pop td {
  padding: 10px 8px;
  border-top: 1px solid #eef0f4;
  color: #0b2545;
  font-size: 13.5px;
}

.ixir-wh-billing-pop tr.is-best td {
  background: #fff8d6;
  font-weight: 700;
}

.ixir-wh-billing-pop tr.is-best td:first-child::after {
  content: " *";
  color: #8a6a00;
}

.ixir-wh-billing-pop p {
  margin: 8px 0 0;
  color: #8a6a00;
  font-size: 12px;
  font-weight: 600;
}

.ixir-wh-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.ixir-wh-more i {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.ixir-wh-more:hover, .ixir-wh-more:focus {
  color: #0b2545;
  text-decoration: none;
}

.ixir-wh-more:hover i, .ixir-wh-more:focus i {
  transform: translateY(2px);
}

@media (max-width: 1024px) {
  .ixir-wh-billing-pop {
    position: fixed !important;
    z-index: 1050 !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    transform: translate(-50%, -50%) !important;
  }
}

.ixir-wh-shared--click > li {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.ixir-wh-shared--click > li.is-open {
  border-color: #9fbaf0;
  box-shadow: 0 10px 24px rgba(26, 86, 196, 0.1);
}
