/* Naše Hračkářství — výpis kategorie V74 (2026-09-24)
   Podle schváleného návrhu „Hračkářství – výpis kategorie“:
   žlutý pruh s názvem a podkategoriemi, levý panel (kategorie + filtry), řazení jako tlačítka,
   hravé karty produktů, pruh s dopravou zdarma, velké „Načíst další“.
   Vše je vázané na body.nh-cat (přidá nh-category-v74.js jen na stránkách kategorií). */

body.nh-cat {
  --nhc-navy: #15233b;
  --nhc-ink: #1d2433;
  --nhc-muted: #5b6474;
  --nhc-line: #ece6da;
  --nhc-cream: #fffaf2;
  --nhc-yellow: #f5b800;
  --nhc-yellow-d: #e0a600;
  --nhc-sun: #fff3d1;
  --nhc-coral: #d9402a;
  --nhc-green: #17803d;
  --nhc-display: Fredoka, "Nunito", system-ui, sans-serif;
  --nhc-body: Nunito, system-ui, sans-serif;
}

html body.nh-cat .content-wrapper,
html body.nh-cat #content-wrapper { background: var(--nhc-cream) !important; }
html body.nh-cat #content { font-family: var(--nhc-body); color: var(--nhc-ink); }

/* ---------- 1. Žlutý pruh: název, počet, úvod, podkategorie ---------- */
html body.nh-cat #content > .category-top {
  position: relative;
  overflow: hidden;
  margin: 18px 0 0 !important;
  padding: 28px 32px 26px !important;
  border-radius: 28px;
  background: var(--nhc-sun) !important;
}
html body.nh-cat #content > .category-top::before,
html body.nh-cat #content > .category-top::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
html body.nh-cat #content > .category-top::before { right: -40px; top: -60px; width: 240px; height: 240px; background: #ffe39a; }
html body.nh-cat #content > .category-top::after { right: 150px; bottom: -80px; width: 150px; height: 150px; background: #ffd9c9; }
html body.nh-cat #content > .category-top > * { position: relative; z-index: 1; }

html body.nh-cat .nhc-title-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 10px; }
html body.nh-cat #content > .category-top h1.category-title {
  margin: 0 !important;
  font-family: var(--nhc-display) !important;
  font-size: clamp(30px, 3.2vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: var(--nhc-navy) !important;
  text-align: left !important;
  letter-spacing: 0 !important;
}
html body.nh-cat .nhc-count {
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--nhc-navy);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
html body.nh-cat #content > .category-top .category-perex {
  max-width: 780px;
  margin: 0 !important;
  color: #3d4556 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
html body.nh-cat #content > .category-top .nh-category-intro-toggle {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--nhc-navy) !important;
  font-weight: 800 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Podkategorie jako kulaté dlaždice s obrázkem */
html body.nh-cat #content > .category-top ul.subcategories {
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px 10px;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none;
}
html body.nh-cat #content > .category-top ul.subcategories::before,
html body.nh-cat #content > .category-top ul.subcategories::after { display: none !important; }
html body.nh-cat #content > .category-top ul.subcategories > li {
  width: 118px !important;
  max-width: none !important;
  flex: 0 0 118px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
