/* Eaziphone Device Finder popup, launcher and floating trigger — v1.2.0 */

.eazi-df-launcher,
.eazi-df-launcher *,
.eazi-df-popup,
.eazi-df-popup *,
.eazi-df-floating,
.eazi-df-floating * {
  box-sizing: border-box;
}

.eazi-df-launcher {
  --edf-accent: #007aff;
  --edf-accent-2: #00d9ff;
  --edf-text: #111318;
  --edf-muted: #656a73;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, .75fr);
  align-items: center;
  min-height: 330px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid #e4e8ee;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 217, 255, .18), transparent 28%),
    radial-gradient(circle at 63% 100%, rgba(0, 122, 255, .13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 62%, #eef8ff 100%);
  color: var(--edf-text);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
  font-family: inherit;
}

.eazi-df-launcher::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(0, 122, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
  opacity: .45;
}

.eazi-df-launcher__copy,
.eazi-df-launcher__visual {
  position: relative;
  z-index: 1;
}

.eazi-df-launcher__copy {
  max-width: 720px;
}

.eazi-df-launcher__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0866cb;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eazi-df-launcher h2 {
  max-width: 760px;
  margin: 0;
  color: var(--edf-text);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.eazi-df-launcher p {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--edf-muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
}

.eazi-df-launcher__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.eazi-df-launcher__primary,
.eazi-df-launch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #007aff, #0065d9);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 122, 255, .25);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.eazi-df-launcher__primary svg {
  width: 19px;
  height: 19px;
  transition: transform .2s ease;
}

.eazi-df-launcher__primary:hover,
.eazi-df-launch-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 17px 38px rgba(0, 122, 255, .3);
}

.eazi-df-launcher__primary:hover svg {
  transform: translateX(3px);
}

.eazi-df-launcher__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid #ccd2dc;
  border-radius: 14px;
  background: rgba(255, 255, 255, .8);
  color: #20232a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}

.eazi-df-launcher__secondary:hover {
  border-color: #99c8ff;
  background: #fff;
  color: #0b5db4;
}

.eazi-df-launcher__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
}

.eazi-df-launcher__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555b65;
  font-size: 11px;
  font-weight: 750;
}

.eazi-df-launcher__trust i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #eaf4ff;
  color: #007aff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.eazi-df-launcher__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.eazi-df-launcher__phone {
  position: relative;
  width: 158px;
  height: 238px;
  padding: 12px;
  border: 5px solid #101318;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 55px rgba(18, 27, 43, .2);
  transform: rotate(5deg);
}

.eazi-df-launcher__phone > span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 54px;
  height: 13px;
  border-radius: 0 0 10px 10px;
  background: #101318;
  transform: translateX(-50%);
}

.eazi-df-launcher__phone > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  border-radius: 19px;
  background: linear-gradient(155deg, #eef7ff, #fff 58%, #e9f9ff);
}

.eazi-df-launcher__phone i {
  display: block;
  width: 68px;
  height: 10px;
  margin: 4px;
  border-radius: 999px;
  background: #dfeeff;
}

.eazi-df-launcher__phone i:nth-child(2) { width: 92px; }
.eazi-df-launcher__phone i:nth-child(3) { width: 52px; margin-bottom: 17px; }

.eazi-df-launcher__phone strong,
.eazi-df-launcher__phone small {
  display: block;
  text-align: center;
}

.eazi-df-launcher__phone strong {
  color: #111318;
  font-size: 13px;
  font-weight: 900;
}

.eazi-df-launcher__phone small {
  margin-top: 4px;
  color: #167144;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.eazi-df-launcher__bubble {
  position: absolute;
  min-width: 78px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #1b1f27;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.eazi-df-launcher__bubble--one { top: 16%; left: 3%; }
.eazi-df-launcher__bubble--two { top: 45%; right: 1%; }
.eazi-df-launcher__bubble--three { bottom: 12%; left: 1%; }

.eazi-df-launch-button {
  min-height: 48px;
}

.eazi-df-launch-button span[aria-hidden="true"] {
  font-size: 18px;
}

/* Global popup */
.eazi-df-popup {
  --edf-accent: #007aff;
  --edf-accent-2: #00d9ff;
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.eazi-df-popup.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.eazi-df-popup__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(6, 10, 16, .7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.eazi-df-popup__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1180px, 100%);
  max-height: min(92vh, 920px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 35px 120px rgba(0, 0, 0, .38);
  outline: 0;
  transform: translateY(14px) scale(.985);
  transition: transform .22s ease;
}

.eazi-df-popup.is-open .eazi-df-popup__dialog {
  transform: translateY(0) scale(1);
}

.eazi-df-popup__topbar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 16px 10px 20px;
  border-bottom: 1px solid #e8ebef;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.eazi-df-popup__topbar > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.eazi-df-popup__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #007aff, #00d9ff);
  color: #fff;
  flex: 0 0 40px;
}

.eazi-df-popup__mark svg {
  width: 24px;
  height: 24px;
}

.eazi-df-popup__topbar p {
  min-width: 0;
  margin: 0;
}

.eazi-df-popup__topbar strong,
.eazi-df-popup__topbar small {
  display: block;
}

.eazi-df-popup__topbar strong {
  color: #111318;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.015em;
}

.eazi-df-popup__topbar small {
  margin-top: 2px;
  color: #6a6e77;
  font-size: 10px;
  font-weight: 700;
}

.eazi-df-popup__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f5;
  color: #252931;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.eazi-df-popup__close:hover {
  background: #e3e7ec;
  transform: rotate(4deg);
}

