@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@500;600;700&display=swap");

.botones-flotantes-module {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 99999;
  width: 248px;
  height: 64px;
  font-family: "Figtree", Arial, sans-serif;
}

.botones-flotantes-module--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 248px;
  height: auto;
}

.botones-flotantes-module__item {
  position: absolute;
  cursor: pointer;
  right: 0;
  bottom: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.55s, box-shadow 0.2s ease-in-out;
  will-change: opacity, transform;
}

.botones-flotantes-module--stacked .botones-flotantes-module__item {
  position: relative;
  right: auto;
  bottom: auto;
}

.botones-flotantes-module__item.is-swap-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.botones-flotantes-module__item.is-swap-hidden {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  visibility: hidden;
  pointer-events: none;
}

.botones-flotantes-module__item.is-swap-exit {
  opacity: 0;
  transform: translateY(-18px) scale(0.96);
  visibility: hidden;
  pointer-events: none;
}

.alignia-floating-switch {
  display: flex;
  justify-content: flex-end;
  width: 248px;
  z-index: 1;
}

.alignia-floating-switch a {
  position: relative;
  display: flex;
  align-items: center;
  width: 248px;
  height: 64px;
  padding: 0 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(58, 32, 80, 0.28);
  text-decoration: none;
  overflow: hidden;
  transition: width 0.35s ease, height 0.35s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.alignia-floating-switch__brand {
  display: inline-flex;
  align-items: center;
}

.alignia-floating-switch__text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  font-family: var(--vkl-family-font1), "Figtree", Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 1px 10px rgba(34, 13, 57, 0.18);
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

.alignia-floating-switch__text-small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.88;
}

.alignia-floating-switch__text-strong {
  display: block;
  margin-top: 3px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.alignia-floating-switch--text .alignia-floating-switch__brand {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
}

.alignia-floating-switch--text a {
  gap: 10px;
  padding: 0 11px 0 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.24), transparent 31%),
    linear-gradient(135deg, #a34be0 0%, #7d2fc2 48%, #6422a8 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(71, 31, 102, 0.32);
}

.alignia-floating-switch--text .alignia-floating-switch__cta {
  width: 58px;
  min-width: 58px;
  height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: #ffaa00;
  box-shadow: inset 0 -2px 0 rgba(116, 71, 0, 0.12), 0 8px 18px rgba(255, 170, 0, 0.26);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.alignia-floating-switch--dental-brackets a {
  background:
    radial-gradient(circle at 18% 18%, rgba(1, 200, 201, 0.26), transparent 34%),
    linear-gradient(135deg, #58595b 0%, #414042 48%, #2f3032 100%);
  border-color: rgba(1, 200, 201, 0.34);
  box-shadow: 0 18px 40px rgba(32, 36, 38, 0.28);
}

.alignia-floating-switch--dental-brackets .alignia-floating-switch__text {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.alignia-floating-switch--dental-brackets .alignia-floating-switch__text-small {
  color: rgba(255, 255, 255, 0.86);
}

.alignia-floating-switch--dental-brackets .alignia-floating-switch__text-strong {
  color: #fff;
}

.alignia-floating-switch--dental-brackets .alignia-floating-switch__cta {
  background: #01c8c9;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 -2px 0 rgba(0, 80, 82, 0.16), 0 8px 18px rgba(1, 200, 201, 0.24);
}

.logo-full {
  width: 168px;
  transition: all 0.35s ease;
}

.logo-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: auto;
  transform: translate(-50%, 80px);
  opacity: 0;
  transition: all 0.35s ease;
}

.alignia-floating-switch__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-width: 46px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #ffaa00;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.alignia-floating-switch.is-compact a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.alignia-floating-switch.is-compact .logo-full {
  opacity: 0;
  transform: translateY(-10px);
}

.alignia-floating-switch.is-compact .alignia-floating-switch__text {
  opacity: 0;
  transform: translateY(-10px);
}

.alignia-floating-switch.is-compact .logo-icon {
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: floating-tooth-shake-centered 2.8s ease-in-out infinite;
}

.alignia-floating-switch--text.is-compact .alignia-floating-switch__tooth {
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: floating-tooth-shake-centered 2.8s ease-in-out infinite;
}

.alignia-floating-switch.is-compact .alignia-floating-switch__cta {
  opacity: 0;
  pointer-events: none;
}

.alignia-floating-switch.is-compact:hover a {
  width: 248px;
  height: 64px;
  border-radius: 22px;
}

.alignia-floating-switch.is-compact:hover .logo-full {
  opacity: 1;
  transform: translateY(0);
}

.alignia-floating-switch.is-compact:hover .alignia-floating-switch__text {
  opacity: 1;
  transform: none;
}

.alignia-floating-switch.is-compact:hover .logo-icon {
  opacity: 0;
  transform: translate(-50%, 80px);
  animation: none;
}

.alignia-floating-switch--text.is-compact:hover .alignia-floating-switch__tooth {
  opacity: 0;
  transform: translate(-50%, 80px);
  animation: none;
}

.alignia-floating-switch.is-compact:hover .alignia-floating-switch__cta {
  opacity: 1;
  pointer-events: auto;
}

.alignia-floating-switch a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px -12px #000;
}