html body.nh-cat #content > .category-top ul.subcategories > li > a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--nhc-ink) !important;
  text-decoration: none !important;
}
html body.nh-cat #content > .category-top ul.subcategories > li > a .image {
  display: flex !important;
  width: 84px !important;
  height: 84px !important;
  flex: 0 0 84px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border: 2px solid #fff;
  border-radius: 28px;
  background: var(--nhc-tile, #fff);
  box-shadow: 0 4px 12px rgba(21, 35, 59, .08);
  overflow: hidden;
  transition: transform .15s ease;
}
html body.nh-cat #content > .category-top ul.subcategories > li > a .image img {
  width: 58px !important;
  height: 58px !important;
  max-width: none !important;
  object-fit: contain;
}
html body.nh-cat #content > .category-top ul.subcategories > li > a .text {
  display: block !important;
  width: 100%;
  padding: 0 !important;
  color: var(--nhc-ink) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  -webkit-line-clamp: 3;
}
html body.nh-cat #content > .category-top ul.subcategories > li > a:hover .image { transform: translateY(-3px); }
html body.nh-cat #content > .category-top ul.subcategories > li.nhc-sub-hidden { display: none !important; }
html body.nh-cat #content > .category-top ul.subcategories > li.nhc-sub-more button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 118px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nhc-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
html body.nh-cat #content > .category-top ul.subcategories > li.nhc-sub-more button span:first-child {
  display: flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px dashed #e0cf9f;
  border-radius: 28px;
  background: #fff;
  color: var(--nhc-navy);
  font-family: var(--nhc-display);
  font-size: 22px;
  font-weight: 700;
}

/* Nejprodávanější nahoře – schovat, bere místo a ukazuje i vyprodané */
html body.nh-cat #content > .category-top .products-top-wrapper { display: none !important; }

/* ---------- 2. Dvousloupcové rozvržení: panel + výpis ---------- */
html body.nh-cat .nhc-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 26px 0 40px;
}
html body.nh-cat .nhc-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
html body.nh-cat .nhc-main > .category-content-wrapper { margin: 0 !important; padding: 0 !important; }
html body.nh-cat .nhc-side { display: flex; flex-direction: column; gap: 16px; }
html body.nh-cat .nhc-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--nhc-line);
  border-radius: 20px;
  background: #fff;
}
html body.nh-cat .nhc-box > h2 {
  margin: 0 !important;
  font-family: var(--nhc-display) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--nhc-navy) !important;
  text-transform: none !important;
}

