/* =========================================================================
   NAŠE RYBY — vlastní šablona (Shoptet Blank režim)
   Postaveno na markupu šablony Classic. Shoptet CSS je vypnuté,
   Shoptet JavaScript zůstává zapnutý (košík, ajax, validace, mobilní menu).

   Zdroj vzhledu: Nase-Ryby-Eshop.dc.html (grafický manuál + návrhy stránek)
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENY
   ------------------------------------------------------------------------- */
:root {
  /* paleta z grafického manuálu */
  --nr-modra:        #1a4fd6;   /* Rybářská modrá — primární akce */
  --nr-modra-tmava:  #1740ad;   /* hover primární */
  --nr-hlubina:      #0b1a30;   /* tmavé plochy, topbar, patička */
  --nr-hlubina-2:    #12233d;   /* světlejší varianta hlubiny */
  --nr-inkoust:      #15181d;   /* základní text */
  --nr-mlha:         #eef3fb;   /* světlé podbarvení sekcí */
  --nr-odlesk:       #4d82f0;   /* akcent, odkazy na tmavém */
  --nr-papir:        #ffffff;

  /* doplňkové odstíny odvozené z návrhu */
  --nr-text-2:       #5b6472;   /* sekundární text */
  --nr-text-3:       #9aa6b8;   /* placeholdery, popisky */
  --nr-linka:        #e2e8f2;   /* rámečky */
  --nr-linka-2:      #eef2f7;   /* jemné oddělovače */
  --nr-podklad:      #f2f5fa;   /* pozadí inputů */
  --nr-topbar-text:  #dbe4f2;
  --nr-sleva:        #e11d2a;   /* červená pro slevu */

  /* rádiusy dle manuálu */
  --r-stitek: 5px;
  --r-input:  7px;
  --r-btn:    8px;
  --r-karta:  10px;
  --r-panel:  16px;

  /* typografie */
  --f-text:   'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-nadpis: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  /* rytmus */
  --sirka:    1360px;
  --mezera:   24px;

  --stin-karta: 0 1px 2px rgba(11,26,48,.05), 0 8px 24px rgba(11,26,48,.06);
  --stin-panel: 0 30px 70px rgba(11,26,48,.22);
}

/* -------------------------------------------------------------------------
   2. RESET A ZÁKLAD
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--nr-inkoust);
  background: var(--nr-papir);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }

a { color: var(--nr-modra); text-decoration: none; transition: color .15s ease; }
a:hover, a:focus { color: var(--nr-modra-tmava); text-decoration: underline; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5 {
  margin: 0 0 .5em;
  font-family: var(--f-nadpis);
  font-weight: 800;
  text-transform: uppercase;
  /* Grafický manuál uvádí line-height .98, jenže ten počítá s anglickou
     sazbou. U češtiny to ořezává horní diakritiku — kroužek nad Ů, háčky
     nad Ř/Č/Š. Proto 1.06; vizuálně je to prakticky totéž, ale čitelné. */
  line-height: 1.06;
  letter-spacing: .01em;
  color: var(--nr-hlubina);
}
h1, .h1 { font-size: clamp(30px, 4vw, 46px); }
h2, .h2 { font-size: clamp(24px, 3vw, 34px); }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 18px; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--nr-linka); margin: 32px 0; }

/* viditelný focus — přístupnost; Shoptet default se vypnutím CSS ztratil */
:focus-visible {
  outline: 3px solid var(--nr-odlesk);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 999;
  width: auto; height: auto; clip: auto;
  padding: 12px 20px; background: var(--nr-hlubina); color: #fff;
  border-radius: var(--r-btn);
}

/* -------------------------------------------------------------------------
   3. LAYOUT
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--sirka);
  margin: 0 auto;
  padding: 0 var(--mezera);
}

.overall-wrapper { overflow-x: clip; }

#content-wrapper.content-wrapper { padding: 28px 0 56px; }

.content-wrapper-in { display: flex; align-items: flex-start; gap: 32px; }

main.content { min-width: 0; flex: 1; }
main.content.wide { width: 100%; }

aside.sidebar { flex: 0 0 268px; width: 268px; }

@media (max-width: 991px) {
  .content-wrapper-in { display: block; }
  aside.sidebar { width: 100%; margin-top: 32px; }
}

/* pruh přes celou šířku se světlým podkladem */
.homepage-box { padding: 44px 0; }
.homepage-box:nth-of-type(odd) { background: var(--nr-mlha); }   /* nth-of-type(even) nikdy nesedl – .homepage-box je 5. div ve wrapperu */

/* -------------------------------------------------------------------------
   3b. MŘÍŽKA (kompatibilní s Bootstrap 3)

   Šablona Classic sází .row / .col-sm-8 / .col-xs-6 … a Blank režim
   Bootstrap odstranil spolu se Shoptet CSS. Bez téhle sekce se rozsype
   titulní strana, košík i pokladna. Generováno skriptem, 12 sloupců.
   ------------------------------------------------------------------------- */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
[class*="col-"] {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-left: 12px;
  padding-right: 12px;
}

.col-xs-1{flex:0 0 8.333333%;max-width:8.333333%}
.col-xs-2{flex:0 0 16.666667%;max-width:16.666667%}
.col-xs-3{flex:0 0 25.000000%;max-width:25.000000%}
.col-xs-4{flex:0 0 33.333333%;max-width:33.333333%}
.col-xs-5{flex:0 0 41.666667%;max-width:41.666667%}
.col-xs-6{flex:0 0 50.000000%;max-width:50.000000%}
.col-xs-7{flex:0 0 58.333333%;max-width:58.333333%}
.col-xs-8{flex:0 0 66.666667%;max-width:66.666667%}
.col-xs-9{flex:0 0 75.000000%;max-width:75.000000%}
.col-xs-10{flex:0 0 83.333333%;max-width:83.333333%}
.col-xs-11{flex:0 0 91.666667%;max-width:91.666667%}
.col-xs-12{flex:0 0 100.000000%;max-width:100.000000%}
.col-xs-offset-0{margin-left:0.000000%}
.col-xs-offset-1{margin-left:8.333333%}
.col-xs-offset-2{margin-left:16.666667%}
.col-xs-offset-3{margin-left:25.000000%}
.col-xs-offset-4{margin-left:33.333333%}
.col-xs-offset-5{margin-left:41.666667%}
.col-xs-offset-6{margin-left:50.000000%}
.col-xs-offset-7{margin-left:58.333333%}
.col-xs-offset-8{margin-left:66.666667%}
.col-xs-offset-9{margin-left:75.000000%}
.col-xs-offset-10{margin-left:83.333333%}
.col-xs-offset-11{margin-left:91.666667%}

@media (min-width: 768px) {
  .col-sm-1{flex:0 0 8.333333%;max-width:8.333333%}
  .col-sm-2{flex:0 0 16.666667%;max-width:16.666667%}
  .col-sm-3{flex:0 0 25.000000%;max-width:25.000000%}
  .col-sm-4{flex:0 0 33.333333%;max-width:33.333333%}
  .col-sm-5{flex:0 0 41.666667%;max-width:41.666667%}
  .col-sm-6{flex:0 0 50.000000%;max-width:50.000000%}
  .col-sm-7{flex:0 0 58.333333%;max-width:58.333333%}
  .col-sm-8{flex:0 0 66.666667%;max-width:66.666667%}
  .col-sm-9{flex:0 0 75.000000%;max-width:75.000000%}
  .col-sm-10{flex:0 0 83.333333%;max-width:83.333333%}
  .col-sm-11{flex:0 0 91.666667%;max-width:91.666667%}
  .col-sm-12{flex:0 0 100.000000%;max-width:100.000000%}
  .col-sm-offset-0{margin-left:0.000000%}
  .col-sm-offset-1{margin-left:8.333333%}
  .col-sm-offset-2{margin-left:16.666667%}
  .col-sm-offset-3{margin-left:25.000000%}
  .col-sm-offset-4{margin-left:33.333333%}
  .col-sm-offset-5{margin-left:41.666667%}
  .col-sm-offset-6{margin-left:50.000000%}
  .col-sm-offset-7{margin-left:58.333333%}
  .col-sm-offset-8{margin-left:66.666667%}
  .col-sm-offset-9{margin-left:75.000000%}
  .col-sm-offset-10{margin-left:83.333333%}
  .col-sm-offset-11{margin-left:91.666667%}
}