.eazi-df-popup__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.eazi-df-popup .eazi-df__shell {
  width: 100%;
  max-width: none;
  padding: 26px 28px 38px;
}

.eazi-df-popup .eazi-df__header {
  max-width: 720px;
  margin-bottom: 16px;
}

.eazi-df-popup .eazi-df__header h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.eazi-df-popup .eazi-df__header p {
  margin-top: 8px;
  font-size: 14px;
}

.eazi-df-popup .eazi-df__search--sales,
.eazi-df-popup .eazi-df__quick-finder {
  max-width: none;
}

.eazi-df-popup:not(.is-results) .eazi-df__results,
.eazi-df-popup:not(.is-results) .eazi-df__applied,
.eazi-df-popup:not(.is-results) .eazi-df__finder-summary {
  display: none !important;
}

.eazi-df-popup.is-results .eazi-df__header,
.eazi-df-popup.is-results [data-finder-panel] {
  display: none !important;
}

.eazi-df-popup.is-results .eazi-df__finder-summary {
  display: flex !important;
  margin-top: 0;
}

.eazi-df-popup.is-results .eazi-df__results {
  padding-top: 22px;
}

.eazi-df-popup.is-results .eazi-df__search--sales {
  margin-bottom: 12px;
}

.eazi-df-popup .eazi-df__mobile-drawer,
.eazi-df-popup .eazi-df__compare-modal {
  z-index: 1000002;
}

body.eazi-df-popup-open {
  overflow: hidden !important;
  padding-right: var(--eazi-df-scrollbar-compensation, 0px);
}

/* Floating right-side trigger */
.eazi-df-floating {
  position: fixed;
  top: 54%;
  right: 0;
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  max-width: 170px;
  padding: 9px 13px 9px 10px;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: #101318;
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .25);
  font: inherit;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.eazi-df-floating:hover {
  background: linear-gradient(135deg, #007aff, #0064d7);
  color: #fff;
  transform: translateY(-50%) translateX(-4px);
  box-shadow: 0 18px 44px rgba(0, 122, 255, .27);
}

.eazi-df-floating__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #007aff, #00d9ff);
  color: #fff;
  flex: 0 0 34px;
}

.eazi-df-floating__icon svg {
  width: 22px;
  height: 22px;
}

.eazi-df-floating__label {
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  text-align: left;
}

body.eazi-df-popup-open .eazi-df-floating {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .eazi-df-launcher {
    grid-template-columns: 1fr;
  }

  .eazi-df-launcher__visual {
    display: none;
  }
}

@media (max-width: 767px) {
  .eazi-df-launcher {
    min-height: 0;
    padding: 26px 20px;
    border-radius: 22px;
  }

  .eazi-df-launcher::before {
    mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
  }

  .eazi-df-launcher__eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .eazi-df-launcher h2 {
    font-size: 31px;
    line-height: 1.03;
  }

  .eazi-df-launcher p {
    margin-top: 11px;
    font-size: 13px;
    line-height: 1.5;
  }

  .eazi-df-launcher__actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .eazi-df-launcher__primary,
  .eazi-df-launcher__secondary {
    width: 100%;
    min-height: 48px;
  }

  .eazi-df-launcher__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 8px;
    margin-top: 18px;
  }

  .eazi-df-launcher__trust span {
    align-items: flex-start;
    font-size: 9px;
    line-height: 1.3;
  }

  .eazi-df-popup {
    align-items: stretch;
    padding: 0;
  }

  .eazi-df-popup__dialog {
    width: 100%;
    max-height: none;
    height: 100%;
    border: 0;
    border-radius: 0;
    transform: translateY(18px);
  }

  .eazi-df-popup__topbar {
    min-height: 62px;
    padding: 8px 10px 8px 13px;
  }

  .eazi-df-popup__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-basis: 36px;
  }

  .eazi-df-popup__topbar strong {
    font-size: 13px;
  }

  .eazi-df-popup__topbar small {
    font-size: 8px;
  }

  .eazi-df-popup__close {
    width: 39px;
    height: 39px;
  }

  .eazi-df-popup .eazi-df__shell {
    padding: 18px 10px calc(30px + env(safe-area-inset-bottom));
  }

  .eazi-df-popup .eazi-df__header {
    padding: 0 2px;
    margin-bottom: 12px;
  }

  .eazi-df-popup .eazi-df__header h2 {
    max-width: 310px;
    font-size: 28px;
  }

  .eazi-df-popup .eazi-df__header p {
    font-size: 11px;
  }

  .eazi-df-popup.is-results .eazi-df__results {
    padding-top: 17px;
  }

  .eazi-df-floating {
    top: auto;
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    min-height: 48px;
    max-width: 155px;
    padding: 7px 12px 7px 8px;
    border-radius: 999px;
    transform: none;
  }

  .eazi-df-floating:hover {
    transform: translateY(-2px);
  }

  .eazi-df-floating__icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 50%;
  }

  .eazi-df-floating__label {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eazi-df-popup,
  .eazi-df-popup__dialog,
  .eazi-df-floating,
  .eazi-df-launcher__primary,
  .eazi-df-launcher__primary svg {
    transition: none !important;
  }
}


