:root {
  color-scheme: light;
  --paper: #f8f8f2;
  --white: #fff;
  --ink: #1d2820;
  --green: #25372b;
  --green-dark: #17251c;
  --green-light: #d7edaa;
  --moss: #416046;
  --muted: #4c5b4e;
  --line: #d9dfd3;
  --wash: #edf0e7;
  --danger: #842c27;
  --display: 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 79rem;
  --gutter: clamp(1.125rem, 4.45vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.62 var(--body); }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
figure, address { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { font: 700 1em/1.08 var(--display); letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; }
p { margin: 0; }
b, strong { font-weight: 700; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: .16rem solid #39794d; outline-offset: .25rem; }
::selection { color: var(--green-dark); background: var(--green-light); }

.wrap { width: min(calc(100% - var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.4rem, 6vw, 6.5rem); }
.icon { flex: none; width: 1.25em; height: 1.25em; }
.skip-link { position: absolute; z-index: 10; top: .75rem; left: .75rem; translate: 0 -180%; background: var(--white); padding: .75rem 1rem; }
.skip-link:focus { translate: 0; }

.site-header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.125rem; display: flex; align-items: center; flex-wrap: wrap; gap: .35rem clamp(1rem, 4vw, 4rem); padding-block: .55rem; }
.brand { flex: none; display: inline-flex; align-items: center; gap: .65rem; color: var(--green); line-height: 1; text-decoration: none; }
.brand-mark { display: flex; align-items: center; justify-content: center; gap: .14rem; background: var(--green); padding: .42rem .5rem; width: 2.4rem; height: 2.4rem; border-radius: .3rem; }
.brand-mark i { width: .24rem; height: 1rem; background: var(--green-light); transform: skew(-24deg); display: block; }
.brand-name { font: 800 1.17rem/1 var(--display); letter-spacing: -.07em; white-space: nowrap; }
.brand-name b { font-weight: 700; }
.main-nav { display: flex; flex-wrap: wrap; max-width: 100%; gap: clamp(.8rem, 2.55vw, 2.6rem); margin-inline: auto; }
.main-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; position: relative; text-decoration: none; font-weight: 590; font-size: .91rem; line-height: 1.25; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: .18rem; height: 2px; background: var(--moss); transform: scaleX(0); transform-origin: left; }
.main-nav a[aria-current]::after, .main-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { border: 1px solid var(--line); background: transparent; border-radius: .25rem; display: inline-flex; align-items: center; gap: .45rem; padding-inline: .7rem; min-height: 2.75rem; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .72rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; border-radius: .28rem; font-size: .91rem; font-weight: 700; line-height: 1.3; padding: .92rem 1.18rem; min-height: 3.15rem; max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.button svg { width: 1.1rem; height: 1.1rem; }
.button-primary { color: var(--green-dark); background: var(--green-light); }
.button-primary:hover { background: #e5f4c2; }
.button-outline { color: var(--white); border-color: #ffffff91; background: #141e1752; }
.button-outline:hover { background: #141e179e; border-color: var(--white); }
.button-dark, .header-cta { color: var(--white); background: var(--green); }
.button-dark:hover, .header-cta:hover { background: #38543d; }
.header-cta { padding: .7rem .95rem; min-height: 2.75rem; font-size: .84rem; }
.button:disabled { cursor: wait; opacity: .7; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); text-decoration: none; font-weight: 680; line-height: 1.35; min-height: 2.75rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.text-link .icon { width: 1.05rem; height: 1.05rem; }

.hero { position: relative; display: grid; min-height: clamp(25rem, 29vw, 29rem); isolation: isolate; color: var(--white); background: var(--green-dark); }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -1; left: 31%; mask-image: linear-gradient(90deg, transparent, #000 12%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.hero-media::after { content: ''; background: linear-gradient(90deg, var(--green-dark) 0%, #17251cee 8%, #17251c8c 29%, #17251c10 62%, transparent 100%), linear-gradient(0deg, #131e1752, transparent 40%); }
.hero-inner { display: flex; align-items: center; padding-block: 2.2rem 2.9rem; }
.hero-copy { max-width: 46rem; }
.eyebrow { display: flex; align-items: center; gap: .62rem; font-size: .78rem; font-weight: 750; line-height: 1.35; letter-spacing: .115em; text-transform: uppercase; color: var(--moss); margin-block-end: 1rem; }
.eyebrow span { width: 1.35rem; height: 2px; background: currentColor; flex: none; }
.hero .eyebrow { color: var(--green-light); }
.hero h1 { font-size: clamp(3.4rem, 5.25vw, 5.15rem); line-height: .99; letter-spacing: -.07em; }
.hero-copy > p:not(.eyebrow) { color: #f0f2ec; font-size: clamp(1rem, 1.45vw, 1.22rem); max-width: 32rem; margin-top: 1.22rem; }
.hero .actions { margin-top: 1.35rem; }
.hero-credit { position: absolute; right: var(--gutter); bottom: 1rem; color: #f6f8f3; background: #142017e6; padding: .22rem .5rem; font-size: .69rem; border-radius: .15rem; text-decoration: none; }
.hero :focus-visible { outline-color: var(--green-light); }

.catalog-shortcuts { display: flex; flex-wrap: wrap; gap: .45rem; }
.catalog-shortcuts a { display: inline-flex; align-items: center; gap: .48rem; min-height: 2.75rem; max-width: 100%; padding: .45rem .7rem; color: var(--green); background: var(--white); border: 1px solid var(--line); border-radius: .3rem; text-decoration: none; font-size: .84rem; font-weight: 650; line-height: 1.35; }
.catalog-shortcuts a:hover { background: var(--wash); border-color: #97a798; }
.catalog-shortcuts a[aria-current] { color: var(--white); background: var(--green); border-color: var(--green); }
.catalog-shortcuts a span { overflow-wrap: anywhere; }
.shop-heading, .shelf-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .15rem 1rem; }
.shop-heading { margin-bottom: .95rem; }
.shop-heading h2 { font-size: clamp(1.95rem, 3.5vw, 3.25rem); }
#ponuka { padding-block: clamp(1.65rem, 4vw, 3.3rem) 1.85rem; }
.home-shelves { padding-bottom: clamp(2.5rem, 6vw, 5.5rem); }
.category-shelves { display: grid; gap: clamp(1.8rem, 4vw, 3.75rem); }
.category-shelf { min-width: 0; scroll-margin-top: 1rem; }
.shelf-heading { border-top: 1px solid var(--line); padding-block: .7rem .65rem; }
.shelf-heading h2 { display: flex; align-items: center; gap: .5rem; font-size: clamp(1.45rem, 2.2vw, 2rem); min-height: 2.75rem; }
.shelf-heading h2 .icon { color: var(--moss); width: 1.08em; height: 1.08em; }
.shelf-heading .text-link, .shop-heading .text-link { font-size: .86rem; }

.about-intro h2 { font-size: clamp(2.4rem, 4vw, 4rem); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.55rem, 1.4vw, 1.2rem); }
.product-card { min-width: 0; }
.product-card > a { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); border-radius: .4rem; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease; }
.product-card > a:hover { border-color: #9aaf9c; box-shadow: 0 .3rem .9rem #25372b12; }
.product-card > a:hover h3 { text-decoration: underline; text-underline-offset: .17em; }
.card-image { position: relative; aspect-ratio: 1.52; border-bottom: 1px solid #e5e9e1; }
.card-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(.4rem, 1.4vw, 1rem); object-fit: contain; border-radius: .38rem .38rem 0 0; }
.card-body { display: flex; justify-content: space-between; align-items: flex-start; gap: .45rem; padding: .8rem .9rem .9rem; }
.card-body h3 { font-size: clamp(1.02rem, 1.42vw, 1.24rem); line-height: 1.2; letter-spacing: -.027em; }
.card-body .icon { color: var(--moss); width: 1rem; height: 1rem; margin-top: .13rem; }
.image-label { color: var(--muted); font-size: .69rem; line-height: 1.35; margin-top: .32rem; overflow-wrap: anywhere; }

.contact-band { background: #dbe9c5; border-top: 1px solid #ccd9b7; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: clamp(2rem, 4.1vw, 4rem); }
.contact-band h2 { font-size: clamp(1.65rem, 2.8vw, 2.75rem); }
.contact-band p { margin-top: .55rem; color: var(--green); }
.contact-band .button-primary { background: var(--green); color: var(--white); flex: none; }
.contact-band .button-primary:hover { background: #38543d; }

.site-footer { background: var(--green-dark); color: #eef2e8; }
.site-footer :focus-visible { outline-color: var(--green-light); }
.footer-grid { padding-block: 3.3rem; display: grid; grid-template-columns: 1.2fr .8fr 1.05fr .95fr; gap: 1.5rem 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-mark { background: #334837; }
.site-footer h2 { color: var(--white); font: 700 .87rem/1.4 var(--body); letter-spacing: normal; margin-bottom: .55rem; }
.site-footer nav a { display: block; width: fit-content; padding-block: .19rem; }
.site-footer nav a, .site-footer p, .site-footer address, .site-footer .company-ids, .footer-bottom { color: #cbd5ca; font-size: .86rem; }
.site-footer p { margin-top: .7rem; max-width: 19rem; }
.site-footer a:not(.brand) { text-decoration: none; }
.site-footer a:not(.brand):hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; border-top: 1px solid #3e4d41; padding-block: 1rem; }
.company-ids { margin: .55rem 0 0; }
.company-ids div { display: flex; flex-wrap: wrap; gap: 0 .5em; }
.company-ids dt { font-weight: 650; }
.company-ids dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.subhead { background: var(--wash); border-bottom: 1px solid var(--line); padding-block: clamp(2.75rem, 5.5vw, 4.8rem); }
.subhead h1 { font-size: clamp(2.6rem, 5.7vw, 5.2rem); line-height: 1; letter-spacing: -.063em; }
.subhead p:not(.eyebrow) { max-width: 40rem; color: var(--muted); margin-top: 1rem; font-size: 1.06rem; }
.catalog { padding-block: clamp(1.8rem, 4.5vw, 3.8rem) clamp(3rem, 5vw, 5rem); }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.2rem; }
.catalog h1 { font-size: clamp(2.4rem, 4.7vw, 4.4rem); }
.filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .55rem; width: min(100%, 30rem); }
.field { display: grid; min-width: 0; gap: .3rem; }
.field label { font-weight: 680; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 1px solid #abb8a7; border-radius: .25rem; padding: .65rem .75rem; min-height: 3.15rem; background: var(--white); line-height: 1.4; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .83rem; }
.results-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 2.75rem; margin-block: .85rem .4rem; gap: .3rem .75rem; color: var(--muted); font-size: .9rem; }
.empty-state { border: 1px dashed #a9b6a6; border-radius: .4rem; display: grid; place-items: center; gap: .45rem; text-align: center; padding: 2.4rem 1rem; color: var(--muted); }
.empty-state h2 { color: var(--ink); font-size: 1.45rem; }

.product-page { padding-top: clamp(1rem, 2.5vw, 2rem); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; color: var(--muted); margin-bottom: 1.2rem; font-size: .86rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; gap: .4rem; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: .95rem clamp(1.45rem, 5vw, 5.3rem); }
.product-heading { grid-column: 2; align-self: end; padding-top: clamp(0rem, 3vw, 3rem); }
.product-heading h1 { font-size: clamp(2.25rem, 4.1vw, 4.2rem); line-height: 1.03; }
.product-type { font-size: 1.06rem; font-weight: 650; color: var(--green); margin-top: .65rem; }
.detail-media { display: grid; gap: .85rem; grid-column: 1; grid-row: 1 / 3; }
.detail-copy { grid-column: 2; color: var(--muted); max-width: 41ch; }
.detail-copy .actions { margin-top: 1.3rem; column-gap: 1rem; }
.detail-image, .about-photo { background: #fdfdf8; border: 1px solid var(--line); border-radius: .4rem; overflow: clip; }
.detail-preview { height: clamp(13rem, 30vw, 28rem); padding: .9rem; background: var(--white); }
.detail-media figure + figure .detail-preview { height: clamp(8rem, 16vw, 14rem); }
.detail-preview img { width: 100%; height: 100%; object-fit: contain; }
.photo-credit { padding: .65rem .85rem; color: var(--muted); font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
.technical-data { margin-block: clamp(2rem, 4.8vw, 4rem); }
.technical-data h2 { font-size: clamp(1.75rem, 2.8vw, 2.7rem); margin-bottom: 1.05rem; scroll-margin-top: 1rem; }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.15rem; }
.specs { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 .4rem .4rem; overflow: clip; background: var(--white); }
.specs caption { text-align: start; padding: .68rem .85rem; border: 1px solid var(--line); border-radius: .4rem .4rem 0 0; background: var(--wash); font-weight: 720; color: var(--green-dark); }
.specs th, .specs td { padding: .54rem .85rem; line-height: 1.4; text-align: start; vertical-align: top; font-size: .88rem; overflow-wrap: anywhere; }
.specs tr + tr > * { border-top: 1px solid #e7ebe3; }
.specs tr:nth-child(even) { background: #f9faf7; }
.specs th { width: 47%; font-weight: 540; color: var(--muted); }
.specs td { font-weight: 650; }
.product-note { background: var(--wash); border-left: .21rem solid var(--moss); margin-top: 1rem; padding: .7rem .8rem; font-size: .89rem; }
.related { padding-top: 0; }

.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 3rem; align-items: center; }
.about-intro p { margin-block: .9rem .6rem; color: var(--muted); }
.about-photo img { aspect-ratio: 1.55; width: 100%; object-fit: cover; object-position: 68%; }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(1.7rem, 4vw, 4rem); }
.application-grid article { padding: 1.35rem; border: 1px solid var(--line); border-radius: .3rem; }
.application-grid .icon, .contact-aside .icon { color: var(--moss); width: 1.65rem; height: 1.65rem; }
.application-grid h3 { font-size: 1.42rem; margin-top: .5rem; }
.application-grid p { margin-top: .55rem; font-size: .9rem; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.contact-form, .contact-aside { background: #fdfdf8; border: 1px solid var(--line); border-radius: .4rem; padding: clamp(1rem, 2.5vw, 2.05rem); }
.contact-form { scroll-margin-top: 1rem; }
.contact-form h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.contact-aside h2 { font-size: 1.55rem; margin-block: .4rem .9rem; }
.contact-aside .company-ids { font-size: .9rem; }
.contact-aside p { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
.preview-note { border-left: .2rem solid var(--moss); background: var(--wash); color: var(--green); padding: .65rem .75rem; font-size: .87rem; margin-top: .8rem; }
.inquiry { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; margin-top: 1.2rem; }
.inquiry button { justify-self: start; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.form-error { border-left: .2rem solid var(--danger); background: #fbebe7; color: var(--danger); padding: .65rem .75rem; margin-top: .8rem; }
.form-error:focus, .receipt:focus { outline: .135rem solid var(--moss); outline-offset: .25rem; }
.form-privacy { font-size: .83rem; color: var(--muted); }
.receipt-icon { display: inline-grid; place-items: center; border-radius: 50%; background: var(--green-light); color: var(--green); width: 2.7rem; height: 2.7rem; margin-bottom: .8rem; }
.receipt h2 { margin-bottom: .8rem; }
.receipt p { margin-bottom: .45rem; overflow-wrap: anywhere; }
.receipt .actions { margin-top: 1.35rem; }

.prose { max-width: 49rem; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.75rem; margin-bottom: .65rem; }
.prose h2:not(:first-child) { margin-top: 2rem; }
.prose p + p, .prose .company-ids + p { margin-top: .7rem; }
.prose a, .form-privacy a { color: var(--green); text-underline-offset: .16em; }

@media (max-width: 57rem) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 4.5rem; flex-wrap: wrap; gap: .35rem .7rem; padding-block: .55rem; justify-content: space-between; }
  .main-nav { width: 100%; order: 3; justify-content: space-between; flex-wrap: wrap; gap: 0 .65rem; }
  .has-menu .main-nav { display: none; }
  .has-menu .main-nav.is-open { display: flex; }
  .header-cta { margin-inline-start: auto; }
  .header-cta .icon { display: none; }
  .hero { min-height: 28rem; }
  .hero-media { left: 10%; }
  .hero-media img { object-position: 70% center; }
  .hero h1 { font-size: clamp(3.2rem, 8.8vw, 5rem); }
  .contact-layout, .product-detail { grid-template-columns: minmax(0, 1fr); }
  .product-detail { grid-template-rows: none; }
  .product-heading, .detail-media, .detail-copy { grid-column: 1; grid-row: auto; }
  .product-heading { padding-top: 0; }
  .detail-copy { max-width: 52ch; }
}

@media (max-width: 680px) {
  .hero { min-height: 27rem; }
  .hero-media { left: 0; mask-image: none; }
  .hero-inner { align-items: end; padding-block: 8.5rem 2.7rem; }
  .hero-media img { object-position: center 33%; }
  .hero-media::after { background: linear-gradient(0deg, #121e16f5, #121e16d9 36%, #121e161f 80%), linear-gradient(90deg, #121e165e, transparent 80%); }
  .hero h1 { font-size: clamp(2.75rem, 10vw, 4.25rem); }
  .hero-copy > p:not(.eyebrow) { margin-top: 1rem; }
  .hero .actions { margin-top: 1.25rem; }
  .hero-credit { bottom: .58rem; }
  .about-intro, .application-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-band-inner { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .spec-groups { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 36rem) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: .65rem .62rem .7rem; }
  .card-body .icon { display: none; }
}

@media (max-width: 480px) {
  .brand { gap: .38rem; }
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 2.05rem; height: 2.05rem; }
  .menu-toggle { padding-inline: .45rem; font-size: .8rem; gap: .25rem; }
  .header-cta { padding-inline: .47rem; font-size: .76rem; }
  .main-nav { justify-content: flex-start; }
  .main-nav a { padding-inline: .2rem; }
  .filters .button { padding-inline: .75rem; }
  .filters .button .icon { display: none; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 22rem) {
  .header-cta { display: none; }
  .hero .actions .button { padding-inline: .68rem; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
}

@media (max-width: 22rem) {
  .filters { grid-template-columns: minmax(0, 1fr); }
  .filters button { justify-self: start; }
}
@media (max-width: 15rem) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .product-card > a { transition: none; }
}
