/* Hecho y Contado — estilos de componentes. Solo usa tokens de tokens.css. */

.hc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border: 0; border-radius: var(--radius-pill);
  font-family: var(--font-sans); font-size: 17px; line-height: 22px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
}
.hc-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hc-btn:active { transform: scale(0.98); }
.hc-btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.hc-btn--primary { background: var(--accent); color: var(--on-accent); }
.hc-btn--primary:hover:not([disabled]) { background: var(--accent-hover); }
.hc-btn--secondary { background: var(--surface-200); color: var(--ink); }
.hc-btn--secondary:hover:not([disabled]) { background: var(--accent-soft); }
.hc-btn--link { background: transparent; color: var(--accent); padding-left: var(--space-2); padding-right: var(--space-2); text-decoration: underline; text-underline-offset: 3px; }
.hc-btn--link:hover:not([disabled]) { color: var(--accent-hover); }

.hc-tag {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 4px 10px; border-radius: var(--radius-sm);
  background: var(--surface-200); color: var(--ink-muted);
  font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.hc-tag--accent { background: var(--accent-soft); color: var(--accent); }

.hc-product {
  display: flex; flex-direction: column; gap: var(--space-4);
  background: var(--surface-300); color: var(--ink);
  border-radius: var(--radius-xl); padding: var(--space-6);
  box-shadow: var(--shadow-md); font-family: var(--font-sans); max-width: 360px;
}
.hc-product__title { font-family: var(--font-display); font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -0.005em; margin: 0; }
.hc-product__text { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin: 0; }
.hc-product__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); font-size: 15px; line-height: 22px; }
.hc-product__list li { display: flex; gap: var(--space-2); }
.hc-product__list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: var(--radius-pill); background: var(--accent); }
.hc-product__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-2); }
.hc-product__price { font-size: 32px; line-height: 36px; font-weight: 700; letter-spacing: -0.01em; }
.hc-product__price small { display: block; font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }

.hc-field { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-sans); color: var(--ink); }
.hc-field__label { font-size: 15px; line-height: 20px; font-weight: 700; }
.hc-field__input {
  font-family: inherit; font-size: 17px; line-height: 24px; color: var(--ink);
  background: var(--surface-300); border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); transition: border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.hc-field__input::placeholder { color: var(--ink-muted); }
.hc-field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hc-field__help { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.hc-field--error .hc-field__input { border-color: var(--danger); }
.hc-field--error .hc-field__help { color: var(--danger); }