.wp-button {
  width: 60px;
  height: 60px;
}

.wp-button a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 27px -13px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease-in-out;
}

.wp-button img {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  padding: 5px;
  border: 4px solid #ffffff;
}

.wp-button a:hover {
  box-shadow: 0 0 40px -12px #000;
}

.wp-tooltip {
  visibility: visible;
  line-height: 31px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  position: absolute;
}

.wp-tooltip.hidden {
  visibility: hidden;
}

.wp-tooltip.left {
  top: calc(50% - 20.5px);
  right: 130%;
}

.wp-tooltip.left:after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #000;
}

.wp-tooltip .wp-tooltip-text {
  white-space: nowrap !important;
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  line-height: 30px;
  font-family: Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.wp-tooltip.wp-tooltip-animation {
  -webkit-animation: wp-tooltip-animation 0.1s cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: wp-tooltip-animation 0.1s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.wp-button .wp-tooltip {
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, box-shadow 0.2s ease-in-out;
}

.wp-button.is-compact .wp-tooltip {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.wp-button.is-compact:hover .wp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.wp-button a:hover .wp-tooltip {
  box-shadow: 0 0 40px -12px #000;
}

.brand-pill-button {
  width: 60px;
  height: 60px;
}

.brand-pill-button a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-decoration: none;
}

.brand-pill-button__tooltip {
  position: absolute;
  top: calc(50% - 22px);
  right: 130%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 44px;
  padding: 8px 14px;
  /* background: #000; */
  background: linear-gradient(135deg, #9d4edd 0%, #7b2cbf 100%);
  border-radius: 6px;
  box-shadow: 0 0 27px -13px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, box-shadow 0.2s ease-in-out;
}

.brand-pill-button__tooltip::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #7b2cbf;
}

.brand-pill-button--dental-brackets .brand-pill-button__tooltip {
  background: #fff;
}

.brand-pill-button--dental-brackets .brand-pill-button__tooltip::after {
  border-color: transparent transparent transparent #fff;
}

.brand-pill-button--dental-brackets .brand-pill-button__tooltip img {
  width: 83px;
  height: auto;
  max-width: 100%;
  max-height: 30px;
  margin: 0 auto;
}

.brand-pill-button__tooltip img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.brand-pill-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 27px -13px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: box-shadow 0.2s ease-in-out;
}

.brand-pill-button__icon img {
  display: block;
  width: 36px;
  height: auto;
  object-fit: contain;
  animation: floating-tooth-shake 2.8s ease-in-out infinite;
}

.brand-pill-button a:hover .brand-pill-button__icon {
  box-shadow: 0 0 40px -12px #000;
}

.brand-pill-button a:hover .brand-pill-button__tooltip {
  box-shadow: 0 0 40px -12px #000;
}

.brand-pill-button.is-compact a {
  width: 60px;
}

.brand-pill-button.is-compact .brand-pill-button__tooltip {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
}

.brand-pill-button.is-compact:hover .brand-pill-button__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.brand-pill-button.is-compact .brand-pill-button__icon {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 27px -13px rgba(0, 0, 0, 0.1);
}

@-webkit-keyframes wp-tooltip-animation {
  0% {
    -webkit-transform: scaleX(0.4);
    transform: scaleX(0.4);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }

  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }
}

@keyframes wp-tooltip-animation {
  0% {
    -webkit-transform: scaleX(0.4);
    transform: scaleX(0.4);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }

  to {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
  }
}

@keyframes floating-tooth-shake {
  0%,
  100% {
    transform: rotate(0deg) translateX(0);
  }

  8% {
    transform: rotate(-7deg) translateX(-1px);
  }

  16% {
    transform: rotate(7deg) translateX(1px);
  }

  24% {
    transform: rotate(-5deg) translateX(-1px);
  }

  32% {
    transform: rotate(5deg) translateX(1px);
  }

  40% {
    transform: rotate(0deg) translateX(0);
  }
}

@keyframes floating-tooth-shake-centered {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(0);
  }

  8% {
    transform: translate(-50%, -50%) rotate(-7deg) translateX(-1px);
  }

  16% {
    transform: translate(-50%, -50%) rotate(7deg) translateX(1px);
  }

  24% {
    transform: translate(-50%, -50%) rotate(-5deg) translateX(-1px);
  }

  32% {
    transform: translate(-50%, -50%) rotate(5deg) translateX(1px);
  }

  40% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(0);
  }
}

@media (max-width: 767px) {
  .botones-flotantes-module {
    right: 25px;
    bottom: 25px;
  }

  .alignia-floating-switch.is-compact a {
    width: 60px;
    height: 60px;
  }
}
