:root {
  color-scheme: light;
  --ink: #192019;
  --muted: #5f685f;
  --line: #e4e7de;
  --lime: #caf36c;
  --surface: #fff;
  --paper: #f8f9f5;
  --money: Bahnschrift, "DIN Alternate", "Aptos", sans-serif;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:enabled { cursor: pointer; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #5d8627; outline-offset: 3px; }
::selection { color: #172011; background: var(--lime); }

.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.icon-symbols { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 22px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand-ai { font-family: var(--money); margin-left: 4px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-content: center; border-radius: 10px; background: #20261f; overflow: hidden; position: relative; }
.brand-mark i { display: block; width: 8px; height: 18px; background: var(--lime); border-radius: 2px; position: absolute; top: 8px; left: 10px; transform: skewX(-24deg); }
.brand-mark i + i { height: 12px; top: 9px; left: 19px; background: #f1fbdc; }
.site-nav { display: flex; height: 100%; align-items: stretch; gap: 32px; }
.site-nav a { position: relative; display: grid; place-items: center; padding-inline: 3px; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current]::after { content: ""; position: absolute; bottom: -1px; left: 3px; right: 3px; height: 2px; background: #83a745; }
.header-tools { justify-self: end; }
.environment { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; padding: 7px 11px; border-radius: 6px; border: 1px solid #deebce; background: #f3f9e9; color: #3e5928; font-size: 12px; font-weight: 650; }
.environment i, .stock i { width: 6px; height: 6px; display: block; background: #76a537; border-radius: 50%; flex: none; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 0 15px; min-height: 42px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, translate .18s; }
.button .icon { width: 17px; height: 17px; }
.button:active:not(:disabled) { translate: 0 1px; }
.button-lime { background: var(--lime); color: #172112; }
.button-lime:hover { background: #d8fb91; }
.button-dark { color: #fff; background: #20271f; }
.button-dark:hover { background: #344331; }
.button-dark:disabled { background: #61705d; }
.button-outline { background: #fff; border-color: #dce4d4; }
.button-outline:hover { background: #eff5e7; }

.hero { margin-top: 28px; min-height: 310px; display: flex; align-items: center; isolation: isolate; position: relative; overflow: hidden; border-radius: 18px; color: #233528; background: #f3f2e8; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: #f3f2e8 url('/assets/hero.webp?v=light-glass') no-repeat right 54% / cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #f7f5ed9c, #f7f5ed38 44%, transparent 68%); pointer-events: none; }
.hero-content { padding: 36px 54px 39px; }
.hero h1 { font-size: clamp(43px, 5vw, 68px); font-weight: 800; letter-spacing: -.075em; line-height: 1.04; }
.hero h1 span { color: #335b3e; }
.hero p { margin: 17px 0 21px; color: #435747; font-size: 14px; line-height: 1.6; }
.hero .button { min-height: 43px; padding: 0 15px 0 17px; color: #fff; background: #28523b; }
.hero .button:hover { background: #38664b; }
.hero .button .icon { margin-left: 11px; }

.benefits { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 0; border: 1px solid var(--line); background: #fff; border-radius: 13px; }
.benefit { min-width: 0; padding: 0 22px; display: flex; align-items: center; gap: 12px; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit-icon { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border-radius: 10px; color: #465d2f; background: #eef4e5; }
.benefit-icon .icon { width: 19px; height: 19px; }
.benefit strong, .benefit div > span { display: block; }
.benefit strong { font-size: 14px; }
.benefit div > span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.catalogue { scroll-margin-top: 24px; padding: 38px 0 62px; }
.catalogue-heading, .catalogue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalogue-heading h2 { font-size: 30px; letter-spacing: -.05em; line-height: 1.13; }
.catalogue-heading p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.search-control { display: flex; align-items: center; gap: 8px; min-width: 0; width: 220px; height: 41px; padding: 0 12px; color: #677166; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.search-control:focus-within { border-color: #86a460; }
.search-control .icon { width: 17px; height: 17px; }
.search-control input { border: 0; outline: none; width: 100%; min-width: 0; color: var(--ink); font-size: 13px; }
.search-control input::placeholder { color: #6a746a; }
.catalogue-toolbar { margin: 19px 0 14px; }
.category-list { display: flex; min-width: 0; flex-wrap: wrap; gap: 7px; }
.category-button { flex: none; max-width: 100%; min-height: 35px; padding: 5px 14px; border: 1px solid #e0e4db; border-radius: 7px; background: #fff; color: #4f594e; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; transition: background .18s, border-color .18s; }
.category-button:hover { background: #eef3e9; }
.category-button[aria-pressed="true"] { background: #222922; border-color: #222922; color: #fff; }
.product-count { color: var(--muted); font-size: 12px; white-space: nowrap; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: box-shadow .22s, translate .22s; }
.product-card:hover { translate: 0 -2px; box-shadow: 0 11px 25px #26382212; }
.product-art { color: #e9f8e4; height: 112px; display: flex; align-items: center; padding: 18px; isolation: isolate; position: relative; overflow: hidden; background: #163c2e; }
.product-art::before { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .25; background-image: linear-gradient(#ffffff26 1px, transparent 1px), linear-gradient(90deg, #ffffff26 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, black 70%); }
.product-art.has-image { padding: 0; }
.product-art.has-image::before { content: none; }
.product-art.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-label { z-index: 1; font-family: var(--money); font-weight: 760; font-size: clamp(29px, 3.15vw, 45px); letter-spacing: -.08em; line-height: 1; text-shadow: 0 2px 14px #151d1226; }
.art-corner { position: absolute; top: 11px; right: 12px; opacity: .78; }
.art-corner .icon { width: 15px; height: 15px; }
.art-shape { display: block; position: absolute; z-index: -1; pointer-events: none; }
.art-atlas { background: radial-gradient(ellipse at 79% 92%, #407d4e, transparent 46%), #19382c; }
.art-atlas .shape-one { width: 128px; height: 97px; right: 14px; top: 10px; border: 13px solid #a5eb97; border-radius: 50%; transform: rotate(-32deg) skewX(12deg); box-shadow: inset 0 0 14px #bdefa9, 0 0 20px #9ad46188; background: #5a9d5e68; }
.art-atlas .shape-two { width: 160px; height: 43px; right: 0; top: 40px; border: 1px solid #d9f9dbb0; border-radius: 50%; transform: rotate(-30deg); }
.art-amber { color: #fff3e6; background: radial-gradient(ellipse at 71% 83%, #a45d49, transparent 75%), #633e37; }
.art-amber::before { background: repeating-radial-gradient(ellipse at 71% 100%, #ffca9a5e 0px, #ffca9a5e 1px, transparent 2px, transparent 16px); mask-image: none; }
.art-amber .shape-one { width: 103px; height: 103px; right: 23px; top: 5px; border-radius: 40% 60% 56% 44% / 43% 36% 64% 57%; transform: rotate(-26deg); background: radial-gradient(ellipse at 34% 22%, #ffe7b9, #ffc087 35%, #b96754 77%); box-shadow: inset 0 0 10px #ffd4a6; }
.art-amber .shape-two { width: 128px; height: 41px; right: 8px; top: 38px; border: 1px solid #ffe0bb9c; border-radius: 50%; transform: rotate(-42deg); }
.art-prism { color: #edf3ff; background: radial-gradient(ellipse at 77% 89%, #51749d, transparent 67%), #243e59; }
.art-prism .shape-one { width: 111px; height: 101px; right: 23px; top: 8px; background: conic-gradient(from 39deg at 51% 56%, #98bee9 10deg, #39598d 67deg, #6dadc7 149deg, #e1fbfb 225deg, #719fc5 281deg, #98bee9); clip-path: polygon(50% 0, 96% 26%, 90% 75%, 50% 100%, 9% 74%, 6% 26%); transform: rotate(-15deg); }
.art-prism .shape-two { width: 130px; height: 48px; right: 14px; top: 32px; border: 1px solid #d6f1ffae; border-radius: 50%; transform: rotate(23deg); }
.art-orbit { background: radial-gradient(ellipse at 75% 86%, #6b61ae, transparent 69%), #393057; }
.art-orbit .shape-one { width: 99px; height: 99px; right: 26px; top: 5px; border-radius: 50%; background: radial-gradient(circle at 29% 26%, #e3e0ff, #a59bfb 23%, #5a49a1 57%, #251d4d 79%); box-shadow: 0 0 15px #b4a7fe50; }
.art-orbit .shape-two { width: 142px; height: 44px; right: 5px; top: 36px; border: 2px solid #e1dcfd; border-radius: 50%; transform: rotate(-31deg); }
.art-canvas { background: radial-gradient(ellipse at 78% 92%, #b1667a, transparent 70%), #69404d; }
.art-canvas .shape-one, .art-canvas .shape-two { width: 90px; height: 82px; right: 26px; top: 13px; border: 1px solid #ffddcfbd; background: linear-gradient(135deg, #ffe1c1, #d984a2b9 58%, #88558a); border-radius: 14px; transform: rotate(26deg); box-shadow: 0 0 15px #ffe7c655; }
.art-canvas .shape-two { right: 40px; top: 13px; background: linear-gradient(135deg, #ffb0c0bc, #b78cce9e); transform: rotate(-21deg); }
.art-code { color: #e9edf2; background: radial-gradient(ellipse at 76% 89%, #647486, transparent 71%), #303946; }
.art-code .shape-one, .art-code .shape-two { width: 70px; height: 96px; right: 39px; top: 6px; background: linear-gradient(130deg, #83bad9, #394c6c 78%); border: 1px solid #9ebfdaa6; border-radius: 9px; transform: skew(-21deg) rotate(-14deg); }
.art-code .shape-two { right: 22px; top: 10px; background: linear-gradient(130deg, #e2f6f9, #567797 78%); opacity: .66; }

.product-content { padding: 13px 15px 14px; flex: 1; display: flex; flex-direction: column; }
.product-type { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: var(--muted); font-size: 11px; }
.stock { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.stock.in-stock { color: #466b2e; }
.stock i { background: #9a9f95; }
.stock.in-stock i { background: #7cab4f; }
.product-content h3 { margin-top: 8px; font-family: var(--money); font-size: 22px; letter-spacing: -.045em; line-height: 1.13; }
.product-content h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-content p { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.6; flex: 1; }
.product-bottom { margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf0e9; display: flex; justify-content: space-between; align-items: center; gap: 7px; }
.product-price { font: 650 27px/.95 var(--money); font-variant-numeric: tabular-nums; letter-spacing: -.065em; white-space: nowrap; }
.product-price span { margin-right: 4px; font-size: 15px; }
.buy-button { min-height: 34px; padding: 0 8px 0 10px; border-color: #dbe6cc; background: #eef5e5; color: #2f4725; font-size: 12px; }
.buy-button .icon { width: 14px; height: 14px; }
.buy-button:hover:enabled { background: var(--lime); border-color: #b8d993; }
.buy-button:disabled { border-color: #edf0ea; background: #f1f2ef; color: #666d65; }
.catalogue-message { grid-column: 1 / -1; min-height: 170px; display: grid; gap: 8px; justify-items: center; align-content: center; padding: 22px; border: 1px dashed #d5dece; border-radius: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.catalogue-message span { font-size: 12px; }
.storefront-status { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: 13px; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 76px; display: flex; align-items: center; gap: 23px; }
.footer-brand { font-size: 18px; }
.footer-brand .brand-mark { transform: scale(.83); margin-right: -3px; }
.footer-note, .footer-inner nav { color: var(--muted); font-size: 12px; }
.footer-inner nav { margin-left: auto; display: flex; gap: 17px; white-space: nowrap; }
.footer-inner nav a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .shell { width: calc(100% - 40px); }
  .hero-content { padding-left: 35px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-label { font-size: 41px; }
  .benefit { padding-inline: 13px; }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 0; padding-top: 12px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand-mark { transform: scale(.9); transform-origin: left center; margin-right: -2px; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; height: 43px; justify-content: space-between; gap: 12px; }
  .site-nav a { font-size: 13px; }
  .hero { margin-top: 16px; min-height: 294px; align-items: center; border-radius: 13px; }
  .hero-image { background-position: 74% center; }
  .hero::after { background: linear-gradient(90deg, #f7f5edeb 0%, #f7f5edba 42%, #f7f5ed2b 100%); }
  .hero-content { padding: 23px 19px; }
  .hero h1 { font-size: clamp(39px, 10vw, 51px); }
  .hero p { margin: 14px 0 17px; max-width: 220px; font-size: 13px; }
  .benefits { margin-top: 11px; padding-block: 11px; }
  .benefit { padding: 0 3px; justify-content: center; gap: 4px; }
  .benefit-icon { width: 29px; height: 29px; border-radius: 7px; }
  .benefit-icon .icon { width: 15px; height: 15px; }
  .benefit strong { font-size: 11px; }
  .benefit div > span { display: none; }
  .catalogue { padding-top: 29px; padding-bottom: 35px; }
  .catalogue-heading { align-items: flex-end; gap: 8px; }
  .catalogue-heading h2 { font-size: 24px; }
  .catalogue-heading p { margin-top: 4px; font-size: 11px; }
  .search-control { width: min(38%, 155px); height: 36px; padding-inline: 7px; gap: 4px; }
  .search-control input { font-size: 12px; }
  .catalogue-toolbar { display: block; margin-top: 14px; }
  .category-list { flex-wrap: nowrap; gap: 4px; overflow-x: auto; padding-bottom: 2px; }
  .category-button { min-height: 32px; padding-inline: 7px; font-size: 12px; }
  .product-count { display: block; margin-top: 7px; }
  .product-grid { grid-template-columns: 1fr; gap: 10px; }
  .product-card { border-radius: 10px; }
  .product-art { height: 96px; }
  .art-label { font-size: 36px; }
  .product-content { padding: 12px 13px; }
  .footer-inner { padding: 11px 0; gap: 7px 12px; flex-wrap: wrap; }
  .footer-note { flex-basis: 100%; order: 3; }
  .footer-inner nav { gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
