/* ==========================================================================
   INTACTO — sticky-cta.css
   Barra de CTA fija (móvil)
   ========================================================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background-color: var(--blanco-calido);
  border-top: 1px solid var(--crema-oscuro);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__stock {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--carbon);
}

.sticky-cta__stock-count {
  color: var(--cobre);
  font-weight: 700;
}

.sticky-cta__button {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blanco-calido);
  background-color: var(--cobre);
  padding: 16px;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.sticky-cta__button:hover,
.sticky-cta__button:focus-visible {
  background-color: var(--cobre-oscuro);
}

body {
  padding-bottom: 132px;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}