@media (min-width: 992px) {
  .col-md-1{flex:0 0 8.333333%;max-width:8.333333%}
  .col-md-2{flex:0 0 16.666667%;max-width:16.666667%}
  .col-md-3{flex:0 0 25.000000%;max-width:25.000000%}
  .col-md-4{flex:0 0 33.333333%;max-width:33.333333%}
  .col-md-5{flex:0 0 41.666667%;max-width:41.666667%}
  .col-md-6{flex:0 0 50.000000%;max-width:50.000000%}
  .col-md-7{flex:0 0 58.333333%;max-width:58.333333%}
  .col-md-8{flex:0 0 66.666667%;max-width:66.666667%}
  .col-md-9{flex:0 0 75.000000%;max-width:75.000000%}
  .col-md-10{flex:0 0 83.333333%;max-width:83.333333%}
  .col-md-11{flex:0 0 91.666667%;max-width:91.666667%}
  .col-md-12{flex:0 0 100.000000%;max-width:100.000000%}
  .col-md-offset-0{margin-left:0.000000%}
  .col-md-offset-1{margin-left:8.333333%}
  .col-md-offset-2{margin-left:16.666667%}
  .col-md-offset-3{margin-left:25.000000%}
  .col-md-offset-4{margin-left:33.333333%}
  .col-md-offset-5{margin-left:41.666667%}
  .col-md-offset-6{margin-left:50.000000%}
  .col-md-offset-7{margin-left:58.333333%}
  .col-md-offset-8{margin-left:66.666667%}
  .col-md-offset-9{margin-left:75.000000%}
  .col-md-offset-10{margin-left:83.333333%}
  .col-md-offset-11{margin-left:91.666667%}
}

@media (min-width: 1200px) {
  .col-lg-1{flex:0 0 8.333333%;max-width:8.333333%}
  .col-lg-2{flex:0 0 16.666667%;max-width:16.666667%}
  .col-lg-3{flex:0 0 25.000000%;max-width:25.000000%}
  .col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}
  .col-lg-5{flex:0 0 41.666667%;max-width:41.666667%}
  .col-lg-6{flex:0 0 50.000000%;max-width:50.000000%}
  .col-lg-7{flex:0 0 58.333333%;max-width:58.333333%}
  .col-lg-8{flex:0 0 66.666667%;max-width:66.666667%}
  .col-lg-9{flex:0 0 75.000000%;max-width:75.000000%}
  .col-lg-10{flex:0 0 83.333333%;max-width:83.333333%}
  .col-lg-11{flex:0 0 91.666667%;max-width:91.666667%}
  .col-lg-12{flex:0 0 100.000000%;max-width:100.000000%}
  .col-lg-offset-0{margin-left:0.000000%}
  .col-lg-offset-1{margin-left:8.333333%}
  .col-lg-offset-2{margin-left:16.666667%}
  .col-lg-offset-3{margin-left:25.000000%}
  .col-lg-offset-4{margin-left:33.333333%}
  .col-lg-offset-5{margin-left:41.666667%}
  .col-lg-offset-6{margin-left:50.000000%}
  .col-lg-offset-7{margin-left:58.333333%}
  .col-lg-offset-8{margin-left:66.666667%}
  .col-lg-offset-9{margin-left:75.000000%}
  .col-lg-offset-10{margin-left:83.333333%}
  .col-lg-offset-11{margin-left:91.666667%}
}

/* -------------------------------------------------------------------------
   4. TLAČÍTKA
   ------------------------------------------------------------------------- */
.btn,
button.btn,
a.btn,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-nadpis);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--r-btn);
  background: var(--nr-modra);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover, .btn:focus,
input[type="submit"]:hover {
  background: var(--nr-modra-tmava);
  color: #fff;
  text-decoration: none;
}

/* sekundární — bílá s tmavým obrysem (dle manuálu 2px) */
.btn-secondary,
.btn-default,
.btn-cancel {
  background: #fff;
  color: var(--nr-hlubina);
  border-color: var(--nr-hlubina);
}
.btn-secondary:hover,
.btn-default:hover,
.btn-cancel:hover {
  background: var(--nr-hlubina);
  color: #fff;
}

.btn-primary, .btn-conversion, .add-to-cart-button {
  background: var(--nr-modra);
  color: #fff;
  border-color: transparent;
}

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ikonová tlačítka v hlavičce */
.btn-icon { padding: 10px 14px; }

/* -------------------------------------------------------------------------
   5. FORMULÁŘE
   ------------------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], input[type="search"],
input[type="url"], select, textarea,
.form-control {
  width: 100%;
  font-family: var(--f-text);
  font-size: 15px;
  color: var(--nr-inkoust);
  background: var(--nr-podklad);
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-karta);
  padding: 12px 16px;
  transition: border-color .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  background: #fff;
  border-color: var(--nr-modra);
}
::placeholder { color: var(--nr-text-3); opacity: 1; }

label { font-weight: 600; font-size: 14px; }

select {
  appearance: none;
  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 fill='%235b6472' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* -------------------------------------------------------------------------
   5b. INFORMAČNÍ PROUŽEK NAD HLAVIČKOU (.site-msg)

   Shoptet ho vykresluje úplně nahoře jako holý text. V grafice je to
   promo pruh, proto Rybářská modrá — odliší se od tmavého pruhu pod ním.
   ------------------------------------------------------------------------- */