/* Strom kategorií */
html body.nh-cat .nhc-cats { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
html body.nh-cat .nhc-cats a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--nhc-ink) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
}
html body.nh-cat .nhc-cats a:hover { background: #faf5ea; }
html body.nh-cat .nhc-cats a[aria-current="page"],
html body.nh-cat .nhc-cats a.nhc-open { background: var(--nhc-sun); color: var(--nhc-navy) !important; font-weight: 800; }
html body.nh-cat .nhc-cats ul { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 4px 14px; padding: 0; list-style: none; }
html body.nh-cat .nhc-cats ul a { font-weight: 600; font-size: 13.5px; }

/* Nativní filtry Shoptetu přesunuté do panelu */
html body.nh-cat .nhc-side #filters-wrapper,
html body.nh-cat .nhc-main #filters-wrapper { display: none !important; }
html body.nh-cat .nhc-box .slider-wrapper > h4 { display: none !important; }
html body.nh-cat .nhc-box .slider-wrapper { margin: 4px 6px 0 !important; padding: 0 !important; }
html body.nh-cat .nhc-box .slider-header {
  display: flex !important;
  justify-content: space-between;
  order: 2;
  margin: 14px -6px 0 !important;
  color: var(--nhc-ink);
  font-size: 13px;
  font-weight: 700;
}
html body.nh-cat .nhc-box .slider-wrapper { display: flex; flex-direction: column-reverse; }
html body.nh-cat .nhc-box .ui-slider-horizontal {
  height: 6px !important;
  margin: 10px 0 0 !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: #efe9dd !important;
}
html body.nh-cat .nhc-box .ui-slider .ui-slider-range { background: var(--nhc-yellow) !important; border-radius: 3px; }
html body.nh-cat .nhc-box .ui-slider .ui-slider-handle {
  top: -7px !important;
  width: 18px !important;
  height: 18px !important;
  margin-left: -9px !important;
  box-sizing: border-box;
  border: 3px solid var(--nhc-navy) !important;
  border-radius: 50% !important;
  background: #fff !important;
  cursor: grab;
}
html body.nh-cat .nhc-box .filter-section {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html body.nh-cat .nhc-box .filter-section > h4 { display: none !important; }
html body.nh-cat .nhc-box fieldset { margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body.nh-cat .nhc-box .filter-section label,
html body.nh-cat .nhc-box .filter-section .filter-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 6px 0 !important;
  color: var(--nhc-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
html body.nh-cat .nhc-box .filter-section input[type="checkbox"] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  accent-color: var(--nhc-navy);
  flex: 0 0 20px;
}
html body.nh-cat .nhc-box .filter-count { margin-left: auto; color: var(--nhc-muted) !important; font-weight: 600; }
html body.nh-cat .nhc-box .filter-section-button,
html body.nh-cat .nhc-box .filter-section-count { display: none !important; }
html body.nh-cat .nhc-box #category-filter-hover { display: block !important; position: static !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
html body.nh-cat .nhc-box .nhc-more-brands { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--nhc-navy); font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body.nh-cat .nhc-box .nhc-brand-hidden { display: none !important; }

/* ---------- 3. Lišta řazení: nativní tlačítka Shoptetu jako řada „pilulek“ ---------- */
html body.nh-cat .nhc-main #category-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 !important;
  padding: 6px !important;
  border: 1px solid var(--nhc-line) !important;
  border-radius: 999px;
  background: #fff !important;
}
html body.nh-cat .nhc-main #category-header .category-header-pagination { order: 3; padding-right: 14px; color: var(--nhc-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
html body.nh-cat .nhc-main #category-header .category-header-pagination strong { color: var(--nhc-muted); font-weight: 800; }
html body.nh-cat .nhc-main #category-header .listSorting { order: 2; position: static !important; flex: 1 1 auto; min-width: 0; margin: 0 !important; }
html body.nh-cat .nhc-main #category-header .sortingToggle { display: none !important; }
html body.nh-cat .nhc-main #category-header #listSortingControls,
html body.nh-cat .nhc-main #category-header .listSorting__controls {
  position: static !important;
  display: flex !important;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  list-style: none;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
html body.nh-cat .nhc-main #category-header #listSortingControls li { margin: 0 !important; padding: 0 !important; border: 0 !important; list-style: none; }
html body.nh-cat .nhc-main #category-header .listSorting__control {
  display: inline-flex !important;
  align-items: center;
  height: 38px;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--nhc-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  cursor: pointer;
}
html body.nh-cat .nhc-main #category-header .listSorting__control:hover { background: #faf5ea !important; }
html body.nh-cat .nhc-main #category-header .listSorting__control--current { background: var(--nhc-navy) !important; color: #fff !important; }
html body.nh-cat .nhc-main #category-header .listSorting__control::before,
html body.nh-cat .nhc-main #category-header .listSorting__control::after { display: none !important; }

/* Hlavičky boxů s filtry už nese panel – nativní nadpisy a obaly skrýt */
html body.nh-cat .nhc-box .filter-section-boolean .param-filter-top,
html body.nh-cat .nhc-box .filter-section-boolean form { display: flex; flex-direction: column; gap: 0; }

/* ---------- 4. Karty produktů ---------- */
html body.nh-cat .nhc-main #products.products-block {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px !important;
  margin: 0 !important;
}
html body.nh-cat .nhc-main #products.products-block::before,
html body.nh-cat .nhc-main #products.products-block::after { display: none !important; }
html body.nh-cat .nhc-main #products > .product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
html body.nh-cat .nhc-main #products > .product > .p {
  position: relative;
  display: flex !important;
  height: 100%;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  padding: 16px !important;
  border: 1px solid var(--nhc-line) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(21, 35, 59, .06) !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
