:root {
  --page: #faf8f4;
  --card: #ffffff;
  --text: #171717;
  --text-secondary: #62605d;
  --accent: #f57c00;
  --action: #c24b00;
  --border: #e8e3da;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.wrap {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main.wrap {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

a {
  color: var(--action);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
}

h3 {
  font-size: 1.1rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 44rem;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.site-header__logo img {
  display: block;
  width: 180px;
  height: auto;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.75rem;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--action);
}

.intro {
  padding: 1.5rem 0 0.5rem;
}

.breadcrumb {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.breadcrumb a {
  display: inline-block;
  padding: 0.6rem 0;
}

.card-grid,
.stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.card {
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.card p {
  margin: 0.4rem 0 0;
}

.card--link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.5rem;
  color: var(--text);
  text-decoration: none;
}

.card--link:hover {
  border-color: var(--accent);
}

.card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.card__title a {
  color: var(--text);
  text-decoration: none;
}

.card__title a:hover {
  color: var(--action);
  text-decoration: underline;
}

.card__meta {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

address {
  font-style: normal;
  color: var(--text-secondary);
  margin: 0.25rem 0 1rem;
}

.notice {
  max-width: 44rem;
  border-left: 4px solid var(--accent);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.25rem;
  background: var(--action);
  color: #ffffff;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #a84000;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

blockquote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
}

.search {
  margin: 1.5rem 0;
  max-width: 44rem;
}

.search label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.search__row {
  display: flex;
  gap: 0.5rem;
}

.search input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid #8f8a82;
  border-radius: var(--radius);
}

.search input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

button.button {
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.product {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.product__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  max-width: 45%;
  text-align: right;
}

.product__amount {
  font-size: 1.15rem;
  font-weight: 700;
}
