/* =================================================================
   Widget: SMG Sticky CTA — fixed bottom bar, slides in on scroll
   ================================================================= */
.smg-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem clamp(12px, 4vw, 16px);
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--smg-graphite) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--smg-line-dark-2);
  transform: translateY(110%);
  transition: transform 0.45s var(--smg-ease-out);
}
.smg-sticky-cta.smg-show {
  transform: translateY(0);
}
/* "All devices" option shows the bar at every width. */
.smg-sticky-cta--always {
  display: flex;
}
.smg-sticky-cta__price {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--smg-on-dark);
}
.smg-sticky-cta__price small {
  font-family: var(--smg-ff-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smg-on-dark-soft);
}
.smg-sticky-cta__price strong {
  font-family: var(--smg-ff-mono);
  font-weight: 500;
  font-size: 1.2rem;
  color: #f9e0c2;
}
.smg-sticky-cta .smg-btn--primary {
  flex: 1;
}
.smg-sticky-cta__call {
  width: 50px;
  flex-shrink: 0;
  padding: 0;
}

@media (max-width: 880px) {
  .smg-sticky-cta {
    display: flex;
  }
}
@media (max-width: 400px) {
  .smg-sticky-cta {
    gap: 0.45rem;
    padding-inline: 10px;
  }
  .smg-sticky-cta .smg-btn--primary {
    padding-inline: 0.7em;
    font-size: 0.95rem;
  }
  .smg-sticky-cta__price strong {
    font-size: 1.05rem;
  }
  .smg-sticky-cta__call {
    width: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .smg-sticky-cta {
    transition: none;
  }
}