/* =========================================================
   v1.2.2 — remove floating button + force true mobile full-screen popup
   ========================================================= */
.eazi-df-floating,
button.eazi-df-floating,
.eazi-df-floating__ring,
.eazi-df-floating__icon,
.eazi-df-floating__label {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.eazi-df-popup-open,
body.eazi-df-popup-open {
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
}

body.eazi-df-popup-open {
  padding-right: var(--eazi-df-scrollbar-compensation, 0px) !important;
}

.eazi-df-popup,
body .eazi-df-popup,
html body .eazi-df-popup#eazi-device-finder-popup {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

.eazi-df-popup.is-open,
body .eazi-df-popup.is-open,
html body .eazi-df-popup#eazi-device-finder-popup.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.eazi-df-popup__backdrop,
.eazi-df-popup.is-open .eazi-df-popup__backdrop {
  display: none !important;
}

.eazi-df-popup__dialog,
body .eazi-df-popup .eazi-df-popup__dialog,
html body .eazi-df-popup#eazi-device-finder-popup .eazi-df-popup__dialog {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: none !important;
}

.eazi-df-popup.is-open .eazi-df-popup__dialog {
  transform: none !important;
}

.eazi-df-popup__topbar {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 62px !important;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px 14px !important;
  border-bottom: 1px solid #e8ebef !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
}

.eazi-df-popup__topbar > div {
  min-width: 0 !important;
}

.eazi-df-popup__topbar p {
  min-width: 0 !important;
}

.eazi-df-popup__topbar strong {
  font-size: 16px !important;
  line-height: 1.1 !important;
}

.eazi-df-popup__topbar small {
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.eazi-df-popup__close {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
}

.eazi-df-popup__body,
body .eazi-df-popup .eazi-df-popup__body {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

.eazi-df-popup .eazi-df,
.eazi-df-popup .eazi-df__shell,
.eazi-df-popup .eazi-df__header,
.eazi-df-popup .eazi-df__panel,
.eazi-df-popup .eazi-df__quick-finder,
.eazi-df-popup .eazi-df__results,
.eazi-df-popup [data-finder-panel] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.eazi-df-popup .eazi-df__shell {
  padding: 18px 14px calc(28px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 767px) {
  .eazi-df-popup .eazi-df__header h2 {
    max-width: none !important;
    font-size: 42px !important;
    line-height: .96 !important;
  }

  .eazi-df-popup .eazi-df__header p {
    max-width: none !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }

  .eazi-df-popup .eazi-df__choice-grid,
  .eazi-df-popup .eazi-df__choice-grid--brand,
  .eazi-df-popup .eazi-df__priority-grid,
  .eazi-df-popup .eazi-df__budget-presets {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .eazi-df-popup .eazi-df__priority-grid,
  .eazi-df-popup .eazi-df__budget-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .eazi-df-popup .eazi-df__choice-grid > *,
  .eazi-df-popup .eazi-df__priority-grid > *,
  .eazi-df-popup .eazi-df__budget-presets > * {
    min-width: 0 !important;
    white-space: normal !important;
  }
}


/* v1.2.6 — single title and stronger full-screen drawer/popup safety */
.eazi-df-popup .eazi-df__header{display:none!important;}
.eazi-df-popup .eazi-df__mobile-drawer{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:1000002!important;background:#fff!important;overflow:hidden!important;}
.eazi-df-popup .eazi-df__drawer-panel{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border-radius:0!important;transform:none!important;background:#fff!important;}