.site-msg {
  background: var(--nr-hlubina);
  color: var(--nr-topbar-text);
  font-family: var(--f-nadpis);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.site-msg .container { padding-top: 9px; padding-bottom: 9px; }
.site-msg a { color: #fff; text-decoration: underline; }
.site-msg .close { float: right; color: #fff; opacity: .7; cursor: pointer; }
.site-msg .close:hover { opacity: 1; }

@media (max-width: 767px) {
  .site-msg { font-size: 12px; letter-spacing: .04em; }
}

/* -------------------------------------------------------------------------
   6. HORNÍ INFORMAČNÍ PRUH
   „DOPRAVA ZDARMA NAD 1 500 KČ • SKLADEM IHNED • PORADNA"
   ------------------------------------------------------------------------- */
.top-navigation-bar {
  background: var(--nr-hlubina);
  color: var(--nr-topbar-text);
  font-family: var(--f-nadpis);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.top-navigation-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 40px;
}
.top-navigation-bar a { color: var(--nr-topbar-text); }
.top-navigation-bar a:hover { color: #fff; text-decoration: none; }

.top-navigation-contacts { display: flex; align-items: center; gap: 8px; }
.top-navigation-contacts strong { font-weight: 600; }

.top-navigation-menu { margin-left: auto; }
.top-navigation-bar-menu {
  display: flex; gap: 22px;
  list-style: none; margin: 0; padding: 0;
}
.top-navigation-bar-menu-helper { display: none; }

.top-navigation-tools { display: flex; align-items: center; gap: 14px; }
.top-nav-button {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font: inherit; color: var(--nr-topbar-text);
}
.top-nav-button:hover { color: #fff; }

@media (max-width: 767px) {
  .top-navigation-bar .container { flex-wrap: wrap; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .top-navigation-menu { margin-left: 0; }
  .top-navigation-bar-menu { gap: 14px; font-size: 12px; }
}

/* -------------------------------------------------------------------------
   7. HLAVIČKA
   ------------------------------------------------------------------------- */
header#header {
  background: #fff;
  border-bottom: 1px solid var(--nr-linka-2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.site-name-wrapper { flex: 0 0 auto; }
.site-name a, #linkWebsiteLogo { display: block; }
.site-name img { max-height: 62px; width: auto; }
.site-name a:not(:has(img)) {
  font-family: var(--f-nadpis);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  color: var(--nr-hlubina);
}

/* Vyhledávání — pilulka s modrým tlačítkem uvnitř.
   Pozor: Shoptet vkládá input i tlačítko do <fieldset>, ten je tedy
   skutečný flex kontejner. Tlačítko nemá id, jen data-testid. */
.search { flex: 1; max-width: 560px; }
.search-form {
  background: var(--nr-podklad);
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-karta);
  padding: 0 6px 0 16px;
}
.search-form:focus-within { background: #fff; border-color: var(--nr-modra); }
.search-form fieldset {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0; margin: 0; padding: 0;
  width: 100%;
  min-width: 0;   /* fieldset má výchozí min-width:min-content, jinak se neroztáhne */
}
.search-input, .query-input {
  flex: 1; min-width: 0;
  border: 0;
  background: none;
  padding: 13px 0;
  font-size: 15px;
  border-radius: 0;
}
.search-input:focus, .query-input:focus { background: none; border: 0; outline: none; }
.search-form button[type="submit"],
.search-form .btn {
  flex: 0 0 auto;
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--r-input);
  background: var(--nr-modra);
  color: #fff;
  border: 0;
}
.search-form button[type="submit"]:hover,
.search-form .btn:hover { background: var(--nr-modra-tmava); color: #fff; }

/* košík a účet vpravo */
.navigation-buttons { margin-left: auto; display: flex; align-items: center; gap: 12px; }
#headerCart, .cart-count {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--nr-modra); color: #fff;
  padding: 11px 16px; border-radius: var(--r-karta);
  font-family: var(--f-nadpis); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: 14px;
}
#headerCart:hover { background: var(--nr-modra-tmava); color: #fff; text-decoration: none; }
#headerCartPrice { font-weight: 700; }

@media (max-width: 767px) {
  .header-top { flex-wrap: wrap; gap: 12px; padding: 12px 0; }
  .search { order: 3; flex: 0 0 100%; max-width: none; }
  .navigation-buttons { margin-left: auto; }
  .site-name img { max-height: 46px; }
  header#header { position: static; }
}

/* -------------------------------------------------------------------------
   8. HLAVNÍ NAVIGACE
   ------------------------------------------------------------------------- */
nav#navigation {
  /* návrh má menu jako samostatný tmavý pruh přes celou šířku */
  background: var(--nr-hlubina-2);
  border-top: 0;
  box-shadow: 0 0 0 100vmax var(--nr-hlubina-2);
  clip-path: inset(0 -100vmax);
}

.navigation-in > ul.menu-level-1 {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}
.menu-level-1 > li { position: relative; }
.menu-level-1 > li > a {
  display: block;
  padding: 15px 18px;
  font-family: var(--f-nadpis);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--nr-topbar-text);
}
.menu-level-1 > li > a:hover,
.menu-level-1 > li.active > a {
  color: #fff;
  text-decoration: none;
}
.menu-level-1 > li > a::after {
  content: ""; display: block; height: 3px; margin-top: 6px;
  background: #fff; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.menu-level-1 > li > a:hover::after,
.menu-level-1 > li.active > a::after { transform: scaleX(1); }

/* Rozbalovací podmenu.
   Zobrazení řídí Shoptet JS (třídy .submenu-visible na body a .exp na li),
   proto tady jen vzhled — žádné vlastní skrývání přes opacity, to by se
   se stavovou vrstvou pralo. Hover níže je jen záloha, kdyby JS nedojel. */
.menu-level-2 {
  position: absolute; top: 100%; left: 0; z-index: 120;
  flex-direction: column;   /* Shoptet zobrazuje jako flex, chceme sloupec */
  min-width: 260px;
  list-style: none; margin: 0; padding: 10px 0;
  background: #fff;
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-karta);
  box-shadow: var(--stin-karta);
}
.navigation-in > ul > li.ext:hover > ul,
.navigation-in > ul > li.ext:focus-within > ul { display: flex; }
.menu-level-2 a {
  display: block; padding: 9px 18px;
  color: var(--nr-inkoust); font-size: 15px;
}
.menu-level-2 a:hover { background: var(--nr-mlha); color: var(--nr-modra); text-decoration: none; }
.menu-level-2 a.menu-image { display: none; }

.submenu-arrow { display: inline-block; margin-left: 6px; }

.navigationActions { list-style: none; margin: 0; padding: 0; }

/* Mobilní menu — zobrazování řídí stavová vrstva a Shoptet JS,
   tady je jen vzhled. Proto žádné display:none/block navíc. */
.menu-helper, #hamburgerMenu {
  cursor: pointer;
  padding: 12px 0;
  font-family: var(--f-nadpis); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
@media (max-width: 991px) {
  .navigation-in > ul.menu-level-1 { display: block; }
  .menu-level-1 > li > a { padding: 13px 0; border-bottom: 1px solid var(--nr-linka-2); }
  .menu-level-1 > li > a::after { display: none; }
  .menu-level-2 {
    position: static;
    border: 0; box-shadow: none; padding: 0 0 8px 16px;
  }
}

/* -------------------------------------------------------------------------
   9. DROBEČKOVÁ NAVIGACE
   ------------------------------------------------------------------------- */
.breadcrumbs-wrapper { padding: 16px 0 0; }
.breadcrumbs {
  font-size: 13px;
  color: var(--nr-text-2);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.breadcrumbs a { color: var(--nr-text-2); }
.breadcrumbs a:hover { color: var(--nr-modra); }
.navigation-bullet { color: var(--nr-text-3); }
.breadcrumbs > span:last-child { color: var(--nr-inkoust); font-weight: 600; }

/* -------------------------------------------------------------------------
   10. POSTRANNÍ PANEL A BOXY
   ------------------------------------------------------------------------- */
.sidebar-inner { display: flex; flex-direction: column; gap: 18px; }

.box {
  background: #fff;
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-panel);
  padding: 22px;
}
.box-bg-variant { background: var(--nr-mlha); border-color: transparent; }
.box h3, .box h4, .box .h4 {
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--nr-text-2);
  font-weight: 700;
  margin-bottom: 14px;
}
.box ul { list-style: none; margin: 0; padding: 0; }
.box li > a { display: block; padding: 7px 0; color: var(--nr-inkoust); font-size: 15px; }
.box li > a:hover { color: var(--nr-modra); text-decoration: none; }

/* filtry */
.box-filters .filter-section { margin-bottom: 18px; }
.box-filters label { display: flex; align-items: center; gap: 8px; font-weight: 400; padding: 4px 0; }
.box-filters input[type="checkbox"], .box-filters input[type="radio"] { width: auto; }

/* -------------------------------------------------------------------------
   11. PRODUKTOVÁ KARTA A MŘÍŽKA
   ------------------------------------------------------------------------- */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
main.content.narrow .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1199px) { .products, main.content.narrow .products { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 767px)  { .products, main.content.narrow .products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; } }

.product { display: flex; }
.product > .p {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--nr-linka);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.product > .p:hover {
  border-color: transparent;
  box-shadow: var(--stin-karta);
  transform: translateY(-2px);
}

.product a.image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  padding: 14px;
  background: #fff;
}
.product a.image img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.p-in { display: flex; flex-direction: column; flex: 1; padding: 4px 16px 16px; }
.p-in-in { flex: 1; }

.product a.name {
  display: block;
  font-family: var(--f-nadpis);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--nr-hlubina);
  margin-bottom: 8px;
}
.product a.name:hover { color: var(--nr-modra); text-decoration: none; }

.ratings-wrapper { font-size: 13px; color: var(--nr-text-2); }
.availability { font-size: 13px; }
.availability span { color: #1a9d5a; font-weight: 600; }   /* skladem = zelená dle návrhu */
.p-code { display: block; color: var(--nr-text-3); font-size: 12px; }

.p-bottom { margin-top: 14px; }
.prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-final strong {
  font-family: var(--f-nadpis);
  font-weight: 800;
  font-size: 24px;
  color: var(--nr-hlubina);
}
.price-standard, .price-standard-wrapper {
  font-size: 14px;
  color: #c0392b;          /* návrh má přeškrtnutou cenu červeně, ne šedě */
  text-decoration: line-through;
}
.p-bottom .btn { width: 100%; margin-top: 12px; }

/* štítky NOVINKA / -30 % / TIP / SKLADEM */
.extra-flags {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.extra-flags .flag,
.extra-flags li > span,
.extra-flags li > a {
  display: inline-block;
  font-family: var(--f-nadpis);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-stitek);
  background: var(--nr-hlubina);
  color: #fff;
}
.flag-new, .flag.new { background: var(--nr-modra); }
.flag-tip, .flag.tip { background: var(--nr-hlubina); }
.flag-action, .flag.action, .flag-discount { background: var(--nr-sleva); }
.flag-freeShipping { background: var(--nr-mlha); color: var(--nr-modra); }

/* -------------------------------------------------------------------------
   12. VÝPIS KATEGORIE
   ------------------------------------------------------------------------- */
.category-top { margin-bottom: 22px; }
.category-title { margin-bottom: 6px; }

.subcategories.with-image {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  list-style: none; margin: 18px 0 28px; padding: 0;
}
.subcategories.with-image li > a {
  display: block;
  padding: 16px;
  text-align: center;
  background: var(--nr-mlha);
  border-radius: var(--r-karta);
  font-family: var(--f-nadpis);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--nr-hlubina);
}
.subcategories.with-image li > a:hover { background: var(--nr-modra); color: #fff; text-decoration: none; }

#category-header, .category-header { margin-bottom: 18px; color: var(--nr-text-2); }

.listingControls, .products-top-wrapper {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--nr-linka-2);
  font-size: 14px;
}
.pagination { display: flex; gap: 6px; list-style: none; margin: 24px 0 0; padding: 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--nr-linka); border-radius: var(--r-btn);
  font-family: var(--f-nadpis); font-weight: 700;
  color: var(--nr-hlubina);
}
.pagination .active span, .pagination a:hover {
  background: var(--nr-modra); border-color: var(--nr-modra); color: #fff; text-decoration: none;
}