html body.nh-cat .nhc-main #products > .product > .p:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(21, 35, 59, .11) !important; }
html body.nh-cat .nhc-main #products .p > a.image {
  display: flex !important;
  height: 230px !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 14px !important;
  box-sizing: border-box;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--nhc-tile, #fff4e6) !important;
  overflow: hidden;
}
html body.nh-cat .nhc-main #products .p > a.image img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  mix-blend-mode: multiply;
}
html body.nh-cat .nhc-main #products .p-in,
html body.nh-cat .nhc-main #products .p-in-in { display: flex !important; flex-direction: column; gap: 10px; padding: 0 !important; flex: 1 1 auto; }
html body.nh-cat .nhc-main #products .p .name {
  display: -webkit-box !important;
  min-height: 43px;
  margin: 0 !important;
  overflow: hidden;
  color: var(--nhc-ink) !important;
  font-family: var(--nhc-body) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html body.nh-cat .nhc-main #products .p .name:hover { color: #8a6500 !important; }
html body.nh-cat .nhc-main #products .ratings-wrapper { display: flex !important; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 0 !important; }
html body.nh-cat .nhc-main #products .stars-placeholder { display: none !important; }
html body.nh-cat .nhc-main #products .availability {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  padding: 4px 10px 4px 8px !important;
  border-radius: 999px;
  background: #e7f5ec !important;
  color: var(--nhc-green) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}
html body.nh-cat .nhc-main #products .availability::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body.nh-cat .nhc-main #products .availability span { color: inherit !important; font-weight: inherit !important; }
html body.nh-cat .nhc-main #products .availability.nhc-out { background: #fdecea !important; color: var(--nhc-coral) !important; }
html body.nh-cat .nhc-main #products .availability.nhc-out::before { display: none; }
html body.nh-cat .nhc-main #products .p > .p-code,
html body.nh-cat .nhc-main #products .nhc-code {
  position: static !important;
  color: var(--nhc-muted) !important;
  font-size: 12px !important;
  font-weight: 600;
}
html body.nh-cat .nhc-main #products .p > .p-code { display: none !important; }
html body.nh-cat .nhc-main #products .p-bottom { margin-top: auto !important; padding: 0 !important; border: 0 !important; }
html body.nh-cat .nhc-main #products .p-bottom > div { display: flex; flex-direction: column; gap: 12px; }
html body.nh-cat .nhc-main #products .p-desc { display: none !important; }
html body.nh-cat .nhc-main #products .prices {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 !important;
  padding: 0 !important;
}
html body.nh-cat .nhc-main #products .price-final,
html body.nh-cat .nhc-main #products .price-final strong {
  margin: 0 !important;
  font-family: var(--nhc-display) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: var(--nhc-navy) !important;
}
html body.nh-cat .nhc-main #products .price-standard,
html body.nh-cat .nhc-main #products .price-standard * { color: var(--nhc-muted) !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: line-through; }
html body.nh-cat .nhc-main #products .price-additional { display: none !important; }
html body.nh-cat .nhc-main #products .nhc-save { flex-basis: 100%; color: var(--nhc-coral); font-size: 12px; font-weight: 800; }
/* Sleva jako štítek na obrázku */
html body.nh-cat .nhc-main #products .prices > .price-save {
  position: absolute !important;
  left: 26px !important;
  top: 26px !important;
  right: auto !important;
  z-index: 2;
  margin: 0 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: var(--nhc-coral) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
html body.nh-cat .nhc-main #products .flags { left: auto !important; right: 26px !important; top: 26px !important; }

/* Počet kusů + Do košíku */
html body.nh-cat .nhc-main #products .p-tools { display: block !important; margin: 0 !important; padding: 0 !important; }
html body.nh-cat .nhc-main #products .p-tools form { display: flex !important; align-items: stretch; gap: 8px; margin: 0 !important; }
html body.nh-cat .nhc-main #products .p-tools .quantity {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  height: 46px !important;
  margin: 0 !important;
  border: 1.5px solid var(--nhc-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden;
}
html body.nh-cat .nhc-main #products .p-tools .quantity input { width: 30px !important; height: 44px !important; border: 0 !important; background: transparent !important; text-align: center; font-weight: 700; color: var(--nhc-ink); }
html body.nh-cat .nhc-main #products .p-tools .quantity button,
html body.nh-cat .nhc-main #products .p-tools .quantity .increase,
html body.nh-cat .nhc-main #products .p-tools .quantity .decrease { width: 32px !important; height: 44px !important; border: 0 !important; background: transparent !important; color: var(--nhc-navy) !important; }
html body.nh-cat .nhc-main #products .p-tools .btn,
html body.nh-cat .nhc-main #products .p-tools button[type="submit"],
html body.nh-cat .nhc-main #products .p-tools .add-to-cart-button {
  flex: 1 1 auto;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--nhc-yellow) !important;
  box-shadow: 0 3px 0 var(--nhc-yellow-d) !important;
  color: var(--nhc-navy) !important;
  font-family: var(--nhc-display) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
