:root {
  color-scheme: light dark;
  --page: #eceee9; --surface: #ffffff; --text: #0e1812; --muted: #434f48;
  --line: #aeb8b0; --soft-line: #d3d9d4; --brand: #0f3d2b; --on-brand: #ffffff;
  --btn: #0f3d2b; --on-btn: #ffffff;
  --bar: #1d7650; --link: #0b5a39; --notice: #ffe9a8; --notice-text: #3a2c00;
  --shadow: 0 1px 2px rgba(14, 24, 18, .08), 0 4px 14px rgba(14, 24, 18, .08);
  --shadow-hover: 0 2px 4px rgba(14, 24, 18, .10), 0 10px 26px rgba(14, 24, 18, .16);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #090d0a; --surface: #151b17; --text: #f5f8f4; --muted: #b9c4bc;
    --line: #44524a; --soft-line: #2b352f; --brand: #0f3d2b; --on-brand: #ffffff;
    --btn: #56c08e; --on-btn: #07140d;
    --bar: #56c08e; --link: #8be0b5; --notice: #4a3d12; --notice-text: #fff3cc;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .4);
    --shadow-hover: 0 2px 4px rgba(0, 0, 0, .6), 0 10px 26px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bar); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header { background: var(--brand); color: var(--on-brand); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
header a { color: var(--on-brand); text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.logo { flex: none; }
nav { display: flex; gap: 6px; }
nav a { padding: 6px 12px; border-radius: 99px; font-weight: 600; }
nav a:hover { background: rgba(255, 255, 255, .16); }
nav a[aria-current="page"] { background: var(--on-brand); color: var(--brand); }
main { padding-top: 28px; padding-bottom: 56px; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 12px 0; }
h1 { line-height: 1.15; margin: .3em 0 .5em; letter-spacing: -.02em; }
h2 { margin-top: 1.6em; letter-spacing: -.01em; }
.hero { background: var(--brand); color: var(--on-brand); border-radius: 16px; padding: 44px 32px;
  box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-top: 0; }
.hero p { max-width: 40em; font-size: 1.1rem; }
.button, button { display: inline-block; background: var(--btn); color: var(--on-btn); border: 2px solid var(--btn);
  border-radius: 8px; padding: 9px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { filter: brightness(1.15); }
.hero .button { background: var(--on-brand); color: var(--brand); border-color: var(--on-brand); }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--soft-line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--bar); }
.card img, .photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.card-body { padding: 14px 16px 16px; border-top: 1px solid var(--soft-line); }
.card h3 { margin: 4px 0; font-size: 1.1rem; line-height: 1.3; }
.meta { color: var(--muted); font-size: .9rem; margin: .4em 0; }
.price { font-weight: 800; font-size: 1.2rem; margin: 8px 0 0; }
.big { font-size: 1.8rem; }
.badge { font-size: .78rem; font-weight: 700; border: 1.5px solid var(--text); border-radius: 99px;
  padding: 2px 10px; margin-left: 8px; vertical-align: middle; }
.notice { background: var(--notice); color: var(--notice-text); border-radius: 8px; padding: 10px 14px; font-weight: 500; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: var(--surface);
  border: 1px solid var(--soft-line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.filters label { display: grid; gap: 4px; font-size: .9rem; font-weight: 600; }
.filters .check { display: flex; align-items: center; gap: 6px; padding-bottom: 9px; }
input[type="search"], select { font: inherit; padding: 8px 10px; border: 1.5px solid var(--line);
  border-radius: 8px; background: var(--surface); color: var(--text); }
.detail { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.photos { display: grid; gap: 12px; align-content: start; }
.photos img { border-radius: 14px; border: 1px solid var(--soft-line); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--soft-line); border-radius: 14px; padding: 16px;
  box-shadow: var(--shadow); border-top: 4px solid var(--bar); }
.stat span { display: block; color: var(--muted); font-size: .88rem; font-weight: 600; }
.stat strong { font-size: 1.8rem; letter-spacing: -.02em; }
.panel { background: var(--surface); border: 1px solid var(--soft-line); border-radius: 14px;
  padding: 4px 20px 18px; margin-top: 22px; box-shadow: var(--shadow); }
.panel h2 { margin-top: .8em; font-size: 1.15rem; }
.bars th[scope="row"] { font-weight: 500; width: 30%; }
.bars thead th { color: var(--muted); font-size: .85rem; }
.bars .num { text-align: right; width: 6.5em; font-variant-numeric: tabular-nums; font-weight: 600; }
.bars thead th:last-child { text-align: right; }
.bars svg { display: block; }
.bar { fill: var(--bar); }