/* -------------------------------------------------------------------------
   13. DETAIL PRODUKTU
   ------------------------------------------------------------------------- */
/* POZOR: .p-detail-inner NENÍ dvousloupcový.
   Shoptet uvnitř sází vlastní Bootstrap řádek .row.product-top
   s .p-image-wrapper a .p-info-wrapper (col-lg-6). Kdyby tu byl grid,
   stlačí se galerie i cena do poloviny a nákupní blok spadne pod obraz. */
.p-detail-inner { display: block; }
.p-detail-inner-header { margin-bottom: 18px; }
.p-detail .p-detail-inner-header h1 { margin-bottom: 10px; }

.row.product-top { align-items: flex-start; row-gap: 28px; }

.p-image-wrapper { position: relative; }
.p-image-wrapper .p-image img,
.p-main-image img { width: 100%; height: auto; object-fit: contain; }

.p-info-wrapper { display: flex; flex-direction: column; gap: 14px; }
.p-info-wrapper .p-final-price-wrapper { margin: 4px 0; }
.p-info-wrapper .add-to-cart,
.p-info-wrapper .add-to-cart-button { width: 100%; }

/* miniatury galerie */
.p-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.p-thumbnails img { width: 86px; height: 86px; object-fit: contain;
  border: 1px solid var(--nr-linka); border-radius: var(--r-btn); padding: 6px; }

/* Na detailu je cena přímo <strong class="price-final">, ne strong uvnitř.
   Descendant selektor .price-final strong tu nesedí — musí být oba tvary. */
.p-detail .price-final,
.p-detail strong.price-final,
.p-detail .price-final-holder,
.p-final-price-wrapper .price-final {
  font-family: var(--f-nadpis);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  color: var(--nr-hlubina);
}
.p-detail .price-standard, .p-detail .price-standard-holder {
  font-size: 18px; color: var(--nr-text-3); text-decoration: line-through;
}
.p-detail .price-measure { font-size: 13px; color: var(--nr-text-3); }

.p-detail .availability-value { color: #1a9d5a; font-weight: 600; }

/* množství */
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--nr-linka); border-radius: var(--r-btn); overflow: hidden; }
.quantity input { width: 56px; text-align: center; border: 0; background: #fff; border-radius: 0; }
.quantity .increase, .quantity .decrease {
  width: 40px; height: 44px; border: 0; background: var(--nr-podklad);
  font-size: 18px; cursor: pointer; color: var(--nr-hlubina);
}
.quantity .increase:hover, .quantity .decrease:hover { background: var(--nr-mlha); }

/* záložky POPIS / PARAMETRY / RECENZE */
.shp-tabs-wrapper { margin-top: 44px; }
.shp-tabs { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; border-bottom: 2px solid var(--nr-linka); }
.shp-tabs li > a {
  display: block; padding: 13px 20px;
  font-family: var(--f-nadpis); font-weight: 700; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--nr-text-2);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.shp-tabs li.active > a, .shp-tabs li > a:hover {
  color: var(--nr-hlubina); border-bottom-color: var(--nr-modra); text-decoration: none;
}
.shp-tab-content, .tab-pane { padding: 26px 0; }

.p-detail-tabs-wrapper table th,
.p-detail-tabs-wrapper table td { padding: 10px 14px; border-bottom: 1px solid var(--nr-linka-2); text-align: left; }
.p-detail-tabs-wrapper table th { font-weight: 600; color: var(--nr-text-2); width: 40%; }

/* -------------------------------------------------------------------------
   14. PRUH VÝHOD (benefitBanner)
   „DOPRAVA ZDARMA / SKLADEM IHNED / VRÁCENÍ 30 DNÍ / PORADNA"
   ------------------------------------------------------------------------- */
/* Návrh má pruh výhod jako tmavý pás přes celou šířku, ne světlý panel. */
.benefitBanner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  background: var(--nr-hlubina);
  border-radius: 0;
  box-shadow: 0 0 0 100vmax var(--nr-hlubina);
  clip-path: inset(0 -100vmax);
}
.benefitBanner__item { padding: 22px 26px; border-right: 1px solid rgba(255,255,255,.08); }
.benefitBanner__item:last-child { border-right: 0; }
@media (max-width: 767px) { .benefitBanner { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 18px; } }

