/* ViralX sticky quote bar — Apple liquid-glass style */
.vx-quote-bar {
  --c-glass: #bbbbbc;
  --c-light: #fff;
  --c-dark: #000;
  --glass-reflex-dark: 2;
  --glass-reflex-light: 0.6;
  --saturation: 150%;

  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(0);
  width: min(1400px, calc(100vw - 36px));
  z-index: 9999;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: inherit;
  isolation: isolate;
  background: #000;
  backdrop-filter: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, opacity 0.35s ease;
}


.vx-quote-bar.vx-hidden {
  transform: translateX(-50%) translateY(160%);
  opacity: 0;
  pointer-events: none;
}



.vx-quote-inner {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1.15fr auto;
  gap: 12px;
  align-items: center;
  padding-right: 0;
}

.vx-quote-bar .vx-field {
  min-width: 0;
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 17px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.vx-quote-bar .vx-field::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.vx-quote-bar .vx-field:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- custom dark dropdowns ---------- */
.vx-select {
  position: relative;
  min-width: 0;
}

.vx-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 58px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 17px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.vx-select-trigger .vx-select-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-select-trigger .vx-select-label.vx-placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.vx-caret {
  flex: none;
  width: 14px;
  height: 14px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.vx-select.vx-open .vx-caret {
  transform: rotate(180deg);
}

.vx-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 100%;
  min-width: 280px;
  max-height: 340px;
  overflow: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 16, 18, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 20;
}

.vx-select.vx-open .vx-menu {
  display: block;
}

.vx-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-family: inherit;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
}

.vx-option:hover,
.vx-option.vx-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.vx-option img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  flex: none;
}

.vx-option .vx-dial {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.vx-search {
  width: 100%;
  height: 42px;
  margin-bottom: 6px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

/* ---------- phone group ---------- */
.vx-phone {
  display: flex;
  gap: 8px;
  min-width: 0;
}

.vx-phone .vx-select {
  flex: none;
  width: 128px;
}

.vx-phone .vx-select-trigger {
  padding: 0 10px;
  gap: 6px;
}

.vx-phone .vx-select-trigger img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex: none;
}

.vx-phone .vx-menu {
  min-width: 320px;
}

.vx-phone input {
  flex: 1 1 auto;
}

.vx-quote-bar .vx-submit {
  height: 58px;
  padding: 0 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
}

.vx-quote-bar .vx-submit:hover {
  transform: translateY(-1px);
  background: #0a84ff;
  border-color: rgba(10, 132, 255, 0.9);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.6), 0 0 18px rgba(10, 132, 255, 0.65),
    0 0 42px rgba(10, 132, 255, 0.45);
}

.vx-quote-bar .vx-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

.vx-quote-note {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.vx-quote-note.vx-error {
  color: #ffb4b4;
}

.vx-quote-close {
  position: absolute;
  top: -57px;
  left: 50%;
  width: 41px;
  height: 41px;
  margin-left: -20.5px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s,
    background-color 0.22s ease;
  z-index: 10;
  background-color: #000;
  backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.vx-quote-bar:hover .vx-quote-close,
.vx-quote-bar:focus-within .vx-quote-close {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.vx-quote-close:hover {
  background-color: #1a1a1a;
}




/* ---------- whatsapp nav link ---------- */
.vx-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.vx-wa-link svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.vx-wa-link:hover {
  opacity: 0.75;
}

@media (max-width: 991px) {
  .vx-quote-inner {
    grid-template-columns: 1fr 1fr;
  }
  .vx-quote-inner > .vx-select,
  .vx-quote-bar .vx-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .vx-quote-bar {
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 14px 12px;
    border-radius: 10px;
  }
  .vx-quote-inner {
    grid-template-columns: 1fr;
    padding-right: 0;
  }
  .vx-quote-bar .vx-field,
  .vx-select-trigger,
  .vx-quote-bar .vx-submit {
    height: 52px;
    font-size: 16px;
  }
  .vx-menu {
    min-width: 0;
  }
  .vx-phone .vx-select {
    width: 112px;
  }
}

/* ---------- mobile collapsed CTA ---------- */
.vx-mobile-cta {
  display: none;
  width: 100%;
  height: 54px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0b;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

@media (max-width: 767px) {
  .vx-quote-bar.vx-collapsed .vx-mobile-cta {
    display: block;
  }
  .vx-quote-bar.vx-collapsed .vx-quote-form {
    display: none;
  }
  .vx-quote-bar.vx-collapsed .vx-quote-close {
    display: none;
  }
  .vx-quote-close {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}


.vx-mobile-cta {
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.vx-mobile-cta:hover,
.vx-mobile-cta:active {
  background: #0a84ff;
  color: #fff;
  box-shadow: 0 0 18px rgba(10, 132, 255, 0.65);
}
