:root {
  color-scheme: light;
  --paper: #f6f7f1;
  --white: #fff;
  --ink: #202a23;
  --muted: #536058;
  --line: #dce2d7;
  --green: #193d2b;
  --green-soft: #e1ebde;
  --wrap: min(1220px, calc(100% - 64px));
  font-family: "DM Sans", system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 5.7vw, 5.5rem); text-wrap: balance; }
h2 { font-size: clamp(2.15rem, 4vw, 3.65rem); }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #527d60; outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: 10px; left: 10px; transform: translateY(-160%); background: var(--white); padding: 10px 14px; }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; min-height: 69px; }
.brand { display: inline-flex; align-items: center; gap: .2em; width: fit-content; color: var(--ink); font-size: 1.1rem; font-weight: 650; text-decoration: none; white-space: nowrap; letter-spacing: -.04em; }
.brand b { font-weight: 800; }
.brand img { margin-right: .35em; }
.navigation { display: flex; gap: clamp(16px, 3vw, 40px); font-size: .9rem; font-weight: 650; }
.navigation a { text-decoration: none; }
.navigation a:hover, .navigation a[aria-current] { text-decoration: underline; }
.dropdown { position: relative; }
.dropdown summary { display: flex; align-items: center; gap: 9px; list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ''; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; width: 7px; height: 7px; margin-inline: 3px; transform: rotate(45deg) translateY(-2px); }
.dropdown[open] summary::after { transform: rotate(225deg); }
.dropdown ul { position: absolute; z-index: 5; top: calc(100% + 8px); min-width: 100%; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); box-shadow: 0 12px 30px #202a2322; }
.dropdown li a { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 10px; text-decoration: none; border-radius: 6px; }
.dropdown li a:hover, .dropdown li a[aria-current] { background: var(--green-soft); }
.market-menu { justify-self: end; font-size: .88rem; }
.market-menu summary { min-height: 42px; }
.market-menu ul { right: 0; width: min(240px, 85vw); }
.market-menu strong { color: var(--green); font-size: .78rem; letter-spacing: .035em; }
.hero { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: 40px 38px; }
.hero-copy > p { margin: 20px 0 25px; max-width: 40ch; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.hero-photo { width: 100%; height: 100%; max-height: 490px; min-height: 350px; object-fit: cover; object-position: 63% center; border-radius: 18px; background: #969d81; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.button, .category-menu summary { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 15px; border: 1px solid #bfc9bc; border-radius: 7px; color: var(--green); background: var(--white); font-weight: 700; font-size: .91rem; line-height: 1.3; text-decoration: none; }
.button:hover, .category-menu summary:hover { background: var(--green-soft); }
.button.primary { background: var(--green); color: #fff; border-color: var(--green); }
.button.primary:hover { background: #28513a; }
.category-menu ul { width: max-content; max-width: min(300px, calc(100vw - 40px)); max-height: min(58vh, 500px); max-height: min(58dvh, 500px); overflow: auto; font-size: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding-block: 8px; font-weight: 700; color: var(--green); }
.hero .text-link { margin-top: 12px; }
.section { padding-block: 45px; }
.section-head { margin-bottom: 20px; }
.section-head p { margin-top: 8px; max-width: 72ch; }
.categories { padding-top: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.category-grid a { display: flex; height: 100%; justify-content: space-between; gap: 10px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcf8; text-decoration: none; }
.category-grid a:hover { background: var(--green-soft); border-color: #a8bca8; }
.category-grid strong, .category-grid small { display: block; }
.category-grid a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.category-grid small { font-size: .83rem; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.category-grid a > span:last-child { font-size: .86rem; color: var(--green); }
.catalog-band { border-block: 1px solid var(--line); background: #eef1ea; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.filters label, .conversion label { display: grid; gap: 5px; color: var(--ink); font-size: .87rem; font-weight: 700; }
input, select { width: 100%; min-width: 0; min-height: 45px; padding: 9px 10px; border: 1px solid #aebbad; border-radius: 7px; background: var(--white); color: var(--ink); }
.result-count { margin-block: 12px 14px; font-size: .88rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.product-image { overflow: hidden; border-radius: 10px 10px 0 0; display: block; background: #e8ebe3; }
.product-image img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 14px; }
.product-category { font-size: .75rem; color: #43614d; font-weight: 750; }
.product h3 { font-size: 1.04rem; line-height: 1.32; margin: 4px 0 11px; overflow-wrap: anywhere; }
.product h3 a { text-decoration: none; }
.product h3 a:hover { text-decoration: underline; }
.prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.prices strong { color: var(--green); }
.prices span, .product-date, .product-check { font-size: .82rem; }
.product-date { margin-top: 4px; }
.product-check { margin: 8px 0 13px; }
.product-actions { margin-top: auto; display: flex; gap: 7px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.product-actions a, .compare-button { font-size: .79rem; font-weight: 700; color: var(--green); }
.product-actions a { padding-block: 7px; }
.compare-button { min-height: 34px; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); }
.compare-button:hover, .compare-button[aria-pressed="true"] { background: var(--green-soft); border-color: #9db19d; }
.compare-button:disabled { opacity: .55; cursor: default; }
.comparison { padding: 16px; background: #e2eddf; border: 1px solid #c5d4c2; border-radius: 9px; margin-bottom: 14px; }
.compare-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr)); gap: 8px; }
.compare-list:not(:empty) { margin-top: 10px; }
.compare-list li { padding: 10px; border-radius: 7px; background: var(--white); }
.compare-list li > a { display: block; font-weight: 750; margin-bottom: 5px; }
.compare-list button { margin-top: 8px; }
.compare-jump { position: fixed; right: 16px; bottom: 16px; z-index: 4; box-shadow: 0 6px 20px #172e2352; }
.empty { padding: 24px; background: var(--white); border-radius: 8px; }
.empty button { margin-top: 10px; }
.rate { font-size: .86rem; margin: 15px 0 20px; }
.guide-teaser { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(25px, 5vw, 65px); align-items: center; }
.guide-teaser img { width: 100%; height: auto; max-height: 290px; object-fit: cover; border-radius: 12px; }
.guide-teaser p { margin-top: 13px; max-width: 54ch; }
.guide-teaser a { margin-top: 10px; }
.faq { display: grid; grid-template-columns: 1fr 2fr; column-gap: 35px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 13px 0; font-weight: 700; }
.faq details p { padding: 0 3px 15px; }
.site-footer { padding: 28px 0 36px; background: #e5ebe0; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.footer-inner p { margin-top: 8px; font-size: .87rem; max-width: 65ch; }
.footer-link { font-weight: 700; }
.guide-page { max-width: 850px; padding-block: 40px 60px; }
.guide-heading { margin: 12px 0 26px; }
.guide-heading p { margin-top: 12px; max-width: 68ch; }
.guide-page figure img { width: 100%; height: auto; border-radius: 14px; }
figcaption { color: var(--muted); font-size: .83rem; margin-top: 5px; }
.guide-steps { padding-inline-start: 26px; margin-block: 30px; }
.guide-steps li + li { margin-top: 20px; }
.guide-steps li::marker { font-weight: 750; color: var(--green); }
.guide-steps h2, .converter h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); margin-bottom: 7px; }
.converter { padding: 22px; background: var(--green-soft); border-radius: 10px; }
.conversion { display: flex; gap: 10px; align-items: end; margin-top: 13px; }
.conversion span { padding-bottom: 9px; }

@media (max-width: 1000px) {
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --wrap: calc(100% - 34px); }
  .topbar { grid-template-columns: 1fr 1fr; gap: 0 10px; padding-top: 9px; }
  .navigation { grid-area: 2 / 1 / 3 / 3; overflow-x: auto; gap: 18px; min-height: 38px; align-items: center; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
  .hero-copy > p { margin-block: 12px 16px; }
  .hero-actions { position: relative; }
  .category-menu { position: static; }
  .category-menu ul { left: 0; }
  .hero-photo { min-height: 0; height: auto; aspect-ratio: 1.6; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-block: 31px; }
  .categories { padding-top: 10px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters label:first-child { grid-column: 1 / -1; }
  .guide-teaser, .faq { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 400px) {
  .market-label { display: none; }
  .product-grid { gap: 8px; }
  .category-grid a, .product-info { padding: 9px; }
  .product-actions { align-items: start; flex-direction: column; }
  .footer-inner { flex-direction: column; }
}
