:root {
  --ink: #203b32;
  --muted: #51655d;
  --paper: #fbf9f3;
  --green: #21483b;
  --line: #dedfd4;
  --sand: #e5d7b7;
  --display: Georgia, serif;
  --body: system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #98602b; outline-offset: 4px; }
[hidden] { display: none !important; }
.site-header { min-height: 76px; padding: 12px clamp(18px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { text-decoration: none; font: 600 34px/1 var(--display); white-space: nowrap; }
.wordmark span { display: inline-block; font: 700 9px var(--body); letter-spacing: .14em; margin-left: 4px; }
nav { display: flex; gap: clamp(12px, 3vw, 42px); }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover, footer a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1fr; background: #eee9db; }
.hero-copy { align-self: center; max-width: 690px; padding: 58px clamp(24px, 6vw, 96px); }
.eyebrow { margin: 0 0 14px; font-size: .75rem; letter-spacing: .17em; font-weight: 700; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; }
h1 { font-size: clamp(3.15rem, 6vw, 6.4rem); letter-spacing: -.045em; }
h1 em { display: block; color: #496653; font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 37ch; margin: 23px 0 28px; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 18px; padding: 12px 20px; border: 1px solid var(--green); background: var(--green); color: white; text-decoration: none; border-radius: 3px; font-weight: 600; }
.button:hover { background: #15362b; }
.hero-art { min-width: 0; align-self: center; }
.hero-art img { display: block; width: 100%; height: auto; }
.section { max-width: 1440px; margin: auto; padding: clamp(40px, 6vw, 80px) clamp(18px, 6vw, 96px); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.03em; }
.collections a:hover, .product a:hover { color: #687e4e; }
.gallery { border-top: 1px solid var(--line); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.preview-note, .results, .product small { color: var(--muted); }
.preview-note, .results { font-size: .87rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.filters a { color: var(--ink); border: 1px solid #b6c1b4; padding: 6px 13px; border-radius: 24px; background: transparent; }
.filters a:hover { background: #e7ebdf; }
.filters a[aria-current="true"] { color: white; background: var(--green); border-color: var(--green); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
.product a { display: block; text-decoration: none; }
.product img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: clamp(7px, 1.4vw, 16px); background: #fff; }
.product span { display: block; font-weight: 700; margin-top: 8px; overflow-wrap: anywhere; }
.product small { display: block; }
footer { background: var(--green); color: white; padding: 30px clamp(18px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer p { margin: 0; }
dialog { width: min(940px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #142a21b5; }
.close { position: absolute; z-index: 1; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: var(--paper); font-size: 24px; line-height: 1; }
.detail-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; }
.detail-art { min-width: 0; padding: 18px; background: #fff; }
.detail-art > img { margin: auto; width: auto; height: auto; max-height: min(54vh, 510px); object-fit: contain; }
.detail-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.detail-thumbs:empty { display: none; }
.detail-thumbs button { padding: 2px; border: 1px solid #8b9e8e; background: white; }
.detail-thumbs button[aria-pressed="true"] { border: 2px solid var(--green); }
.detail-thumbs img { width: 52px; height: 52px; object-fit: contain; }
.detail-copy { padding: 28px clamp(18px, 4vw, 44px); overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 38px 20px; }
  .products { grid-template-columns: minmax(0, 1fr); }
  #detail-okno {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    border: 0;
  }
  #detail-okno .close {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
  }
  #detail-okno .detail-layout { grid-template-columns: minmax(0, 1fr); }
  #detail-okno .detail-art { padding: 0; }
  #detail-okno .detail-foto { display: block; width: 100%; max-height: 72dvh; }
  #detail-okno .detail-thumbs { padding: 0 12px 12px; }
  .gallery-heading { align-items: start; flex-direction: column; }
  .preview-note { margin: 0; }
}
@media (max-width: 480px) {
  .site-header { min-height: 60px; padding-inline: 14px; }
  .wordmark { font-size: 27px; }
  .wordmark span { display: none; }
  nav { font-size: .84rem; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-art { padding: 42px 14px 14px; }
}

.wordmark img { width: clamp(96px, 16vw, 165px); height: auto; }
.filters a { text-decoration: none; }
.hladanie, .strany { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0; }
.hladanie input { min-width: 0; max-width: 100%; font: inherit; padding: 8px; border: 1px solid #84978c; }
.detail-layout { margin-top: 20px; }
.detail-art > img + img { margin-top: 18px; }
.detail-copy h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.ceny { display: grid; grid-template-columns: auto auto; gap: 4px 12px; }
.ceny dd { margin: 0; }
#detail-okno .detail-layout { margin-top: 0; }
html { scroll-padding-top: 95px; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-menu { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.site-menu > a, .site-menu summary { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; }
.site-menu summary { cursor: pointer; list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::after { content: ''; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.site-menu details[open] summary::after { transform: rotate(225deg); }
.site-menu > a:hover, .site-menu summary:hover, .site-menu details[open] summary { color: #52744c; }
.site-menu details { position: relative; }
.site-submenu { position: absolute; z-index: 1; top: 100%; right: 0; width: min(280px, calc(100vw - 24px)); max-height: 55vh; overflow: auto; padding: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 8px 20px #183a3022; }
.site-submenu a { display: block; padding: 8px 10px; font-size: .9rem; }
@media (max-width: 930px) {
  html { scroll-padding-top: 170px; }
  .site-header { flex-direction: column; align-items: stretch; padding: 6px 12px; gap: 4px; }
  .site-header .wordmark { align-self: start; }
  .site-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px 5px; }
  .site-menu > a, .site-menu summary { min-height: 35px; font-size: clamp(.57rem, 2.35vw, .8rem); letter-spacing: 0; }
  .site-menu details { position: static; }
  .site-submenu { top: 100%; left: 12px; right: 12px; width: auto; }
}
.nahor { position: fixed; z-index: 9; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid white; border-radius: 50%; background: var(--green); color: white; text-decoration: none; font-size: 1.4rem; }
.akcia { margin: 0; padding: 12px 18px; text-align: center; background: var(--sand); font-weight: 700; }
.citanie { max-width: 1000px; }
.citanie h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.citanie h2, .vyroba h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.citanie h2 { margin-top: 1em; }
.vyroba { margin-block: 20px; }
.vyroba summary { font-weight: 700; cursor: pointer; }
.vyroba h2 { margin-top: 14px; }
.ukazky, .technologie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.ukazky figure, .citanie > figure { margin: 0; }
.ukazky img { aspect-ratio: 1; object-fit: contain; background: white; }
.footer-links { flex-wrap: wrap; gap: 8px 20px; }
.strany a, .strany [aria-current] { min-width: 36px; min-height: 36px; display: grid; place-items: center; }
.strany [aria-current] { color: white; background: var(--green); border-radius: 3px; }

.vzorkovniky { align-items: start; }
.vzorkovniky h2 { font-size: 1.5rem; }
.vzorkovniky img { width: 100%; height: auto; aspect-ratio: auto; }
.product .produkt-popis { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; font-weight: 600; }
.produkt-popis b { white-space: nowrap; }
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 24px; margin-top: 24px; }
.kontakt-grid address { font-style: normal; margin-top: 12px; }
.kontakt-mapa { width: 100%; height: 320px; border: 1px solid var(--line); }

.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; margin-top: 24px; }
.collections a { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 6px; border-radius: 8px; text-align: center; text-decoration: none; }
.collections a:hover, .collections a:focus-visible { background: #fffdf8; }
.collections img { width: clamp(58px, 10vw, 80px); height: auto; }
.collections span { font-family: Georgia, serif; font-size: clamp(1rem, 2.1vw, 1.4rem); line-height: 1.2; }
@media (max-width: 600px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

.objednavkovy-formular { display: grid; gap: 12px; }
.objednavkovy-formular > label { display: grid; gap: 5px; }
.objednavkovy-formular > label[hidden] { display: none; }
.objednavkovy-formular > label:has(input[type="checkbox"]) { display: flex; align-items: baseline; }
.objednavkovy-formular :is(input:not([type="checkbox"]), select, textarea) { min-width: 0; width: 100%; padding: 8px; border: 1px solid #84978c; background: white; color: inherit; font: inherit; }
.objednavkovy-formular > :is(p, dl) { margin: 0; }
.objednavkovy-formular button { justify-self: start; }
.objednavkovy-formular button:disabled { opacity: .6; cursor: default; }
.kosik-polozka { padding: 16px 0; border-bottom: 1px solid var(--line); }
.kosik-polozka h2 { margin-top: 0; }
.priloha { border: 1px dashed #87998b; border-radius: .5rem; padding: 1rem; cursor: pointer; }
.priloha input { max-width: 100%; }
.pokladna-skupina { min-width: 0; border: 1px solid var(--line); padding: .8rem 1rem; }
.pokladna-skupina legend { font-weight: 700; padding-inline: .35rem; }
.objednavkovy-formular .pokladna-volba { display: flex; align-items: center; gap: .5rem; margin-block: .35rem; }
.objednavkovy-formular .pokladna-volba input { width: auto; margin: 0; }
.pokladna-skupina[hidden] { display: none; }
.povodny-vzorkovnik { width: 100%; max-width: 725px; height: auto; border: 1px solid var(--line); margin-top: 1rem; }
.priania-galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 16px; margin: 1rem 0 2rem; }
.priania-galeria figure { margin: 0; }
.priania-galeria img, [data-nahlad-priania] { height: auto; margin-block: .35rem; }
.texty-priani li { margin-block: .65rem; }
