.ov-float-trigger {
  position: fixed;
  right: 86px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 95;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(197, 234, 66, 0.55);
  border-radius: 999px;
  background: var(--lime, #c5ea42);
  color: #11180c;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  font-family: var(--display, sans-serif);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.ov-float-trigger:hover,
.ov-float-trigger:focus-visible {
  transform: translateY(-2px);
  background: var(--lime-2, #d7f45c);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.ov-float-trigger:focus-visible,
.ov-float-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.ov-float-trigger[aria-expanded="true"] {
  background: #f2f6e8;
}

.ov-float-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1a3a14;
  box-shadow: 0 0 0 4px rgba(26, 58, 20, 0.12);
}

.ov-float-card[hidden] {
  display: none !important;
}

.ov-float-card {
  position: fixed;
  right: 18px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 96;
  width: min(400px, calc(100vw - 36px));
  max-height: calc(100svh - 118px);
  max-height: calc(100dvh - 118px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border: 1px solid rgba(197, 234, 66, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(197, 234, 66, 0.1), transparent 38%),
    rgba(10, 13, 10, 0.98);
  color: var(--text, #f4f6f0);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-origin: bottom right;
}

.ov-float-card.is-open {
  animation: ov-float-in 200ms ease both;
}

.ov-float-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.ov-float-eyebrow {
  margin: 0 0 5px;
  color: var(--lime, #c5ea42);
  font-family: var(--display, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ov-float-title {
  margin: 0;
  font-family: var(--display, sans-serif);
  font-size: 27px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.ov-float-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(197, 234, 66, 0.24);
  border-radius: 50%;
  background: transparent;
  color: var(--text, #f4f6f0);
  font-size: 25px;
  line-height: 1;
}

.ov-float-close:hover {
  border-color: var(--lime, #c5ea42);
  color: var(--lime, #c5ea42);
}

.ov-float-copy {
  margin: 8px 0 16px;
  color: var(--muted, #9aa394);
  font-size: 13px;
  line-height: 1.55;
}

.ov-float-fields {
  margin-top: 0;
}

.ov-float-fields textarea {
  min-height: 76px;
}

.ov-float-fields .btn {
  min-height: 48px;
}

.ov-float-note {
  margin: 10px 0 0;
  color: var(--muted-2, #6e7468);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.menu-open .ov-float-trigger,
.menu-open .ov-float-card,
.menu-open .wa-float {
  opacity: 0;
  pointer-events: none;
}

@keyframes ov-float-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 640px) {
  .ov-float-trigger {
    right: 80px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 56px;
    padding: 0 17px;
    font-size: 12px;
  }

  .ov-float-card {
    right: 12px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    max-height: calc(100svh - 100px);
    max-height: calc(100dvh - 100px);
    padding: 19px;
    border-radius: 16px;
  }

  .ov-float-card .row2 {
    grid-template-columns: 1fr;
  }

  .wa-float {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ov-float-trigger,
  .ov-float-card {
    animation: none !important;
    transition: none !important;
  }
}
