*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 var(--text-body)/1.6 var(--font-ui); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1; }
a { color: var(--gold-hover); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-size);
  padding: .625rem 1.125rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--white);
  font: 600 1rem/1.25 var(--font-ui);
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--gold-hover); }
.button--secondary { color: var(--gold-hover); background: transparent; }
.button--secondary:hover { background: var(--yellow-surface); }
.button:disabled { color: var(--muted); background: var(--line); border-color: var(--line); cursor: default; }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; }
.field input {
  width: 100%;
  min-height: var(--control-size);
  padding: .625rem .75rem;
  border: 1px solid var(--control-line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field small { color: var(--muted); }
.field input[aria-invalid="true"] + small { color: var(--error); }
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 1rem; background: var(--success-surface); color: var(--success-ink); font-size: var(--text-small); }
.notice { padding: var(--space-4); border-left: .2rem solid var(--yellow); background: var(--yellow-surface); }
.notice--error { border-color: var(--error); background: var(--error-surface); color: var(--error); }
.product { display: grid; gap: var(--space-3); padding: var(--space-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.product h3, .product p { margin: 0; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