.benefitBanner__item { display: flex; align-items: center; gap: 14px; }
.benefitBanner__picture { flex: 0 0 auto; }
.benefitBanner__picture img { width: 40px; height: 40px; object-fit: contain; }
.benefitBanner__text strong,
.benefitBanner__title {
  display: block;
  font-family: var(--f-nadpis); font-weight: 700; font-size: 16px;
  letter-spacing: 0; text-transform: uppercase; color: #fff;
}
.benefitBanner__description, .benefitBanner__data { font-size: 13px; color: #8fa2bd; }

/* -------------------------------------------------------------------------
   15. TITULNÍ STRANA
   ------------------------------------------------------------------------- */
/* Hlavní banner: vlevo carousel (col-sm-8), vpravo dva bannery (col-sm-4).
   Mřížku řeší sekce 3b, tady jen vzhled. */
.banners-row img { width: 100%; border-radius: var(--r-panel); }
.next-to-carousel-banners { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.next-to-carousel-banners a { display: block; }

/* Bootstrap carousel — zobrazení snímků řídí stavová vrstva + Shoptet JS */
.carousel { position: relative; }
.carousel-inner { position: relative; overflow: hidden; border-radius: var(--r-panel); }
.carousel-inner > .item img { width: 100%; }
/* Pojistka: kdyby Bootstrap JS nedoběhl a žádný snímek neměl .active,
   ukáže se aspoň první — jinak by tu zela prázdná díra. */
.carousel-inner:not(:has(> .active)) > .item:first-child { display: block; }
.carousel-control {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: var(--stin-karta);
  color: var(--nr-hlubina);
}
.carousel-control:hover { background: #fff; text-decoration: none; }
.carousel-control.left  { left: 14px; }
.carousel-control.right { right: 14px; }
/* šipky — Shoptet sem nedává ikonu, jen sr-only text */
.carousel-control.left::before  { content: "‹"; font-size: 30px; line-height: 1; }
.carousel-control.right::before { content: "›"; font-size: 30px; line-height: 1; }

.homepage-group-title {
  display: flex; align-items: baseline; gap: 16px;
  margin: 0 0 20px;
  font-size: clamp(28px, 3.4vw, 40px);
}
.homepage-group-title::after {
  content: ""; flex: 1; height: 1px; background: var(--nr-linka);
}

.welcome-wrapper { padding: 8px 0; color: var(--nr-text-2); }
.welcome-wrapper h1, .welcome-wrapper h2 { color: var(--nr-hlubina); }

/* -------------------------------------------------------------------------
   16. KOŠÍK A POKLADNA
   ------------------------------------------------------------------------- */
/* Košík — jediná z těchto obrazovek, kterou grafický návrh specifikuje.
   POZOR: Shoptet kreslí ikonky (křížek, +, −) ikonovým fontem přes
   content:"\e912". Blank režim ten font vypne, takže si znaky kreslím sám. */
.cart-table, .table { width: 100%; }
.cart-table th, .table th {
  text-align: left; padding: 12px 14px;
  font-family: var(--f-nadpis); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; font-size: 13px;
  color: var(--nr-text-2);
  border-bottom: 2px solid var(--nr-linka);
}
.cart-table td, .table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--nr-linka-2);
  vertical-align: middle;
}

/* mobilní popisky buněk — na desktopu pryč, na mobilu se hodí */
.cart-table .p-label { display: none; }

.cart-table td.cart-p-image { width: 96px; }
.cart-table td.cart-p-image img {
  width: 76px; height: 76px; object-fit: contain;
  border: 1px solid var(--nr-linka); border-radius: var(--r-btn); padding: 4px;
  background: #fff;
}

.cart-table td.p-name a.main-link {
  font-family: var(--f-nadpis); font-weight: 700; font-size: 17px;
  text-transform: uppercase; color: var(--nr-hlubina);
}
.cart-table td.p-name a.main-link:hover { color: var(--nr-modra); text-decoration: none; }

.cart-table .availability-label { color: #1a9d5a; font-weight: 600; }
.cart-table .availability-amount { color: var(--nr-text-2); font-size: 13px; }

.cart-table td.p-price, .cart-table td.p-total { text-align: right; white-space: nowrap; }
.cart-table .price-final { font-family: var(--f-nadpis); font-weight: 800; font-size: 20px; }
.cart-table .unit-value { color: var(--nr-text-3); font-size: 13px; }

/* křížek pro odebrání — v návrhu ✕ */
.cart-table .p-total form.inline { display: inline-block; margin-left: 12px; vertical-align: middle; }
.remove-item {
  appearance: none; background: none; border: 0; cursor: pointer;
  width: 32px; height: 32px; padding: 0;
  font-size: 0; line-height: 1; color: var(--nr-text-3);
  border-radius: 50%;
}
.remove-item::before { content: "✕"; font-size: 15px; line-height: 32px; }
.remove-item:hover { background: #fdecee; color: var(--nr-sleva); }

/* množství −/+ ; Shoptet skrývá .decrease__sign/.increase__sign, kreslím znak sám */
.cart-table .quantity, .quantity {
  display: inline-flex; align-items: center;
  border: 1px solid var(--nr-linka); border-radius: var(--r-btn);
  overflow: hidden; background: #fff;
}
.quantity input.amount, .quantity input[type="text"], .quantity input[type="number"] {
  width: 52px; text-align: center; border: 0; background: #fff;
  border-radius: 0; padding: 10px 0; font-weight: 600;
}
.quantity .increase, .quantity .decrease {
  position: static;      /* Shoptet je absolutně pozicoval do svého layoutu */
  width: 36px; height: 42px;
  border: 0; padding: 0; cursor: pointer;
  background: var(--nr-podklad); color: var(--nr-hlubina);
  font-size: 0; line-height: 1;
}
.quantity .increase::before { content: "+"; font-size: 17px; }
.quantity .decrease::before { content: "−"; font-size: 17px; }
.quantity .increase:hover, .quantity .decrease:hover { background: var(--nr-mlha); color: var(--nr-modra); }
.quantity .increase-tooltip, .quantity .decrease-tooltip { display: none; }

.cart-summary, .order-summary, #orderFormSummary {
  background: var(--nr-mlha);
  border-radius: var(--r-panel);
  padding: 24px;
}
.cart-summary .price-final, .order-summary strong { font-family: var(--f-nadpis); font-weight: 800; font-size: 26px; }

/* Mobil: tabulka košíku se složí do karet a popisky buněk se vrátí.
   Návrh mobilní košík neřeší — odvozeno z designového systému. */
@media (max-width: 767px) {
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table thead { display: none; }
  .cart-table tr {
    position: relative;
    border: 1px solid var(--nr-linka);
    border-radius: var(--r-karta);
    padding: 14px 14px 14px 104px;
    margin-bottom: 14px;
    min-height: 108px;
  }
  .cart-table td { border: 0; padding: 3px 0; }
  .cart-table td.cart-p-image {
    position: absolute; left: 14px; top: 14px; width: 76px; padding: 0;
  }
  .cart-table .p-label {
    display: inline-block; min-width: 108px;
    font-family: var(--f-nadpis); font-weight: 700; font-size: 12px;
    letter-spacing: .06em; text-transform: uppercase; color: var(--nr-text-2);
  }
  .cart-table td.p-price, .cart-table td.p-total { text-align: left; }
  .cart-table .p-total form.inline { position: absolute; right: 10px; top: 10px; margin: 0; }
}

/* košíkové kroky 1 · KOŠÍK  2 · DOPRAVA  3 · PLATBA */
.cart-header, .checkout-steps, .order-steps {
  display: flex; gap: 8px; flex-wrap: wrap;
  list-style: none; margin: 0 0 28px; padding: 0;
}
.cart-header li, .checkout-steps li {
  flex: 1; min-width: 140px;
  padding: 12px 16px;
  background: var(--nr-mlha);
  border-radius: var(--r-btn);
  font-family: var(--f-nadpis); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; font-size: 14px;
  color: var(--nr-text-2);
  text-align: center;
}
.cart-header li.active, .checkout-steps li.active { background: var(--nr-modra); color: #fff; }

/* -------------------------------------------------------------------------
   16b. POKLADNA — kroky doprava/platba a rekapitulace

   Návrh tyhle obrazovky neřeší (jsou v něm jen neaktivní štítky v liště),
   takže odvozeno z designového systému. Moje rozhodnutí, ne zadání.
   ------------------------------------------------------------------------- */
.order-delivery-payment-form h2.order-icon {
  font-size: 22px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--nr-linka);
}

/* volba dopravy a platby — celý řádek je klikatelný panel */
.radio-wrapper {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-karta);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.radio-wrapper:hover { border-color: var(--nr-odlesk); background: var(--nr-mlha); }
.radio-wrapper.active {
  border-color: var(--nr-modra); background: var(--nr-mlha);
  box-shadow: inset 0 0 0 1px var(--nr-modra);
}
.radio-wrapper input[type="radio"],
.radio-wrapper input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 18px;
  accent-color: var(--nr-modra);
}
.radio-wrapper label { cursor: pointer; margin: 0; font-weight: 600; }

/* Formulářové skupiny v pokladně a registraci.
   Shoptet používá .form-group--inline (popisek vlevo, pole vpravo) se šířkou
   z proměnné --inline-form-group-controls-width, kterou Blank režim smazal —
   bez ní se popisky slily s poli do jedné řádky. */
.form-group { margin-bottom: 16px; }
.form-group > label { display: block; margin-bottom: 6px; }
.form-control-wrapper { display: block; width: 100%; }
.form-control-wrapper input,
.form-control-wrapper select,
.form-control-wrapper textarea { width: 100%; }

@media (min-width: 768px) {
  .form-group--inline {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: center;
    gap: 8px 16px;
  }
  .form-group--inline > label { margin-bottom: 0; text-align: left; }
  .form-group--inline .form-control-wrapper,
  .form-group--inline .phone-combined-input { grid-column: 2; }
  /* hláška validace pod polem, ne vedle popisku */
  .form-group--inline .js-validator-msg,
  .form-group--inline .validator-msg { grid-column: 2; }
}

.js-validator-msg, .validator-msg { display: block; font-size: 13px; color: var(--nr-sleva); margin-top: 4px; }
.form-group-tooltip, .question-tooltip { color: var(--nr-text-3); cursor: help; }

.submit-wrapper { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.unveil-wrapper .unveil-button { background: none; border: 0; color: var(--nr-modra); cursor: pointer; padding: 0; }

/* rekapitulace vpravo */
.order-summary { background: var(--nr-mlha); border-radius: var(--r-panel); padding: 22px; }
.order-summary-inner > * + * { margin-top: 10px; }
.order-recapitulation {
  margin: 14px 0; padding: 14px 0;
  border-top: 1px solid var(--nr-linka); border-bottom: 1px solid var(--nr-linka);
}
.recapitulation-single { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.recapitulation-shipping-billing-label { color: var(--nr-text-2); }
.recapitulation-shipping-billing-info { text-align: right; }
.order-summary-item { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.order-summary-item.price { font-family: var(--f-nadpis); font-weight: 800; font-size: 26px; }
.order-summary h2, .order-summary h3, .order-summary h4 {
  font-size: 15px; letter-spacing: .18em; color: var(--nr-text-2);
}

/* Vysouvací okna v hlavičce (košík, přihlášení, hledání).
   Zda jsou vidět, řeší stavová vrstva; tady je umístění a vzhled. */
.user-action { position: relative; z-index: 200; }
.user-action-in { position: relative; max-width: var(--sirka); margin: 0 auto; }

.popup-widget {
  position: absolute; top: 8px; right: var(--mezera);
  width: min(430px, calc(100vw - 32px));
  max-height: 70vh; overflow-y: auto;
  background: #fff;
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-panel);
  box-shadow: var(--stin-panel);
  padding: 22px;
}
.popup-widget h2 { font-size: 18px; margin-bottom: 16px; }

/* ztmavení pozadí při otevřeném okně */
.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(11, 26, 48, .45);
}

/* -------------------------------------------------------------------------
   16c. SLOŽENÉ WIDGETY SHOPTETU

   Stavová vrstva přebírá jen pravidla s display. Widgety, které od Shoptetu
   dědily i ROZMĚRY, se v Blank režimu rozsypou — telefonní předvolba s
   vlajkou se bez výšky roztáhla na 150 px. Rozměry proto dorovnávám tady.
   ------------------------------------------------------------------------- */

/* telefon s výběrem předvolby */
.phone-combined-input { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; width: 100%; }
.phone-combined-input select { display: none; }
.phone-combined-input input { width: 100%; }

.country-flags {
  display: flex; align-items: center;
  height: 46px; position: relative; cursor: pointer;
  flex: 0 0 auto;
}
.country-flags-inner {
  display: flex; align-items: center;
  height: 46px;
  border: 1px solid var(--nr-linka);
  border-radius: var(--r-karta);
  background: var(--nr-podklad);
  padding: 0 10px;
  position: relative;
}
.country-flag { display: none; align-items: center; height: 36px; gap: 6px; }
.shp-flag { flex: 0 0 24px; width: 24px; height: 24px; }
.shp-flag img { width: 24px; height: 24px; object-fit: cover; border-radius: 3px; }
.shp-flag-label { display: flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14px; }

/* rozbalený seznam zemí */
.country-flags.active .country-flags-inner {
  position: absolute; top: -1px; left: -5px; z-index: 10;
  width: 300px; height: 360px;
  overflow: auto;
  padding: 8px 5px 5px;
  background: #fff;
  border-radius: var(--r-karta);
  box-shadow: var(--stin-karta);
  flex-direction: column; align-items: stretch;
}
.country-flags.active .country-flag { padding: 4px 6px; border-radius: 6px; }
.country-flags.active .country-flag:hover { background: var(--nr-mlha); }

/* bublinové nápovědy — bez position:absolute by se vysypaly do textu */
.tooltip { position: absolute; z-index: 400; font-size: 13px; }
.tooltip-inner {
  background: var(--nr-hlubina); color: #fff;
  border-radius: 6px; padding: 6px 10px; max-width: 220px; text-align: center;
}
.tooltip_bubble {
  position: absolute; z-index: 400;
  background: var(--nr-hlubina); color: #fff;
  border-radius: 6px; padding: 6px 10px; font-size: 13px;
}

/* -------------------------------------------------------------------------
   17. SYSTÉMOVÉ HLÁŠKY
   ------------------------------------------------------------------------- */
.messages { margin: 0 0 20px; }
.msg, .alert, .message {
  padding: 14px 18px;
  border-radius: var(--r-karta);
  border-left: 4px solid var(--nr-modra);
  background: var(--nr-mlha);
  font-size: 15px;
}
.msg-error, .alert-danger { border-left-color: var(--nr-sleva); background: #fdecee; }
.msg-success, .alert-success { border-left-color: #1f9d4d; background: #eaf7ef; }

/* -------------------------------------------------------------------------
   18. LIŠTA SOUHLASU S COOKIES
   ------------------------------------------------------------------------- */
.siteCookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--nr-hlubina);
  color: var(--nr-topbar-text);
  padding: 20px 0;
}
.siteCookies__form {
  max-width: var(--sirka); margin: 0 auto; padding: 0 var(--mezera);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.siteCookies__content { flex: 1; min-width: 260px; font-size: 14px; }
.siteCookies a, .siteCookies__link { color: var(--nr-odlesk); background: none; border: 0; cursor: pointer; }
.siteCookies__buttonWrap { display: flex; gap: 10px; }
.siteCookies__button {
  font-family: var(--f-nadpis); font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 11px 22px; border-radius: var(--r-btn);
  border: 2px solid var(--nr-topbar-text); background: none; color: var(--nr-topbar-text);
  cursor: pointer;
}
.siteCookies__button:last-child { background: var(--nr-modra); border-color: var(--nr-modra); color: #fff; }

/* -------------------------------------------------------------------------
   19. PATIČKA
   ------------------------------------------------------------------------- */
footer#footer {
  margin-top: 60px;
  background: var(--nr-hlubina);
  color: var(--nr-topbar-text);
  padding: 48px 0 0;
}
footer#footer a { color: var(--nr-topbar-text); }
footer#footer a:hover { color: #fff; }
footer#footer h3, footer#footer h4, footer#footer .h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: .18em;
  margin-bottom: 14px;
}
footer#footer ul { list-style: none; margin: 0; padding: 0; }
footer#footer li { padding: 5px 0; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 36px; padding-top: 20px; padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
}
.copyright { color: var(--nr-text-3); }
#signature { margin-left: auto; opacity: .75; }

/* -------------------------------------------------------------------------
   20. DROBNOSTI
   ------------------------------------------------------------------------- */
.loader-wrapper { position: relative; }

/* -------------------------------------------------------------------------
   21. MOBILNÍ HLAVIČKA A VYSOUVACÍ MENU

   Mechaniku (kdy co je vidět) řeší stavová vrstva a Shoptet JS:
     a[data-target=navigation] → body.navigation-window-visible
     a[data-target=search]     → body.search-window-visible
   Tady je jen vzhled. Ikony Shoptet kreslí ikonovým fontem, který Blank
   režim vypnul, takže je kreslím jako inline SVG.

   Návrh mobilní obrazovky neobsahuje — odvozeno z designového systému.
   ------------------------------------------------------------------------- */
/* Triggery sedí v .responsive-tools uvnitř tmavého horního pruhu
   (ne v .navigation-buttons) a jsou to prázdné <a> — Shoptet je kreslí
   ikonovým fontem. Kdy jsou vidět, řeší stavová vrstva. */
.responsive-tools { gap: 6px; }
.responsive-tools > a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-btn);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 21px 21px;
  font-size: 0;
  padding: 0;
}
.responsive-tools > a[data-target="search"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dbe4f2' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5L21 21'/%3E%3C/svg%3E");
}
.responsive-tools > a[data-target="navigation"] {
  background-color: var(--nr-modra);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
}
.responsive-tools > a:hover { background-color: rgba(255,255,255,.14); }
.responsive-tools > a[data-target="navigation"]:hover { background-color: var(--nr-modra-tmava); }

