/* Pricing CTAs use a self-contained component; dashboard.css is intentionally
   not loaded on this public page, so dashboard-only .customer-btn rules must
   not be relied upon here. */
.pricing-cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 9999px;
  font-family: Manrope, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(67, 39, 10, 0.08);
  transition: background-color 160ms ease, color 160ms ease,
    border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pricing-cta--full { width: 100%; }

.pricing-cta--primary {
  border-color: #5c3d1e;
  background: #5c3d1e;
  color: #fff;
}

.pricing-cta--secondary {
  border-color: #5c3d1e;
  background: transparent;
  color: #43270a;
}

.pricing-cta--compact {
  min-height: 44px;
  padding-inline: 20px;
  flex-shrink: 0;
}

.pricing-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(67, 39, 10, 0.16);
}

.pricing-cta--primary:hover {
  border-color: #43270a;
  background: #43270a;
}

.pricing-cta--secondary:hover {
  background: #5c3d1e;
  color: #fff;
}

.pricing-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(67, 39, 10, 0.12);
}

.pricing-cta:focus-visible {
  outline: 3px solid rgba(236, 190, 149, 0.8);
  outline-offset: 3px;
}

.pricing-admin-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 15px 18px;
  border: 1px solid #d7b98f;
  border-radius: 16px;
  background: #fff7ea;
  color: #5c3d1e;
  text-align: center;
  font-weight: 700;
}

.pricing-cta--disabled,
.pricing-cta--disabled:hover {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* High-contrast labels: these controls previously inherited very pale
   surface colors that were difficult to read against the pricing section. */
.pricing-duration-pill,
.pricing-plan-tag {
  border-color: #5c3d1e;
  font-weight: 700;
}

.pricing-duration-pill {
  background-color: #fff;
  color: #43270a;
}

.pricing-duration-pill:hover {
  background-color: #f3ebe3;
  color: #43270a;
}

.pricing-duration-pill.active-pill,
.pricing-duration-pill.active-pill:hover {
  border-color: #43270a;
  background-color: #43270a;
  color: #fff;
}

.pricing-plan-tag {
  background-color: #5c3d1e;
  color: #fff;
}

.pricing-ribbon {
  background-color: #43270a;
  color: #fff;
  font-weight: 700;
}

.pricing-ribbon--value {
  background-color: #5c3d1e;
}

@media (max-width: 640px) {
  .pricing-cta { min-height: 50px; padding-inline: 18px; }
  .pricing-cta--compact { width: 100%; }

  #grid-yoga .bg-surface-container-low {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #grid-yoga .bg-surface-container-low .pricing-cta {
    grid-column: 1 / -1;
  }
}

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