/* Naše Hračkářství — hlavička V69 (2026-09-21)
   Stejná funkčnost jako NašeNářadí: horní lišta s rychlými odkazy, jazykem a kontakty,
   „Přihlásit se“ u košíku, tmavá navigace s NOVINKY a „Další“, pás výhod pod hlavičkou.
   Načítá se až po nh-shell-v68.css a přebíjí jen to, co je potřeba. */

body.nh-header-enhanced {
  --nh-hd-yellow: #f2b705;
  --nh-hd-yellow-hover: #ffd43b;
  --nh-hd-navy: #15233b;
  --nh-hd-navy-hover: #1f3356;
  --nh-hd-green: #079b35;
  --nh-hd-ink: #1e1e1e;
  --nh-hd-muted: #6f6f6f;
  --nh-hd-line: #e5e5e5;
}

/* ---------- Horní lišta ---------- */
html body.nh-header-enhanced .top-navigation-bar {
  min-height: 38px;
  border: 0 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  background: #f8f8f8 !important;
  color: var(--nh-hd-ink) !important;
}

html body.nh-header-enhanced .top-navigation-bar > .container {
  display: flex;
  min-height: 38px;
  align-items: center;
}

html body.nh-header-enhanced .top-navigation-bar .top-navigation-menu,
html body.nh-header-enhanced .top-navigation-bar .top-navigation-tools {
  display: none !important;
}

/* Oprava rozbaleného „Více“ (bílý text na bílém) pro případ, že by nativní lišta zůstala */
html body.nh-header-enhanced .top-navigation-bar .top-navigation-bar-menu-helper a { color: var(--nh-hd-ink) !important; }

.nh-top-links {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 0;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links a {
  display: inline-flex;
  min-height: 38px;
  padding: 0 15px;
  align-items: center;
  color: #444 !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-shadow: none !important;
  white-space: nowrap;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links a:first-child { padding-left: 0; }

html body.nh-header-enhanced .top-navigation-bar .nh-top-links a:hover,
html body.nh-header-enhanced .top-navigation-bar .nh-top-links a:focus-visible {
  color: var(--nh-hd-navy) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links__contact {
  padding-right: 10px !important;
  padding-left: 10px !important;
  font-weight: 700 !important;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links__phone { margin-left: auto; }

/* Přepínač jazyka */
html body.nh-header-enhanced .nh-language-switcher {
  box-sizing: border-box;
  display: inline-flex;
  height: 32px;
  margin: 3px 10px;
  padding: 2px;
  align-items: center;
  gap: 2px;
  border: 1px solid #d8d8d2;
  border-radius: 999px;
  background: #f3f3ef;
  white-space: nowrap;
}

html body.nh-header-enhanced .nh-language-switcher__label {
  padding: 0 5px 0 7px;
  color: #666;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .03em;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links a.nh-language-switcher__option {
  box-sizing: border-box;
  display: inline-flex;
  min-width: 37px;
  min-height: 26px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #333 !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links a.nh-language-switcher__option:hover,
html body.nh-header-enhanced .top-navigation-bar .nh-top-links a.nh-language-switcher__option:focus-visible {
  background: #fff;
  color: #111 !important;
  outline: 2px solid var(--nh-hd-yellow);
  outline-offset: 0;
  text-decoration: none;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links a.nh-language-switcher__option.is-active {
  background: var(--nh-hd-navy);
  color: #fff !important;
}

/* Zákaznické centrum */
html body.nh-header-enhanced .top-navigation-bar .nh-top-links__center {
  min-height: 32px !important;
  margin-left: 9px;
  padding: 0 12px !important;
  border: 1px solid #d3a000;
  border-radius: 7px;
  background: var(--nh-hd-yellow) !important;
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links__center::before {
  content: "i";
  display: grid;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--nh-hd-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

html body.nh-header-enhanced .top-navigation-bar .nh-top-links__center:hover,
html body.nh-header-enhanced .top-navigation-bar .nh-top-links__center:focus-visible {
  background: var(--nh-hd-yellow-hover) !important;
  color: #111 !important;
  outline: 2px solid rgba(242, 183, 5, .28);
  outline-offset: 2px;
  text-decoration: none !important;
}

/* ---------- Hlavička: Přihlásit se ---------- */
html body.nh-header-enhanced #header .navigation-buttons { gap: 6px; }

html body.nh-header-enhanced #header .nh-header-account {
  display: inline-flex;
  min-height: 46px;
  padding: 0 12px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  color: var(--nh-hd-navy) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

html body.nh-header-enhanced #header .nh-header-account::before { display: none; content: none; }

html body.nh-header-enhanced #header .nh-header-account__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin: 0 !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html body.nh-header-enhanced #header .nh-header-account > span {
  position: static !important;
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  transform: none !important;
}

html body.nh-header-enhanced #header .nh-header-account:hover,
html body.nh-header-enhanced #header .nh-header-account:focus-visible {
  background: #fff7d5;
  color: #745600 !important;
}

/* ---------- Navigace ---------- */
html body.nh-header-enhanced #header .header-bottom {
  border-bottom: 0 !important;
  background: var(--nh-hd-navy) !important;
  box-shadow: none !important;
}

/* v68 shell dává #navigation bílé pozadí – v tmavé liště musí být průhledné (jen desktop/tablet) */
@media (min-width: 768px) {
  html body.nh-header-enhanced #header .header-bottom-wrapper,
  html body.nh-header-enhanced #navigation,
  html body.nh-header-enhanced #navigation .navigation-in,
  html body.nh-header-enhanced #navigation .navigation-in > .menu-level-1 {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }
}

html body.nh-header-enhanced #navigation .menu-level-1 > li > a {
  min-height: 50px;
  padding: 0 16px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}

html body.nh-header-enhanced #navigation .menu-level-1 > li > a:hover,
html body.nh-header-enhanced #navigation .menu-level-1 > li > a.active,
html body.nh-header-enhanced #navigation .menu-level-1 > li.exp > a,
html body.nh-header-enhanced #navigation .menu-level-1 > li:hover > a {
  background: var(--nh-hd-navy-hover) !important;
  color: #fff !important;
  box-shadow: inset 0 -3px 0 var(--nh-hd-yellow);
}

html body.nh-header-enhanced #navigation .menu-level-1 > li > a > b { font-weight: inherit; }

html body.nh-header-enhanced #navigation .menu-level-1 > li.nh-menu-news > a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: .02em;
}

html body.nh-header-enhanced #navigation .menu-level-1 > li.nh-menu-news > a::before {
  content: "" !important;
  display: inline-block !important;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--nh-hd-yellow);
  vertical-align: 1px;
}

