:root {
  --ink: #0f1e2e;
  --text: #334155;
  --muted: #556070;
  --accent: #a8431a;
  --line: #e5e7eb;
  --paper: #fff;
  --background: #f5f6f9;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 16px/1.6 "Onest", system-ui, sans-serif;
}
a { color: var(--accent); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.container { width: min(1120px, 100%); margin-inline: auto; padding-inline: 24px; }
header, footer { background: var(--paper); }
header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 72px;
}
.header-row a { font-weight: 700; text-decoration: none; }
.brand { color: var(--ink); font-size: 20px; }
main { padding-block: 28px 56px; }
.back { display: inline-block; margin-bottom: 18px; }
.variety {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.variety figure { margin: 0 auto; width: min(100%, 290px); }
.variety img { display: block; width: 100%; height: auto; border-radius: 12px; }
figcaption { margin-top: 6px; color: var(--muted); font-size: 14px; }
.kind { margin: 0 0 4px; color: var(--accent); font-weight: 700; }
h1, h2 { margin: 0; color: var(--ink); line-height: 1.15; }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -.035em; }
h2 { font-size: clamp(23px, 3vw, 30px); letter-spacing: -.025em; }
.lead { font-size: clamp(16px, 2vw, 20px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
dt { color: var(--muted); font-size: 14px; }
dd { margin: 0; color: var(--ink); font-weight: 700; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.button {
  display: inline-block;
  padding: 11px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #873313; }
.button:focus-visible { outline-color: var(--ink); }
.content { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-top: 20px; }
.panel {
  min-width: 0;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.panel p:last-child { margin-bottom: 0; }
.panel + .panel { margin-top: 16px; }
.specs { display: grid; gap: 10px; margin: 16px 0 0; }
.specs div { border-top: 1px solid var(--line); padding-top: 10px; }
table { width: 100%; margin-top: 12px; border-collapse: collapse; }
th, td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; }
th[scope="row"] { font-weight: 500; }
table tr > :last-child { text-align: right; }
.note { color: var(--muted); font-size: 14px; }
.related { margin: 24px 0 0; }
footer { border-top: 1px solid var(--line); }
.footer-row { padding-block: 12px; font-size: 14px; }

@media (max-width: 700px) {
  .container { padding-inline: 16px; }
  .variety, .content { grid-template-columns: 1fr; }
  .variety figure { width: min(100%, 250px); }
}