/* při otevřeném menu se hamburger změní v křížek */
.navigation-window-visible .responsive-tools > a[data-target="navigation"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  .header-top { gap: 10px; }
  .site-name img { max-height: 40px; }

  /* košík se na mobilu zúží na ikonu s cenou */
  #headerCart, .cart-count { padding: 10px 12px; font-size: 13px; }

  /* vysouvací navigace zprava */
  nav#navigation {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(86vw, 380px);
    z-index: 300;
    background: #fff;
    border: 0;
    box-shadow: -18px 0 44px rgba(11,26,48,.24);
    overflow-y: auto;
    padding: 68px 22px 32px;
    transform: translateX(100%);
    transition: transform .28s ease;
  }
  .navigation-window-visible nav#navigation { transform: translateX(0); }

  /* křížek pro zavření uvnitř panelu */
  .navigation-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--nr-mlha);
    cursor: pointer;
    font-size: 0;
  }
  .navigation-close::before {
    content: "✕"; font-size: 16px; line-height: 40px;
    display: block; text-align: center; color: var(--nr-hlubina);
  }

  .menu-level-1 > li > a {
    padding: 15px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--nr-linka-2);
  }
  .menu-level-2 { background: none; }
  .menu-level-2 a { padding: 10px 0 10px 14px; font-size: 15px; }

  /* ztmavení stránky za vysunutým menu */
  .navigation-window-visible .overlay { display: block; z-index: 250; }

  /* hledání se rozbalí přes celou šířku pod hlavičkou */
  .search-window-visible #header .search { padding: 12px 0 16px; }
  .search-window-visible #header .search-form { max-width: none; }
  .search { max-width: none; }

  /* Šipky carouselu na úzkém displeji lezly přes text banneru.
     Zmenšit a posunout dolů, ať nepřekáží sdělení. */
  .carousel-control {
    width: 34px; height: 34px;
    top: auto; bottom: 10px; transform: none;
  }
  .carousel-control.left  { left: 10px; }
  .carousel-control.right { right: 10px; }
  .carousel-control.left::before,
  .carousel-control.right::before { font-size: 22px; }

  /* patička a sekce se na mobilu stlačí */
  .homepage-box { padding: 28px 0; }
  footer#footer { padding-top: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  #signature { margin-left: 0; }

  /* pruh výhod pod sebou po dvou */
  .benefitBanner { gap: 12px; margin: 22px 0; }
  .benefitBanner__text strong, .benefitBanner__title { font-size: 13px; }
  .benefitBanner__description { font-size: 12px; }
}

/* nadpisové „očko" nad sekcí — GRAFICKÝ MANUÁL / AKČNÍ NABÍDKY */
.nr-eyebrow {
  display: block;
  font-family: var(--f-nadpis); font-weight: 800; font-size: 13px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--nr-modra);
  margin-bottom: 8px;
}

@media print {
  .top-navigation-bar, header#header, footer#footer, .siteCookies, aside.sidebar { display: none !important; }
}


/* v13 (1. 9. 2026) - cena bez DPH: pod hlavni cenu a nenapadne.
   V kartach (.prices, flex column) byla .price-additional PRVNI v poradi, takze cena bez DPH
   visela nad doporucenou cenou i nad hlavni cenou. Na detailu byla sice dole, ale stejne velka
   jako ostatni text. Radime ji vzdy na konec a tlumime. */