html body.nh-cat .nhc-main #products .p-tools .btn:hover,
html body.nh-cat .nhc-main #products .p-tools button[type="submit"]:hover { background: #ffc81f !important; }
html body.nh-cat .nhc-main #products .p-tools .btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--nhc-yellow-d) !important; }

/* ---------- 5. Pruh s dopravou + Načíst další ---------- */
html body.nh-cat .nhc-promo {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--nhc-navy);
  color: #fff;
}
html body.nh-cat .nhc-promo__icon { display: flex; width: 56px; height: 56px; flex: 0 0 56px; align-items: center; justify-content: center; border-radius: 18px; background: var(--nhc-yellow); }
html body.nh-cat .nhc-promo__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--nhc-navy); stroke-width: 2; stroke-linejoin: round; }
html body.nh-cat .nhc-promo__text { flex: 1 1 auto; }
html body.nh-cat .nhc-promo__text strong { display: block; font-family: var(--nhc-display); font-size: 22px; font-weight: 600; }
html body.nh-cat .nhc-promo__text span { color: #c9d2e3; font-size: 14px; }
html body.nh-cat .nhc-promo a { display: flex; height: 44px; align-items: center; padding: 0 18px; border-radius: 12px; background: #fff; color: var(--nhc-navy) !important; font-weight: 800; text-decoration: none !important; white-space: nowrap; }

html body.nh-cat .nhc-main .listingControls {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  padding: 6px 0 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html body.nh-cat .nhc-main .listingControls .loadMore__button,
html body.nh-cat .nhc-main .listingControls .load-products {
  display: inline-flex !important;
  align-items: center;
  height: 52px !important;
  padding: 0 34px !important;
  border: 2px solid var(--nhc-navy) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--nhc-navy) !important;
  font-family: var(--nhc-display) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
html body.nh-cat .nhc-main .listingControls .pagination { margin: 0 !important; }
html body.nh-cat .nhc-main .listingControls .pagination__list { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none; }
html body.nh-cat .nhc-main .listingControls .pagination__list li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body.nh-cat .nhc-main .listingControls .pagination a,
html body.nh-cat .nhc-main .listingControls .pagination strong,
html body.nh-cat .nhc-main .listingControls .pagination span.pagination__link {
  display: flex !important;
  min-width: 42px;
  height: 42px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 8px !important;
  border: 1px solid var(--nhc-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--nhc-ink) !important;
  font-weight: 800;
  text-decoration: none !important;
}
html body.nh-cat .nhc-main .listingControls .pagination strong,
html body.nh-cat .nhc-main .listingControls .pagination__currentPage { background: var(--nhc-navy) !important; border-color: var(--nhc-navy) !important; color: #fff !important; }
html body.nh-cat .nhc-main .category__secondDescription { margin-top: 10px !important; padding: 24px !important; border-radius: 22px; background: #fff; border: 1px solid var(--nhc-line); }

/* Mobilní tlačítko Filtry (na počítači skryté) */
html body.nh-cat .nhc-filter-open { display: none; }
html body.nh-cat .nhc-side-close { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  html body.nh-cat .nhc-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
  html body.nh-cat .nhc-main #products.products-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.nh-cat .nhc-main #category-header .listSorting__control { padding: 0 10px !important; font-size: 13px !important; }
}

/* ---------- Mobil: panel jako vysouvací okno ---------- */
@media (max-width: 991px) {
  html body.nh-cat .nhc-layout { display: block; margin-top: 14px; }
  html body.nh-cat #content > .category-top { margin: 12px 0 0 !important; padding: 18px !important; border-radius: 22px; }
  html body.nh-cat #content > .category-top::before,
  html body.nh-cat #content > .category-top::after { display: none; }
  html body.nh-cat #content > .category-top ul.subcategories {
    flex-wrap: nowrap;
    gap: 8px;
    margin: 14px -18px 0 !important;
    padding: 0 18px 4px !important;
    overflow-x: auto;
    scrollbar-width: none;
  }
  html body.nh-cat #content > .category-top ul.subcategories > li { width: auto !important; flex: 0 0 auto; }
  html body.nh-cat #content > .category-top ul.subcategories > li.nhc-sub-hidden { display: block !important; }
  html body.nh-cat #content > .category-top ul.subcategories > li.nhc-sub-more { display: none !important; }
  html body.nh-cat #content > .category-top ul.subcategories > li > a {
    flex-direction: row !important;
    gap: 8px;
    height: 40px !important;
    padding: 0 14px 0 5px !important;
    border-radius: 999px !important;
    background: #fff !important;
  }
  html body.nh-cat #content > .category-top ul.subcategories > li > a .image { width: 30px !important; height: 30px !important; flex-basis: 30px; border: 0; border-radius: 50%; box-shadow: none; }
  html body.nh-cat #content > .category-top ul.subcategories > li > a .image img { width: 24px !important; height: 24px !important; }
  html body.nh-cat #content > .category-top ul.subcategories > li > a .text { width: auto; white-space: nowrap !important; }

  html body.nh-cat .nhc-side {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1200;
    width: min(360px, 88vw);
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    background: var(--nhc-cream);
    box-shadow: 10px 0 40px rgba(21, 35, 59, .25);
    transform: translateX(-105%);
    transition: transform .22s ease;
  }
  html body.nh-cat.nhc-side-open .nhc-side { transform: none; }
  html body.nh-cat.nhc-side-open::after { content: ""; position: fixed; inset: 0; z-index: 1199; background: rgba(21, 35, 59, .45); }
  html body.nh-cat .nhc-side-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--nhc-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--nhc-navy);
  }
  html body.nh-cat .nhc-side-close button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; color: var(--nhc-navy); font-size: 22px; }

  html body.nh-cat .nhc-filter-open {
    display: flex;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 0;
    border: 0;
    border-radius: 14px;
    background: var(--nhc-navy);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
  }
  html body.nh-cat .nhc-main #category-header { flex-wrap: wrap; border-radius: 18px; padding: 8px !important; }
  html body.nh-cat .nhc-main #category-header .listSorting { order: 2; width: 100%; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; }
  html body.nh-cat .nhc-main #category-header .category-header-pagination { width: 100%; padding: 2px 8px 0; font-size: 13px; }

  html body.nh-cat .nhc-main #products.products-block { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
  html body.nh-cat .nhc-main #products > .product > .p { gap: 8px; padding: 10px !important; border-radius: 18px !important; }
  html body.nh-cat .nhc-main #products .p > a.image { height: 150px !important; padding: 8px !important; border-radius: 12px !important; }
  html body.nh-cat .nhc-main #products .p .name { min-height: 38px; font-size: 14px !important; }
  html body.nh-cat .nhc-main #products .price-final,
  html body.nh-cat .nhc-main #products .price-final strong { font-size: 21px !important; }
  html body.nh-cat .nhc-main #products .prices > .price-save { left: 16px !important; top: 16px !important; font-size: 12px !important; }
  html body.nh-cat .nhc-main #products .p-tools .quantity { display: none !important; }
  html body.nh-cat .nhc-main #products .p-tools .btn,
  html body.nh-cat .nhc-main #products .p-tools button[type="submit"] { height: 44px !important; font-size: 15px !important; }
  html body.nh-cat .nhc-main #products .nhc-code { display: none; }
  html body.nh-cat .nhc-promo { flex-wrap: wrap; gap: 14px; padding: 18px; }
  html body.nh-cat .nhc-promo a { width: 100%; justify-content: center; }
  html body.nh-cat .nhc-main .listingControls .pagination { display: none !important; }
}