html body.nh-header-enhanced #navigation .menu-level-1 > li.nh-menu-sale > a {
  background: var(--nh-hd-yellow) !important;
  color: #111 !important;
}

html body.nh-header-enhanced #navigation .menu-level-1 > li.nh-menu-sale > a:hover,
html body.nh-header-enhanced #navigation .menu-level-1 > li.nh-menu-sale > a:focus-visible {
  background: var(--nh-hd-yellow-hover) !important;
  color: #111 !important;
  box-shadow: none;
}

/* „Další“ (nativní menu-helper Shoptetu) */
html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper {
  z-index: 5;
}

html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper > span {
  display: flex;
  min-height: 50px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0f1a2c;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper > span::after {
  content: "⌄";
  display: inline-block;
  margin: 0 0 0 2px !important;
  color: currentColor;
  font-size: 18px;
  line-height: 1;
}

html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper > ul.menu-level-1 {
  min-width: 270px;
  padding: 6px 0;
  border: 1px solid #dededa;
  border-top: 3px solid var(--nh-hd-yellow);
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper > ul.menu-level-1 > li > a {
  display: flex !important;
  min-height: 44px;
  padding: 11px 16px !important;
  align-items: center;
  background: #fff !important;
  color: #1d1d1b !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper > ul.menu-level-1 > li > a:hover,
html body.nh-header-enhanced .header-bottom-wrapper > .menu-helper > ul.menu-level-1 > li > a:focus-visible {
  background: #fff5c2 !important;
  color: #111 !important;
}

/* ---------- Pás výhod ---------- */
.nh-header-trust {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--nh-hd-line);
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
}

html body.nh-header-enhanced .nh-header-trust__inner {
  display: grid !important;
  width: 100%;
  min-height: 58px;
  box-sizing: border-box;
  clear: both;
  float: none !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
}

html body.nh-header-enhanced .nh-header-trust__inner::before,
html body.nh-header-enhanced .nh-header-trust__inner::after { display: none !important; content: none !important; }

html body.nh-header-enhanced .nh-header-trust__item {
  position: relative;
  display: flex;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 9px 18px;
  float: none !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--nh-hd-ink);
  text-decoration: none;
}

html body.nh-header-enhanced .nh-header-trust__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 30px;
  background: var(--nh-hd-line);
  transform: translateY(-50%);
}

