:root {
  --yxt-contact-navy: #0b1220;
  --yxt-contact-blue: #3154d8;
  --yxt-contact-line: rgba(255, 255, 255, 0.12);
}

.yxt-mobile-contact-bar {
  display: none;
}

.gt_float_switcher {
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 6px !important;
  background: #0b1220 !important;
  font-family: inherit !important;
  box-shadow: 0 14px 34px rgba(2, 7, 18, 0.24) !important;
}

.gt_float_switcher .gt-selected {
  background: #0b1220 !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
  min-height: 44px;
  display: flex !important;
  align-items: center;
  gap: 9px;
  padding: 10px 12px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700;
}

.gt_float_switcher .gt-selected img,
.gt_float_switcher .gt_options img {
  width: 22px !important;
  height: 22px !important;
  border-radius: 2px;
  object-fit: cover;
}

.gt_float_switcher .gt_float_switcher-arrow {
  margin-left: auto;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.gt_float_switcher .gt_options {
  max-height: min(420px, calc(100dvh - 110px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border-top: 1px solid #dfe4ec !important;
  background: #fff !important;
}

.gt_float_switcher .gt_options a {
  min-height: 44px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 12px !important;
  color: #263044 !important;
  font-size: 13px !important;
  font-weight: 650;
  line-height: 1.25;
}

.gt_float_switcher .gt_options a:hover,
.gt_float_switcher .gt_options a:focus-visible,
.gt_float_switcher .gt_options a.gt-current {
  background: #eef3ff !important;
  color: #1746d1 !important;
  outline: none;
}

.yxt-desktop-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 998;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #128c62;
  color: #fff !important;
  font: 700 14px/1.2 inherit;
  text-decoration: none !important;
  box-shadow: 0 12px 30px rgba(5, 24, 18, 0.22);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.yxt-desktop-whatsapp:hover,
.yxt-desktop-whatsapp:focus-visible {
  background: #0f7854;
  color: #fff !important;
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(5, 24, 18, 0.28);
}

.yxt-scroll-top {
  position: fixed;
  right: 18px;
  bottom: 150px;
  z-index: 998;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: var(--yxt-contact-navy);
  color: #fff;
  box-shadow: 0 12px 30px rgba(3, 8, 18, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.yxt-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.yxt-scroll-top:hover,
.yxt-scroll-top:focus-visible {
  background: #111c31;
  color: #fff;
  outline: none;
  transform: translateY(-2px) scale(1);
  box-shadow: 0 16px 36px rgba(3, 8, 18, 0.32);
}

.yxt-scroll-top:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 0 0 6px rgba(49, 84, 216, 0.55), 0 16px 36px rgba(3, 8, 18, 0.32);
}

.yxt-scroll-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  transform: rotate(-90deg);
}

.yxt-scroll-top__track,
.yxt-scroll-top__progress {
  fill: none;
  stroke-width: 2.5;
}

.yxt-scroll-top__track {
  stroke: rgba(255, 255, 255, 0.18);
}

.yxt-scroll-top__progress {
  stroke: #6683ff;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
}

.yxt-scroll-top__arrow {
  position: relative;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yxt-desktop-whatsapp svg,
.yxt-mobile-contact-bar svg {
  display: block;
  flex: 0 0 22px;
  width: 22px !important;
  min-width: 22px;
  max-width: 22px;
  height: 22px !important;
  aspect-ratio: 1 / 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yxt-desktop-whatsapp .yxt-icon-whatsapp,
.yxt-mobile-contact-bar .yxt-icon-whatsapp,
.yxt-desktop-whatsapp .yxt-icon-whatsapp path,
.yxt-mobile-contact-bar .yxt-icon-whatsapp path {
  fill: currentColor !important;
  stroke: none !important;
  stroke-width: 0 !important;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important;
  }

  body .gt_switcher_wrapper,
  body .gtranslate_wrapper {
    display: none !important;
  }

  body.yxt-mobile-menu-open .gt_switcher_wrapper,
  body.yxt-mobile-menu-open .gtranslate_wrapper {
    display: block !important;
  }

  body.yxt-mobile-menu-open .gtranslate_wrapper {
    position: fixed !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    z-index: 1001 !important;
    width: min(268px, calc(100vw - 32px)) !important;
    height: auto !important;
  }

  body.yxt-mobile-menu-open .gt_float_switcher {
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .yxt-desktop-whatsapp {
    display: none !important;
  }

  .yxt-scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 1000;
    width: 46px;
    height: 46px;
  }

  .yxt-mobile-contact-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 999;
    min-height: calc(64px + env(safe-area-inset-bottom));
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    padding: 0 6px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(168, 184, 219, 0.22);
    background: rgba(8, 15, 29, 0.96);
    box-shadow: 0 -12px 34px rgba(3, 8, 18, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: opacity 160ms ease, transform 200ms ease, visibility 160ms ease;
  }

  .yxt-mobile-contact-bar__item {
    position: relative;
    min-width: 0;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px 6px;
    color: #dbe4f7 !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    transition: color 160ms ease, background-color 160ms ease;
  }

  .yxt-mobile-contact-bar__item + .yxt-mobile-contact-bar__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: var(--yxt-contact-line);
  }

  .yxt-mobile-contact-bar__item:hover,
  .yxt-mobile-contact-bar__item:focus-visible,
  .yxt-mobile-contact-bar__item:active {
    color: #fff !important;
    background: rgba(69, 98, 221, 0.14);
    outline: none;
  }

  .yxt-mobile-contact-bar__item--whatsapp svg {
    color: #42d89b;
  }

  .yxt-mobile-contact-bar__item--quote {
    color: #fff !important;
  }

  .yxt-mobile-contact-bar__item--quote::after {
    content: '';
    position: absolute;
    inset: 7px 8px;
    z-index: -1;
    border-radius: 5px;
    background: var(--yxt-contact-blue);
  }

  body.yxt-mobile-menu-open .yxt-mobile-contact-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }

  body.yxt-mobile-menu-open .yxt-scroll-top {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.96);
  }
}

@media (max-width: 359px) {
  .yxt-mobile-contact-bar__item {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yxt-desktop-whatsapp,
  .yxt-scroll-top,
  .yxt-mobile-contact-bar,
  .yxt-mobile-contact-bar__item {
    transition: none;
  }
}
.yxt-mobile-contact-bar .yxt-menu-icon,
.yxt-mobile-contact-bar .yxt-menu-icon-image {
  display: block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex: 0 0 22px;
  font-size: 22px;
  line-height: 22px;
  margin: 0;
  object-fit: contain;
}
.yxt-mobile-contact-bar .yxt-mobile-contact-bar__item--upload {
  color: #fff;
  background: var(--yxt-contact-blue);
  border-radius: 4px;
}
.yxt-mobile-contact-bar .yxt-mobile-contact-bar__item--upload > span:last-child {
  max-width: 100%;
  white-space: normal;
  line-height: 1.15;
  text-align: center;
}
@media (max-width: 767px) {
  .yxt-mobile-contact-bar__item > span:last-child:not(.yxt-menu-icon) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
  }
}