/* ---------- V74b doladění pruhu s podkategoriemi ---------- */
/* Úvodní text bez modrého rámečku z nh-global – čistý text jako v návrhu */
html body.nh-cat #content > .category-top .category-perex,
html body.nh-cat #content > .category-top .category-perex > * {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html body.nh-cat #content > .category-top .category-perex,
html body.nh-cat #content > .category-top .category-perex * { color: #3d4556 !important; }
html body.nh-cat #content > .category-top .category-perex strong,
html body.nh-cat #content > .category-top .category-perex b,
html body.nh-cat #content > .category-top .category-perex h2,
html body.nh-cat #content > .category-top .category-perex h3 { color: var(--nhc-navy) !important; font-weight: 800 !important; }
html body.nh-cat #content > .category-top .category-perex p { margin: 0 0 6px !important; }

/* Dlaždice: všechny ikony na jedné lince, název max. 2 řádky, vše v jedné řadě */
html body.nh-cat #content > .category-top ul.subcategories { align-items: flex-start !important; gap: 14px 8px !important; }
html body.nh-cat #content > .category-top ul.subcategories > li { width: 108px !important; flex: 0 0 108px !important; }
html body.nh-cat #content > .category-top ul.subcategories > li > a { justify-content: flex-start !important; }
html body.nh-cat #content > .category-top ul.subcategories > li > a .text {
  display: -webkit-box !important;
  min-height: 2.5em;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html body.nh-cat #content > .category-top ul.subcategories > li > a .image img { mix-blend-mode: multiply; }
