.coffee-open,
.home-founder-coffee {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 8px;
  background: var(--mint, var(--accent-soft));
  color: var(--forest-ink, var(--accent-ink));
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.coffee-open:hover,
.home-founder-coffee:hover {
  border-color: var(--forest-ink, var(--accent-ink));
  background: var(--surface-hover);
}

.coffee-open:focus-visible,
.home-founder-coffee:focus-visible {
  outline: 2px solid var(--forest-ink, var(--accent-ink));
  outline-offset: 4px;
}

.coffee-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink, var(--text));
  box-shadow: 0 16px 60px rgb(0 0 0 / 20%);
}

.coffee-dialog::backdrop {
  background: rgb(0 0 0 / 45%);
}

.coffee-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coffee-dialog-heading h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
}

.coffee-dialog-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink, var(--text));
  font: inherit;
  font-size: 28px;
  cursor: pointer;
}

.coffee-dialog-close:hover {
  background: var(--surface-hover);
}

.coffee-dialog p {
  color: var(--ink-secondary, var(--muted));
}

.coffee-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 16px;
}

.coffee-amount {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid var(--line-strong, var(--line));
  border-radius: 8px;
  background: var(--mint, var(--accent-soft));
  color: var(--forest-ink, var(--accent-ink));
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.coffee-amount:hover {
  border-color: var(--forest-ink, var(--accent-ink));
  background: var(--surface-hover);
}

.coffee-other {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  color: var(--forest-ink, var(--accent-ink));
  text-underline-offset: 3px;
}

.coffee-dialog a:focus-visible,
.coffee-dialog button:focus-visible {
  outline: 2px solid var(--forest-ink, var(--accent-ink));
  outline-offset: 3px;
}

.coffee-dialog .coffee-checkout-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