html body.nh-header-enhanced .nh-header-trust__item:hover,
html body.nh-header-enhanced .nh-header-trust__item:focus-visible {
  background: #fafafa;
  color: var(--nh-hd-ink);
}

.nh-header-trust__icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 2px solid var(--nh-hd-green);
  border-radius: 50%;
  color: var(--nh-hd-green);
}

.nh-header-trust__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nh-header-trust__item > span:last-child {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

html body.nh-header-enhanced .nh-header-trust__item strong {
  color: #222;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}

html body.nh-header-enhanced .nh-header-trust__item small {
  margin-top: 3px;
  color: var(--nh-hd-muted);
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  html body.nh-header-enhanced .top-navigation-bar .nh-top-links a { padding-right: 10px; padding-left: 10px; font-size: 12px; }
  html body.nh-header-enhanced .top-navigation-bar .nh-top-links__contact { display: none !important; }
  html body.nh-header-enhanced .top-navigation-bar .nh-language-switcher { margin-left: auto; }
  html body.nh-header-enhanced #header .nh-header-account { display: none !important; }
  html body.nh-header-enhanced .nh-header-trust__item { padding-right: 8px; padding-left: 8px; }
  html body.nh-header-enhanced .nh-header-trust__item strong { font-size: 12px; }
  html body.nh-header-enhanced #navigation .menu-level-1 > li > a { padding: 0 10px !important; font-size: 13px !important; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  html body.nh-header-enhanced .top-navigation-bar,
  html body.nh-header-enhanced #header .nh-header-account { display: none !important; }

  html body.nh-header-enhanced #header .header-bottom { background: #fff !important; }

  html body.nh-header-enhanced #navigation .menu-level-1 > li > a {
    color: var(--nh-hd-navy) !important;
    font-size: 15px !important;
    box-shadow: none !important;
  }

  html body.nh-header-enhanced #navigation .menu-level-1 > li > a:hover,
  html body.nh-header-enhanced #navigation .menu-level-1 > li > a.active,
  html body.nh-header-enhanced #navigation .menu-level-1 > li:hover > a {
    background: #fff7d5 !important;
    color: #745600 !important;
  }

  html body.nh-header-enhanced #navigation .navigation-in > a.nh-menu-customer-center {
    display: flex !important;
    box-sizing: border-box;
    width: 100% !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 50px 0 20px !important;
    align-items: center !important;
    gap: 10px;
    background: var(--nh-hd-yellow) !important;
    color: #1f1f1f !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  html body.nh-header-enhanced #navigation .navigation-in > a.nh-menu-customer-center:hover { background: var(--nh-hd-yellow-hover) !important; color: #111 !important; }

  .nh-menu-customer-center__icon {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--nh-hd-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
  }

  .nh-header-trust { z-index: 3; box-shadow: none; }

  html body.nh-header-enhanced .nh-header-trust__inner {
    min-height: 0;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.nh-header-enhanced .nh-header-trust__item {
    min-height: 64px;
    padding: 9px 10px;
    justify-content: flex-start;
    gap: 8px;
    border-bottom: 1px solid var(--nh-hd-line);
  }

  html body.nh-header-enhanced .nh-header-trust__item:nth-child(2n)::after { display: none; }
  html body.nh-header-enhanced .nh-header-trust__item:nth-last-child(-n+2) { border-bottom: 0; }
  .nh-header-trust__icon { width: 29px; height: 29px; flex-basis: 29px; }
  html body.nh-header-enhanced .nh-header-trust__item strong { font-size: 12px; }
  html body.nh-header-enhanced .nh-header-trust__item small { font-size: 10px; line-height: 1.2; }
}

@media (min-width: 768px) {
  html body.nh-header-enhanced #navigation .navigation-in > a.nh-menu-customer-center { display: none !important; }
}