html body.nh-cat #content > .category-top ul.subcategories > li.nhc-sub-more button { width: 108px; }
@media (max-width: 991px) {
  html body.nh-cat #content > .category-top ul.subcategories > li { width: auto !important; flex: 0 0 auto !important; }
  html body.nh-cat #content > .category-top ul.subcategories > li > a .text { display: block !important; min-height: 0; -webkit-line-clamp: unset; }
}

/* ---------- V74b: řádky filtrů (Shoptet: fieldset > div > input + label.filter-label) ---------- */
html body.nh-cat .nhc-box .filter-section fieldset > div {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}
html body.nh-cat .nhc-box .filter-section fieldset > div > input[type="checkbox"] {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 20px !important;
  height: 20px !important;
  margin: -10px 0 0 !important;
  opacity: 0 !important;
  z-index: 2;
  cursor: pointer;
}
html body.nh-cat .nhc-box .filter-section fieldset > div > label.filter-label {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 7px 0 7px 32px !important;
  color: var(--nhc-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  text-indent: 0 !important;
  cursor: pointer;
}
html body.nh-cat .nhc-box .filter-section fieldset > div > label.filter-label::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 20px !important;
  height: 20px !important;
  margin: -10px 0 0 !important;
  box-sizing: border-box !important;
  border: 2px solid #cfc6b4 !important;
  border-radius: 6px !important;
  background: #fff !important;
  transform: none !important;
}
html body.nh-cat .nhc-box .filter-section fieldset > div > label.filter-label::after {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 50% !important;
  width: 6px !important;
  height: 11px !important;
  margin: -7px 0 0 !important;
  border: solid #fff !important;
  border-width: 0 2.5px 2.5px 0 !important;
  background: transparent !important;
  transform: rotate(45deg) !important;
  opacity: 0;
}
html body.nh-cat .nhc-box .filter-section fieldset > div > input:checked + label.filter-label::before { background: var(--nhc-navy) !important; border-color: var(--nhc-navy) !important; }
html body.nh-cat .nhc-box .filter-section fieldset > div > input:checked + label.filter-label::after { opacity: 1; }
html body.nh-cat .nhc-box .filter-section fieldset > div > input:focus-visible + label.filter-label::before { outline: 3px solid rgba(245, 184, 0, .5); outline-offset: 2px; }
html body.nh-cat .nhc-box .filter-section fieldset > div > input:disabled + label.filter-label { opacity: .45; cursor: default; }
html body.nh-cat .nhc-box .filter-section .filter-count {
  margin-left: auto !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--nhc-muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
html body.nh-cat .nhc-box .filter-section fieldset > div.nhc-brand-hidden { display: none !important; }

/* ---------- V74b: Načíst další – rámeček jen na tlačítku, ne na obalu ---------- */
html body.nh-cat .nhc-main .listingControls .loadMore {
  display: block !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* ---------- V74c: mobil – podkategorie jako mřížka 2 sloupce (bez posuvu do strany) ---------- */
@media (max-width: 991px) {
  html body.nh-cat.type-category #content > .category-top ul.subcategories {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    width: auto !important;
  }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    flex: none !important;
  }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li.nhc-sub-hidden { display: none !important; }
  html body.nh-cat.type-category.nhc-subs-all #content > .category-top ul.subcategories > li.nhc-sub-hidden { display: block !important; }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li > a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 6px 8px 6px 6px !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(21, 35, 59, .06) !important;
  }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li > a::after,
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li > a::before { display: none !important; }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li > a .image {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    transform: none !important;
  }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li > a .image img { width: 34px !important; height: 34px !important; }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li > a .text {
    display: -webkit-box !important;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    min-height: 0 !important;
    overflow: hidden !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2 !important;
  }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li.nhc-sub-more { display: block !important; grid-column: 1 / -1; }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li.nhc-sub-more button {
    flex-direction: row !important;
    justify-content: center;
    width: 100% !important;
    height: 44px;
    border: 2px dashed #e0cf9f;
    border-radius: 14px;
    background: #fff;
  }
  html body.nh-cat.type-category #content > .category-top ul.subcategories > li.nhc-sub-more button span:first-child {
    width: auto !important; height: auto !important; border: 0 !important; background: none !important; font-size: 15px;
  }
}

