/* Standalone Advertise shortcut; visually similar to Website Builder. */
#pdai-advertise-icon.pdai-floating {
  position: fixed;
  z-index: 99995;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: max-content;
  min-width: 116px;
  min-height: 45px;
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
  margin: 0;
  padding: 8px 10px;
  border: 2px solid #b9252d;
  border-radius: 13px;
  background: #fff;
  color: #a41d27;
  font: 700 14px/1.15 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgb(18 30 47 / 15%);
  cursor: pointer;
  isolation: isolate;
  transition: background-color .15s ease, box-shadow .15s ease;
}
#pdai-advertise-icon.pdai-floating:hover {
  background: #fff3f3;
  color: #861219;
  box-shadow: 0 6px 18px rgb(18 30 47 / 20%);
}
#pdai-advertise-icon.pdai-floating:focus-visible {
  outline: 3px solid #2469a8;
  outline-offset: 3px;
}
#pdai-advertise-icon .pdai-megaphone {
  flex: 0 0 auto;
  color: #c1242c;
  width: 23px;
  height: 23px;
}
#pdai-advertise-icon span { white-space: nowrap; }
@media (max-width: 760px) {
  /* Mobile fallback is on the right; JS can still align it next to Builder
     when the smaller screen has enough room. No !important overrides. */
  #pdai-advertise-icon.pdai-floating:not(.pdai-aligned-to-builder) {
    top: auto;
    left: auto;
    bottom: 76px;
    right: 10px;
  }
  #pdai-advertise-icon.pdai-floating {
    min-height: 38px;
    min-width: 0;
    padding: 6px 8px;
    font-size: 12px;
    border-radius: 11px;
  }
  #pdai-advertise-icon .pdai-megaphone { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #pdai-advertise-icon.pdai-floating { transition: none; }
}
