/* Naturalky: výpis produktů podle návrhu 11/2026. Platí jen s třídou body.nv-vypis (přidává vypis.js). */
body.nv-vypis {
  --nv-green: #007041;
  --nv-green-dark: #00593a;
  --nv-green-soft: #e6efe9;
  --nv-beige: #f7f5e8;
  --nv-beige-dark: #ece8d2;
  --nv-orange: #db7a51;
  --nv-orange-text: #b9572f;
  --nv-ink: #1d2a22;
  --nv-muted: #5d6b62;
  --nv-line: #d9d5bf;
}

/* Shoptetí prvky, které nahrazujeme */
body.nv-vypis .category-top ul.subcategories,
body.nv-vypis .category-top .category-perex,
body.nv-vypis #category-header,
body.nv-vypis #filters-wrapper,
body.nv-vypis .listingControls .pagination,
body.nv-vypis .listingControls .itemsTotal,
body.nv-vypis .listingControls .goToTop,
body.nv-vypis .reviews-section,
body.nv-vypis .made-in-section,
body.nv-vypis .faq-section { display: none !important; }
body.nv-vypis #products > .product.nv-skryt { display: none !important; }
html.nv-noscroll, html.nv-noscroll body { overflow: hidden; }

/* Nadpis a úvod */
body.nv-vypis .category-top { padding-top: 32px !important; }
body.nv-vypis .nv-head { margin: 0 0 4px; }
body.nv-vypis .nv-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.nv-vypis .nv-title-row h1 { margin: 0 !important; text-align: left; }
body.nv-vypis .nv-total { color: var(--nv-muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.nv-vypis .nv-lead { margin: 6px 0 0; color: var(--nv-green); font-size: 16px; line-height: 1.45; max-width: 70ch; }

/* Čipy kategorií */
body.nv-vypis .nv-chips { display: grid; grid-template-columns: auto repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
body.nv-vypis .nv-chip { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 6px 8px; border: 1.5px solid var(--nv-green); border-radius: 4px; background: transparent; color: var(--nv-green); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s; min-width: 0; }
body.nv-vypis .nv-chip:hover { background: var(--nv-green-soft); color: var(--nv-green); text-decoration: none; }
body.nv-vypis .nv-chip img { width: 36px; height: 26px; object-fit: contain; flex: 0 0 auto; }
body.nv-vypis .nv-chip__t { min-width: 0; }
body.nv-vypis .nv-chev { width: 12px; height: 12px; flex: 0 0 auto; margin-left: auto; }
body.nv-vypis .nv-chip--all { justify-content: center; padding: 6px 18px; font-weight: 700; }
body.nv-vypis .nv-chip[aria-current] { background: var(--nv-green); color: #fff; }
body.nv-vypis .nv-chip[aria-current] img { background: #fff; border-radius: 3px; }

/* Lišta filtru a řazení */
body.nv-vypis .nv-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
body.nv-vypis .nv-bar__lbl { color: var(--nv-muted); font-size: 14px; }
body.nv-vypis .nv-bar--nofilter .nv-bar__lbl, body.nv-vypis .nv-bar--nofilter .nv-fbtn { display: none; }
body.nv-vypis .nv-dds { display: contents; }
body.nv-vypis .nv-dd { position: relative; }
body.nv-vypis .nv-dd__btn, body.nv-vypis .nv-fbtn, body.nv-vypis .nv-sort__sel { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--nv-line); border-radius: 6px; background: #fff; color: var(--nv-ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
body.nv-vypis .nv-dd__btn svg, body.nv-vypis .nv-fbtn svg { width: 14px; height: 14px; }
body.nv-vypis .nv-dd__btn[aria-expanded="true"] { border-color: var(--nv-green); }
body.nv-vypis .nv-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--nv-green); color: #fff; font-size: 11px; font-weight: 700; }
body.nv-vypis .nv-n[hidden] { display: none; }
body.nv-vypis .nv-dd__panel { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--nv-line); border-radius: 8px; box-shadow: 0 12px 28px -8px rgba(29, 42, 34, .22); }
body.nv-vypis .nv-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 400; color: var(--nv-ink); }
body.nv-vypis .nv-opt:hover { background: var(--nv-beige); }
body.nv-vypis .nv-opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--nv-green); position: static; opacity: 1; appearance: auto; -webkit-appearance: checkbox; }
body.nv-vypis .nv-opt__c { margin-left: auto; color: var(--nv-muted); font-size: 12.5px; }
body.nv-vypis .nv-opt.is-off { opacity: .45; }
body.nv-vypis .nv-sort { margin-left: auto; }
body.nv-vypis .nv-sort__sel { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d2a22' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
body.nv-vypis .nv-fbtn { display: none; }
body.nv-vypis .nv-active { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.nv-vypis .nv-active:empty { display: none; }
body.nv-vypis .nv-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border: 0; border-radius: 15px; background: var(--nv-green-soft); color: var(--nv-green); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
body.nv-vypis .nv-pill svg { width: 16px; height: 16px; }
body.nv-vypis .nv-clear { border: 0; background: none; color: var(--nv-orange-text); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0 6px; }
body.nv-vypis #products { margin-top: 18px; }

/* Pomocník a prázdný stav */
body.nv-vypis .nv-helper { flex: 1 1 0; min-width: 0; display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: 8px; background: var(--nv-beige-dark); }
body.nv-vypis .nv-helper[data-span="full"] { flex: 0 0 100%; }
body.nv-vypis .nv-helper__i { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--nv-orange); color: #fff; }
body.nv-vypis .nv-helper__i svg { width: 26px; height: 26px; }
body.nv-vypis .nv-helper__t { display: block; color: var(--nv-green); font-size: 17px; font-weight: 700; }
body.nv-vypis .nv-helper__p { margin: 4px 0 8px; color: var(--nv-muted); font-size: 14px; }
body.nv-vypis .nv-helper__a { color: var(--nv-green); font-weight: 700; font-size: 14px; }
body.nv-vypis .nv-empty { flex: 0 0 100%; padding: 40px 16px; text-align: center; background: #fff; border-radius: 8px; }
body.nv-vypis .nv-empty strong { display: block; color: var(--nv-green); font-size: 18px; }
body.nv-vypis .nv-empty p { margin: 6px 0 14px; color: var(--nv-muted); }
body.nv-vypis .nv-empty button { height: 42px; padding: 0 22px; border: 0; border-radius: 21px; background: var(--nv-green); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* Pod výpisem */
body.nv-vypis .nv-after { display: grid; gap: 48px; margin: 56px 0 24px; }
body.nv-vypis .nv-after h2 { margin: 0 0 16px; color: var(--nv-green); font-size: 28px; line-height: 1.2; font-weight: 700; text-align: left; text-transform: none; letter-spacing: 0; }
body.nv-vypis .nv-faq { max-width: 820px; display: grid; gap: 10px; }
body.nv-vypis .nv-faq h2 { margin-bottom: 6px; }
body.nv-vypis .nv-faq details { padding: 0 18px; border-radius: 8px; background: #fff; }
body.nv-vypis .nv-faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; color: var(--nv-green); font-weight: 600; cursor: pointer; list-style: none; }
body.nv-vypis .nv-faq summary::-webkit-details-marker { display: none; }
body.nv-vypis .nv-faq summary::after { content: "+"; color: var(--nv-orange); font-size: 22px; line-height: 1; }
body.nv-vypis .nv-faq details[open] summary::after { content: "\2212"; }
body.nv-vypis .nv-faq details p { margin: 0 0 16px; color: var(--nv-ink); max-width: 68ch; }
body.nv-vypis .nv-cattext { max-width: 820px; }
body.nv-vypis .nv-cattext .category-perex { display: block !important; margin: 0; padding: 0; text-align: left; color: var(--nv-muted); }
body.nv-vypis .nv-cattext .category-perex p, body.nv-vypis .nv-cattext .category-perex span { margin: 0 0 10px; text-align: left !important; color: var(--nv-muted); font-size: 15px; line-height: 1.6; font-weight: 400; }

/* Panel filtru (mobil) */
.nv-sheet-bg { position: fixed; inset: 0; z-index: 10000; background: rgba(20, 30, 24, .45); }
.nv-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001; display: flex; flex-direction: column; max-height: 86vh; background: #f7f5e8; border-radius: 16px 16px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); color: #1d2a22; }
.nv-sheet[hidden], .nv-sheet-bg[hidden] { display: none !important; }
.nv-sheet__h { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px; border-bottom: 1px solid #d9d5bf; }
.nv-sheet__h strong { color: #007041; font-size: 18px; }
.nv-sheet__x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.nv-sheet__x svg { width: 16px; height: 16px; }
.nv-sheet__b { overflow-y: auto; padding: 4px 16px; }
.nv-sheet fieldset { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid #d9d5bf; }
.nv-sheet legend { padding: 0 0 6px; color: #007041; font-size: 15px; font-weight: 700; }
.nv-sheet .nv-opt { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 4px; font-size: 15px; cursor: pointer; }
.nv-sheet .nv-opt input { width: 20px; height: 20px; margin: 0; accent-color: #007041; position: static; opacity: 1; appearance: auto; -webkit-appearance: checkbox; }
.nv-sheet .nv-opt__c { margin-left: auto; color: #5d6b62; font-size: 13px; }
.nv-sheet .nv-opt.is-off { opacity: .45; }
.nv-sheet__f { display: flex; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid #d9d5bf; }
.nv-sheet__f button { flex: 1; height: 46px; border-radius: 23px; font: inherit; font-weight: 700; cursor: pointer; }
.nv-sheet__reset { border: 1px solid #d9d5bf; background: #fff; color: #1d2a22; }
.nv-sheet__go { border: 0; background: #007041; color: #fff; }

@media (max-width: 1199px) {
  body.nv-vypis .nv-chips { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x proximity; }
  body.nv-vypis .nv-chips::-webkit-scrollbar { display: none; }
  body.nv-vypis .nv-chip { flex: 0 0 auto; scroll-snap-align: start; }
  body.nv-vypis .nv-chip__t { white-space: nowrap; }
}
@media (max-width: 767px) {
  body.nv-vypis .category-top { padding-top: 16px !important; }
  body.nv-vypis .nv-head, body.nv-vypis .nv-after { padding-left: 14px; padding-right: 14px; }
  body.nv-vypis .nv-chips { margin-right: -14px; }
  body.nv-vypis .nv-total { font-size: 13px; }
  body.nv-vypis .nv-lead { font-size: 14.5px; }
  body.nv-vypis .nv-chips { margin-top: 16px; }
  body.nv-vypis .nv-chip { min-height: 50px; font-size: 14px; }
  body.nv-vypis .nv-chev { display: none; }
  body.nv-vypis .nv-bar__lbl, body.nv-vypis .nv-dds { display: none; }
  body.nv-vypis .nv-fbtn { display: inline-flex; }
  body.nv-vypis .nv-sort { flex: 1; margin-left: 0; }
  body.nv-vypis .nv-sort__sel { width: 100%; }
  body.nv-vypis .nv-helper { padding: 16px; gap: 12px; }
  body.nv-vypis .nv-helper__i { width: 40px; height: 40px; }
  body.nv-vypis .nv-helper__i svg { width: 20px; height: 20px; }
  body.nv-vypis .nv-helper__t { font-size: 15px; }
  body.nv-vypis .nv-helper__p { display: none; }
  body.nv-vypis .nv-after { margin-top: 40px; gap: 36px; }
  body.nv-vypis .nv-after h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body.nv-vypis .nv-chip { transition: none; }
}