/* ---------- V74c: mobil – řazení bez posuvu, všechny volby viditelné ---------- */
@media (max-width: 991px) {
  html body.nh-cat .nhc-main #category-header .listSorting { overflow: visible !important; }
  html body.nh-cat .nhc-main #category-header #listSortingControls,
  html body.nh-cat .nhc-main #category-header .listSorting__controls { flex-wrap: wrap !important; gap: 6px !important; }
  html body.nh-cat .nhc-main #category-header .listSorting__control {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 0 !important;
    padding: 0 12px !important;
    background: #f6f1e6 !important;
    font-size: 13px !important;
  }
  html body.nh-cat .nhc-main #category-header .listSorting__control--current { background: var(--nhc-navy) !important; color: #fff !important; }

  /* Pruh s dopravou zdarma kompaktně: ikona vedle textu, tlačítko pod tím */
  html body.nh-cat .nhc-promo {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px !important;
    padding: 16px !important;
  }
  html body.nh-cat .nhc-promo__icon { width: 44px !important; height: 44px !important; border-radius: 14px !important; }
  html body.nh-cat .nhc-promo__icon svg { width: 24px !important; height: 24px !important; }
  html body.nh-cat .nhc-promo__text strong { font-size: 18px !important; line-height: 1.2; }
  html body.nh-cat .nhc-promo__text span { display: block; font-size: 13px !important; line-height: 1.35; }
  html body.nh-cat .nhc-promo a { grid-column: 1 / -1; width: 100%; justify-content: center; box-sizing: border-box; }
}