.prices > .price-additional { order: 99; }
.price-additional { font-size: 12px; line-height: 1.3; font-weight: 400; color: #8a929e; margin-top: 2px; }


/* ---- v15 (2. 9. 2026): kompaktni karta produktu ve vypisech ----
   Pavel: "strasne mezery mezi ceny a je to takove natahle".
   1) .prices byl flex COLUMN s gap:10px -> kazdy radek (doporucena cena / procenta /
      hlavni cena / cena bez DPH) mel 10 px navic a "(-25 %)" viselo na vlastnim radku.
      Prepnuto na row+wrap: doporucena cena a procenta na jednom radku, hlavni cena
      a cena bez DPH pod nim (flex-basis 100%). Popisek "Doporucena cena dodavatele"
      (::before z nr-doplnky) je pozicovan absolutne, aby neroztahoval wrapper na svou
      sirku a procenta zustala tesne u ceny. Cenovy blok 120 -> 62 px.
      Plati pro obe varianty: serverovou (.price-standard) i injektovanou (.nr-rrp2 z v11).
   2) Obrazek mel aspect-ratio 1/1, ale VSECHNY fotky v katalogu jsou 4:3 (overeno na 197
      obrazcich ve 13 kategoriich) -> pri object-fit:contain zbyvalo ~100 px bileho mista
      nahore a dole. Zmeneno na 4/3; nic se neorizne, contain jen vepisuje.
      POZOR: samotne aspect-ratio nestacilo - a.image je flex item a min-height:auto ho
      drzelo na vysce obsahu, nutne pridat min-height:0.
   Karta celkem 722 -> 554 px (desktop), mobil 2 sloupce overen bez horizontalniho preteceni.
   Detail produktu se zamerne nemeni - tam je cenovy blok v poradku.

   POZOR NA PORADI SOUBORU: nr-opravy-komplet-v3.css se linkuje AZ ZA timto souborem a ma
   pravidlo .products .product .p-bottom .prices{flex-direction:column} se stejnou
   specificitou (4 tridy) - proto je tu vsude prefix "body", aby byla specificita vyssi.
   Verze v14 tento prefix nemela a procenta zustala na vlastnim radku. */
body .products .product .p-bottom .prices{
  flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 8px; line-height: 1.2;
}
body .products .product .p-bottom .prices > .price-final,
body .products .product .p-bottom .prices > .price-additional,
body .products .product .p-bottom .prices > .nr-rrp2 { flex: 0 0 100%; }
body .products .product .price-standard-wrapper { display: inline-block; position: relative; margin: 14px 0 0; }
body .products .product .price-standard { line-height: 1.2; }
body .products .product .price-standard::before {
  position: absolute; left: 0; top: -14px; white-space: nowrap;
  font-size: 11px; line-height: 1.15; margin: 0;
}
body .products .product .price-save { display: inline-block; margin: 0; font-size: 12px; color: #555; }
body .products .product .nr-rrp2 { margin: 0; }
body .products .product .nr-rrp2-popisek { line-height: 1.15; }
body .products .product .nr-rrp2-cena { line-height: 1.2; }
body .products .product .price-final { margin-top: 4px; }
body .products .product .price-final strong { line-height: 1.15; display: inline-block; }
body .products .product .price-additional { margin-top: 1px; }
body .products .product a.image { aspect-ratio: 4 / 3; min-height: 0; }



/* ---- v16 (2. 9. 2026): vzhled parametrickych filtru ----
   Po naplneni parametru dostal filtr 6 sekci, ale v Blank rezimu k nim neexistoval styl:
   sekce sly pod sebou pres celou sirku (1540 px na vysku) a checkbox byl NAD popiskem.
   Sekce se skladaji do gridu, hodnoty na jeden radek s checkboxem, dlouhe seznamy scrolluji.
   POZOR: display:grid musi byt !important - neco v Blank CSS drzi wrapper na display:block
   (zadne pravidlo se nenaslo pres CSSOM, ale bez !important se grid neaplikuje). */
body .filters{ background:#f7f9fc; border:1px solid #e3e8ef; border-radius:10px; padding:18px 20px; margin-bottom:22px; }
body .filters .filter-sections > div:not([class]){
  display:grid !important; grid-template-columns:repeat(auto-fill,minmax(215px,1fr)); gap:18px 26px; align-items:start;
}
body .filters .filter-section h4{
  font-size:13px; letter-spacing:.06em; margin:0 0 8px; padding-bottom:5px; border-bottom:1px solid #e3e8ef;
}
body .filters .filter-section fieldset{
  max-height:236px; overflow-y:auto; border:0; margin:0; padding:0 8px 0 0;
  scrollbar-width:thin; scrollbar-color:#c2ccdb transparent;
}
body .filters .filter-section fieldset::-webkit-scrollbar{ width:7px; }
body .filters .filter-section fieldset::-webkit-scrollbar-thumb{ background:#c2ccdb; border-radius:4px; }
/* polozka: checkbox a popisek jsou sourozenci ve <div>, bez flexu byl checkbox nad textem */
body .filters .filter-section fieldset > div{
  display:flex !important; align-items:center; gap:8px; padding:2px 0; line-height:1.3;
}
body .filters .filter-section fieldset > div.advanced-filters-wrapper{ display:none !important; }
body .filters .filter-section fieldset input[type=checkbox]{ margin:0; flex:0 0 auto; }
body .filters .filter-label{ font-size:14px; cursor:pointer; margin:0; }
body .filters .filter-label:hover{ color:#2b56d4; }
body .filters .filter-count{ color:#8a929e; font-size:12px; }
@media (max-width:767px){
  body .filters{ padding:14px 15px; }
  body .filters .filter-sections > div:not([class]){ grid-template-columns:1fr; gap:14px; }
  body .filters .filter-section fieldset{ max-height:200px; }
}


/* ---- v17 (3. 9. 2026): vizualni audit — opravy ----
   1) HLAVNI MENU SE LAMALO NA DVA RADKY: po pridani polozky "Rybarska poradna" ma menu
      14 polozek o souctove sirce 1416 px, ale kontejner jen 1312 px -> druhy radek
      a menu vysoke 131 px. Zmensen padding a pismo, na uzsich oknech jeste vic.
      Vysledek: jeden radek, menu 131 -> 64 px.
   2) KOD PRODUKTU na kartach ve vypisu (napr. "Kod: W25013-6") zakaznika nezajima
      a rozbijel patu karty. Na detailu zustava.
   3) "Neohodnoceno" + modre tlacitko Podrobnosti hodnoceni na detailu pritahovalo
      pozornost k prazdne informaci - tlacitko se skryje, dokud nejsou zadne recenze. */
@media (min-width:992px){
  body .navigation-in > ul > li > a{
    padding-left:12px !important; padding-right:12px !important;
    font-size:15px !important; letter-spacing:.03em !important;
  }
}
@media (min-width:992px) and (max-width:1400px){
  body .navigation-in > ul > li > a{
    padding-left:9px !important; padding-right:9px !important; font-size:14px !important;
  }
}
body .products .product .p-code{ display:none !important; }


/* ---- v18 (3. 9. 2026): obrazky v kachlich kategorii na titulce ----
   Kachle byly prazdne ramecky se samotnym nazvem (13 dlazdic bez jedineho obrazku).
   Do HTML titulni strany doplnen <img class="nr-kachle__obr"> s reprezentativni fotkou
   z kazde kategorie (vybrana z nejprodavanejsich dane kategorie) a doplneny 3 chybejici
   kategorie (Vlasce a snury, Krmitka, Obleceni) - na titulce vubec nebyly.
   mix-blend-mode:multiply schova bile pozadi fotek proti svetle kachli. */
body .nr-kachle__i{ flex-direction:column; gap:10px; justify-content:center; padding:16px 14px 14px; }
body .nr-kachle__obr{ width:100%; height:96px; object-fit:contain; display:block; mix-blend-mode:multiply; }
body .nr-kachle__i > span{ text-align:center; line-height:1.25; }
@media (max-width:767px){ body .nr-kachle__obr{ height:74px; } }


/* ---- v19 (3. 9. 2026): kachle kategorii jako fotograficke dlazdice ----
   Pavel: "dokazes kazdemu tlacitku dat top graficky podklad podle zamereni, nejlepe
   real obrazek lehce upraven" + "lehce to zmensi, aby se to veslo do dvou radku".
   Fotka z nejprodavanejsiho produktu kategorie je nove PODKLAD cele dlazdice (cover),
   ztmavena filtrem a s modrym prechodem, popisek bily dole. Uprava se dela v CSS nad
   puvodnimi CDN fotkami - neuklada se zadna kopie a pri zmene fotky se prekresli sama.
   Mrizka 7 sloupcu => 13 kategorii ve DVOU radcich (drive 5 sloupcu / 3 radky).
   POZOR: v18 nastavovala .nr-kachle__i justify-content:center a .nr-kachle__obr
   height:96px + mix-blend-mode:multiply - vse se tu prebiji. */
body .nr-kachle{ display:grid; grid-template-columns:repeat(7,1fr); gap:12px; }
body .nr-kachle__i{
  position:relative; overflow:hidden; height:118px; min-height:118px; padding:0;
  border-radius:12px; border:0; display:flex; flex-direction:column;
  justify-content:flex-end !important; align-items:stretch; gap:0;
}
body .nr-kachle__obr{
  position:absolute; inset:0; width:100%; height:100% !important; object-fit:cover;
  mix-blend-mode:normal !important; filter:brightness(.70) saturate(1.14) contrast(1.08);
  transition:transform .4s ease, filter .4s ease;
}
body .nr-kachle__i::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(18,32,62,.34) 0%, rgba(10,18,34,.22) 40%, rgba(6,11,22,.88) 100%);
}
body .nr-kachle__i > span{
  position:relative; z-index:2; width:100%; padding:0 8px 11px; color:#fff;
  text-align:center; line-height:1.15; font-size:12px; letter-spacing:.04em;
  text-shadow:0 1px 6px rgba(0,0,0,.8);
}
body .nr-kachle__i:hover .nr-kachle__obr{ transform:scale(1.07); filter:brightness(.84) saturate(1.18) contrast(1.08); }
@media (max-width:1200px){ body .nr-kachle{ grid-template-columns:repeat(5,1fr); } }
@media (max-width:900px){ body .nr-kachle{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){
  body .nr-kachle{ grid-template-columns:repeat(2,1fr); gap:10px; }
  body .nr-kachle__i{ height:106px; min-height:106px; }
  body .nr-kachle__i > span{ font-size:11.5px; padding-bottom:9px; }
}


/* ---- v20 (4. 9. 2026): BLOG A CLANKY ----
   Blank rezim nemel pro clanky zadny styl: vypis rubriky sypal CELE clanky pod sebe
   (stranka 10 819 px) a detail mel text pres celou sirku 1360 px, coz se necte.
   Vypis = karty ve dvou sloupcich s perexem a odkazem, detail = ctenarska sirka 780 px.
   Trik pro perex ve vypisu: Shoptet vypisuje cely obsah do .description, takze se
   necha viditelne jen prvni dite (v nasich clancich je to <p class="nr-perex">). */
body .news-wrapper{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin:26px 0 10px; }
body .news-item{
  position:relative; background:#fff; border:1px solid #e3e8ef; border-radius:14px;
  padding:22px 24px 56px; transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
body .news-item:hover{ box-shadow:0 10px 30px rgba(16,32,64,.10); transform:translateY(-2px); border-color:#c9d6ea; }
body .news-item a.title{
  display:block; font-family:var(--f-nadpis,inherit); font-weight:800; text-transform:uppercase;
  font-size:19px; line-height:1.18; color:var(--nr-hlubina,#101c33); margin:0 0 10px; text-decoration:none;
}
body .news-item:hover a.title{ color:var(--nr-modra,#2b56d4); }
body .news-item .description > *{ display:none; }
body .news-item .description > *:first-child{ display:block; }
body .news-item .description p{ font-size:15px; line-height:1.6; color:#4b5563; margin:0; }
body .news-item .description a{ color:inherit; text-decoration:none; pointer-events:none; }
body .news-item::after{
  content:'Číst dál →'; position:absolute; left:24px; bottom:20px;
  font-family:var(--f-nadpis,inherit); font-weight:700; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--nr-modra,#2b56d4);
}
body .news-item-detail{ max-width:780px; margin:0 auto; }
body .news-item-detail h1{ font-size:34px; line-height:1.12; margin:0 0 18px; }
body .news-item-detail .text{ font-size:17px; line-height:1.72; color:#26303f; }
body .news-item-detail .text p{ margin:0 0 16px; }
body .news-item-detail .text h2{ font-size:23px; line-height:1.2; margin:34px 0 12px; padding-top:18px; border-top:1px solid #e6ebf3; }
body .news-item-detail .text h3{ font-size:18px; line-height:1.25; margin:22px 0 8px; }
body .news-item-detail .text ul, body .news-item-detail .text ol{ margin:0 0 18px; padding-left:22px; }
body .news-item-detail .text li{ margin:0 0 8px; }
body .news-item-detail .text a{ color:var(--nr-modra,#2b56d4); text-decoration:underline; }
body .news-item-detail .text strong{ color:var(--nr-hlubina,#101c33); }
body .news-item-detail .nr-perex{
  font-size:19px; line-height:1.6; color:#3b4657; font-weight:500;
  border-left:3px solid var(--nr-modra,#2b56d4); padding:2px 0 2px 16px; margin:0 0 26px;
}
body .news-item-detail .nr-zaver{
  background:#f4f7fc; border:1px solid #e3e8ef; border-radius:12px;
  padding:16px 18px; margin:28px 0 0; font-size:16px; color:#33405a;
}
@media (max-width:900px){
  body .news-wrapper{ grid-template-columns:1fr; gap:16px; }
  body .news-item{ padding:18px 18px 50px; }
  body .news-item::after{ left:18px; bottom:17px; }
  body .news-item-detail h1{ font-size:26px; }
  body .news-item-detail .text{ font-size:16px; }
  body .news-item-detail .text h2{ font-size:20px; margin-top:26px; }
  body .news-item-detail .nr-perex{ font-size:17px; }
}


/* ---- v21 (4. 9. 2026): grafika v clancich (tabulky, SVG schemata, tipy) ----
   Clanky obsahuji porovnavaci tabulky, inline SVG nakresy a zvyraznene boxy.
   Blank rezim je nechaval bez stylu. POZOR: hlavicka tabulky potrebuje !important,
   sablona jinak prebije background a bily text skonci na svetlem pozadi. */
body .news-item-detail table.nr-tabulka{
  width:100%; border-collapse:collapse; margin:8px 0 22px; font-size:15px;
  border:1px solid #e3e8ef; border-radius:12px; overflow:hidden;
}
body .news-item-detail .nr-tabulka thead th{
  background:#101c33 !important; color:#fff !important; text-align:left; padding:11px 14px;
  font-family:var(--f-nadpis,inherit); font-weight:700; font-size:13px; letter-spacing:.05em; text-transform:uppercase;
}
body .news-item-detail .nr-tabulka td{ padding:10px 14px; border-top:1px solid #eef2f8; vertical-align:top; }
body .news-item-detail .nr-tabulka tbody tr:nth-child(even){ background:#f8fafd; }
body .news-item-detail .nr-tabulka tbody tr:hover{ background:#eef4fd; }
body .news-item-detail .nr-tabulka td:first-child{ font-weight:600; color:#101c33; }
body .news-item-detail .nr-tabulka tfoot th{
  background:#f1f5fb !important; color:#101c33 !important; padding:11px 14px; text-align:left;
  font-weight:800; border-top:2px solid #d7e0ee;
}
/* inline SVG nakresy */
body .nr-schema{ margin:22px 0 26px; padding:16px 16px 10px; background:#f8fafd; border:1px solid #e3e8ef; border-radius:14px; }
body .nr-schema svg{ display:block; width:100%; height:auto; }
body .nr-schema__popis{ margin:10px 0 0 !important; font-size:13px; line-height:1.5; color:#8a929e; text-align:center; }
/* zvyraznene boxy */
body .nr-tip, body .nr-pozor{
  border-radius:12px; padding:14px 16px; margin:20px 0; font-size:15.5px; line-height:1.6;
  border:1px solid; border-left-width:4px;
}
body .nr-tip{ background:#f0f7ff; border-color:#c9dcf5; border-left-color:#2b56d4; color:#22344f; }
body .nr-pozor{ background:#fff6f4; border-color:#f5cfc6; border-left-color:#c0392b; color:#4a2b25; }
body .nr-tip strong{ color:#1d3f96; }
body .nr-pozor strong{ color:#a5301f; }
@media (max-width:900px){
  body .news-item-detail table.nr-tabulka{ font-size:14px; display:block; overflow-x:auto; white-space:nowrap; }
  body .news-item-detail .nr-tabulka td, body .news-item-detail .nr-tabulka th{ padding:9px 11px; }
  body .nr-schema{ padding:12px 12px 8px; }
}
