.price-fab {
  position: fixed;
  left: 22px;
  bottom: 22px;
  min-width: var(--fab-size);
  height: var(--fab-size);
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--butterfly);
  color: #fff;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 60;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
  font-family: var(--font-body);
}

.price-fab .currency { opacity: .9; font-weight: 700; font-size: var(--fs-small) }
.price-fab .freq { opacity: .9; font-weight: 700; font-size: var(--fs-small) }

.price-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(92, 81, 162, .28);
  background: #6a60b8
}

.price-fab:focus-visible {
  outline: 3px solid rgba(92, 81, 162, .65);
  outline-offset: 2px
}

.price-popover {
  position: fixed;
  left: 22px;
  bottom: 86px;
  width: min(360px, calc(100vw - 32px));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .94)),
    radial-gradient(420px 220px at 95% -20%, rgba(255, 232, 48, .18), transparent 60%),
    radial-gradient(420px 220px at -10% -20%, rgba(92, 81, 162, .12), transparent 60%);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  box-shadow: var(--shadow-1);
  padding: 14px;
  color: var(--haiti);
  z-index: 60;
  transform-origin: 10% 100%;
  transform: scale(.98) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.price-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.price-popover__head .eyebrow {
  color: var(--butterfly);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: var(--fs-micro);
  font-family: var(--font-heading)
}

.price-popover__head h3 {
  margin: .15rem 0 .4rem;
  font-size: var(--fs-body-lg);
  font-family: var(--font-heading)
}

.price-lines { display: grid; gap: 10px; margin: 6px 0 10px; }
.price-lines .line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(92, 81, 162, .08), rgba(92, 81, 162, .05));
  border: 1px solid rgba(0, 0, 0, .08);
}
.price-lines .line strong { font-size: var(--fs-body-lg) }
.price-lines .line.sub {
  background: linear-gradient(180deg, rgba(20, 207, 188, .10), rgba(20, 207, 188, .06));
  border-color: rgba(20, 207, 188, .25);
  font-weight: 800;
}

.stack { display: flex; flex-direction: column; align-items: flex-end; gap: 2px }
.save { color: #0b3a35; opacity: .85; font-size: var(--fs-small) }

.btn.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--java);
  color: #062b26;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform .14s ease, box-shadow .2s ease, background .2s ease;
}

.btn.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 207, 188, .28);
  background: #19e3ce
}

@media (max-width: 720px) {
  .price-fab { left: 16px; bottom: 16px; }
  .price-popover { left: 16px; bottom: 78px; }
}

@media (prefers-reduced-motion: reduce){
  .price-fab, .price-popover { transition: none }
}
