/* Olineta Plants – hlavní styly
   Barvy značky: bílá #FFFFFF, jarní zelená #A7C957, antracit #303630, světle listová #DCE8D2 */
:root {
  --bila: #FFFFFF;
  --jarni: #A7C957;
  --antracit: #303630;
  --listova: #DCE8D2;
  --podklad: #F6F9F3;
  --linka: #E4EADF;
  --linka-tmavsi: #C9D4C2;
  --text-tlumeny: #4C554C;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --logo: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sirka: 1240px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bila);
  color: var(--antracit);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--antracit); text-underline-offset: 3px; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--jarni); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; font-weight: 600; }
p { margin: 0; }

.obal { max-width: var(--sirka); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.skryte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.preskocit { position: absolute; left: 12px; top: -60px; background: var(--antracit); color: var(--bila); padding: 10px 16px; border-radius: 6px; z-index: 10; }
.preskocit:focus { top: 12px; color: var(--bila); }

/* ---------- hlavička ---------- */
.hlavicka { border-bottom: 1px solid var(--linka); background: var(--bila); }
.hlavicka .obal { min-height: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { width: auto; height: 64px; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-nazev { font-family: var(--logo); font-weight: 500; font-size: 1.55rem; letter-spacing: 0.12em; line-height: 1; }
.logo-podnazev { display: flex; align-items: center; gap: 8px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.5em; }
.logo-podnazev::before { content: ""; width: 26px; height: 2px; background: var(--jarni); }
.navigace ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.navigace a { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 0; display: inline-block; border-bottom: 2px solid transparent; }
.navigace a:hover, .navigace a[aria-current="page"] { border-bottom-color: var(--jarni); }
.menu-tlacitko { display: none; }
@media (max-width: 860px) {
  .js .menu-tlacitko { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--antracit); border-radius: 22px; background: var(--bila); color: var(--antracit); font: inherit; font-weight: 600; cursor: pointer; }
  .js .navigace { display: none; width: 100%; }
  .js .navigace.otevrena { display: block; }
  .navigace ul { flex-direction: column; gap: 0; }
  .navigace li { border-top: 1px solid var(--linka); }
  .navigace a { display: block; padding: 12px 0; }
  .logo img { height: 52px; }
  .logo-nazev { font-size: 1.3rem; }
}

/* ---------- tlačítka a štítky ---------- */
.tlacitko { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 26px; background: var(--antracit); color: var(--bila); font-weight: 600; text-decoration: none; border: 1.5px solid var(--antracit); font: inherit; font-weight: 600; cursor: pointer; }
.tlacitko:hover { background: #1f241f; color: var(--bila); }
.tlacitko.obrys { background: transparent; color: var(--antracit); }
.tlacitko.obrys:hover { background: var(--listova); }
.tlacitko.jarni { background: var(--jarni); border-color: var(--jarni); color: var(--antracit); font-weight: 700; }
.tlacitka { display: flex; flex-wrap: wrap; gap: 14px; }
.stitek { display: inline-block; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--linka-tmavsi); border-radius: 12px; padding: 2px 10px; }
.ukazka { display: inline-block; font-size: 0.8rem; font-weight: 600; background: var(--listova); border-radius: 4px; padding: 3px 10px; }
.nadtitulek { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.nadtitulek::before { content: ""; width: 40px; height: 2px; background: var(--jarni); flex: none; }

/* ---------- sekce ---------- */
.sekce { padding: clamp(56px, 8vw, 96px) 0; }
.sekce.podklad { background: var(--podklad); }
.sekce.listova { background: var(--listova); }
.sekce.tmava { background: var(--antracit); color: var(--bila); }
.sekce.tmava a { color: var(--bila); }
.sekce-hlava { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.perex { font-size: 1.12rem; color: var(--text-tlumeny); max-width: 36rem; }
.sekce.tmava .perex { color: var(--linka); }

/* úvod */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: clamp(40px, 7vw, 72px) 0 clamp(56px, 8vw, 96px); }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-obraz { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.oblouk { width: 100%; max-width: 500px; aspect-ratio: 500 / 560; border-radius: 250px 250px 12px 12px; background: var(--listova); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.oblouk img { width: 92%; margin-bottom: 4%; }

/* mřížky a karty */
.mrizka { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.mrizka.kategorie { grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 20px; }
.karta { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--antracit); }
.karta-obraz { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--podklad); border: 1px solid var(--linka); display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; }
.karta-obraz img { position: absolute; top: 24px; left: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.karta-obraz .forma { position: absolute; left: 10px; top: 10px; font-size: 0.72rem; font-weight: 700; background: var(--bila); border-radius: 4px; padding: 2px 8px; }
.karta:hover .karta-obraz { border-color: var(--jarni); }
.karta-nazev { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.latinsky { font-style: italic; color: var(--text-tlumeny); font-size: 0.93rem; }
.karta-stitky { display: flex; flex-wrap: wrap; gap: 6px; }
.karta-pata { display: flex; justify-content: space-between; gap: 8px; font-size: 0.88rem; color: var(--text-tlumeny); }
.kategorie-karta { display: flex; flex-direction: column; gap: 10px; text-decoration: none; font-weight: 700; }
.kategorie-karta .karta-obraz { aspect-ratio: 1; background: var(--listova); border: 0; padding: 20px; }
.kategorie-karta .karta-obraz img { top: 18px; left: 18px; width: calc(100% - 36px); height: calc(100% - 36px); }
.kategorie-karta:hover .karta-obraz { outline: 2px solid var(--jarni); }

.dvojice { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.dvojice > * { flex: 1 1 380px; min-width: 0; }
.dvojice .obraz-stred { display: flex; justify-content: center; }
.dvojice .obraz-stred img { width: auto; max-width: 100%; max-height: 440px; object-fit: contain; }
.clanky { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.clanek { border-top: 3px solid var(--jarni); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.clanek .meta { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: var(--text-tlumeny); text-transform: uppercase; }

/* katalog */
.katalog { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.filtry { flex: 1 1 240px; max-width: 290px; display: flex; flex-direction: column; gap: 26px; }
@media (max-width: 700px) { .filtry { max-width: none; } }
.vysledky { flex: 999 1 560px; min-width: 0; }
.filtr-skupina { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.filtr-skupina legend { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0; margin-bottom: 10px; }
.pilulky { display: flex; flex-wrap: wrap; gap: 8px; }
.pilulka { min-height: 38px; padding: 0 14px; border-radius: 19px; border: 1.5px solid var(--linka-tmavsi); background: var(--bila); color: var(--antracit); font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.pilulka[aria-pressed="true"] { background: var(--jarni); border-color: var(--jarni); font-weight: 700; }
.pilulka:hover { border-color: var(--antracit); }
.hledani { display: flex; flex-direction: column; gap: 6px; flex: 0 1 380px; }
.hledani label { font-size: 0.85rem; font-weight: 700; }
.hledani input { height: 50px; border: 1.5px solid var(--antracit); border-radius: 25px; padding: 0 20px; font: inherit; color: var(--antracit); background: var(--bila); }
.odkaz-tlacitko { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: var(--antracit); align-self: flex-start; min-height: 44px; }
.prazdne { border: 1.5px dashed var(--linka-tmavsi); border-radius: 12px; padding: 48px 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.prazdne img { height: 130px; width: auto; }
.pocet { font-size: 0.9rem; color: var(--text-tlumeny); }

/* detail */
.drobecky { font-size: 0.9rem; color: var(--text-tlumeny); padding: 24px 0 8px; }
.drobecky ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.drobecky li + li::before { content: "/"; margin-right: 8px; }
.detail { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding: 24px 0 56px; }
.detail-obraz { flex: 1 1 420px; min-width: 0; aspect-ratio: 1; border-radius: 14px; background: var(--podklad); border: 1px solid var(--linka); display: flex; align-items: center; justify-content: center; padding: 40px; }
.detail-obraz { position: relative; }
.detail-obraz img { position: absolute; top: 40px; left: 40px; width: calc(100% - 80px); height: calc(100% - 80px); object-fit: contain; }
.detail-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.detail-text .latinsky { font-family: var(--serif); font-size: 1.6rem; }
.box { border: 1px solid var(--linka); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.box .radek { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pece-mrizka { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.pece-polozka { background: var(--podklad); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.pece-polozka span:first-child { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text-tlumeny); text-transform: uppercase; }
.pece-polozka span:last-child { font-weight: 600; }
.popis { display: flex; flex-direction: column; gap: 24px; max-width: 46rem; }
.popis h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.popis p { color: #3d443d; }
.poptavka[hidden] { display: none; }
.poptavka { background: var(--podklad); border-radius: 8px; padding: 16px; }

/* patička */
.paticka { background: var(--antracit); color: var(--bila); padding: 64px 0 32px; }
.paticka a { color: var(--bila); text-decoration: none; }
.paticka a:hover { text-decoration: underline; color: var(--bila); }
.paticka .sloupce { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.paticka .sloupec { display: flex; flex-direction: column; gap: 8px; }
.paticka .nadpis { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; color: var(--jarni); text-transform: uppercase; }
.paticka .znacka { flex: 1 1 260px; display: flex; align-items: center; gap: 14px; }
.paticka .znacka img { height: 70px; width: auto; }
.paticka .spodek { margin-top: 40px; padding-top: 20px; border-top: 1px solid #4a514a; font-size: 0.85rem; color: #c9d1c6; }
.doplnit { background: #fff6c8; color: var(--antracit); border-radius: 3px; padding: 0 4px; }
.paticka .doplnit, .sekce.tmava .doplnit { background: #5a5f3f; color: var(--bila); }
[hidden] { display: none !important; }
html:not(.js) .jen-js { display: none !important; }
details.poptavka-box summary { list-style: none; }
details.poptavka-box summary::-webkit-details-marker { display: none; }
details.poptavka-box[open] summary { margin-bottom: 14px; }
.text-stranka { max-width: 46rem; display: flex; flex-direction: column; gap: 18px; }
.text-stranka p { color: #3d443d; font-size: 1.05rem; }
@media (max-width: 560px) {
  .mrizka, .mrizka.kategorie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .karta-obraz { padding: 14px; }
  .karta-obraz img { top: 14px; left: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
  .karta-nazev { font-size: 1.2rem; }
  .karta-stitky .stitek { font-size: 0.68rem; }
  .karta-pata { flex-direction: column; gap: 0; font-size: 0.8rem; }
  .detail-obraz { padding: 20px; }
  .detail-obraz img { top: 20px; left: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
}
