/* Compact, Hurá-inspired navigation for Potřeby rybářské. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 0;
  border-bottom: 1px solid #e7e7e3;
  background: #fff;
  background-image: none;
}
.site-header::before { display: none; }
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 38px);
  width: min(1280px, calc(100% - 40px));
  min-height: 76px;
  padding: 8px 0;
  background: none;
}
.site-header .header-inner::before { display: none; }
.site-header .brand-with-logo {
  flex: 0 0 auto;
  width: auto;
  max-width: 230px;
  align-self: center;
  text-decoration: none;
}
.site-header .brand-with-logo .header-main-logo {
  width: min(220px, 100%);
  max-height: 60px;
  height: auto;
  object-fit: contain;
}
.site-header .header-inner > nav.fishing-main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  isolation: auto;
}
.site-header .fishing-main-nav > a,
.site-header .fishing-portal-menu > summary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #17211b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-header .fishing-main-nav > a:hover,
.site-header .fishing-main-nav > a:focus-visible,
.site-header .fishing-portal-menu > summary:hover,
.site-header .fishing-portal-menu > summary:focus-visible,
.site-header .fishing-portal-menu[open] > summary {
  background: #f3f4f2;
  color: #17211b;
  text-decoration: none;
}
.site-header .fishing-portal-menu { position: relative; flex: 0 0 auto; }
.site-header .fishing-portal-menu > summary { list-style: none; }
.site-header .fishing-portal-menu > summary::-webkit-details-marker { display: none; }
.site-header .fishing-portal-menu > summary span {
  display: inline-block;
  transition: transform .16s ease;
}
.site-header .fishing-portal-menu[open] > summary span { transform: rotate(180deg); }
.site-header .fishing-portal-dropdown {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: max-content;
  min-width: 220px;
  max-width: min(340px, calc(100vw - 24px));
  padding: 7px;
  border: 1px solid #e4e6e2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 35, 27, .16);
}
.site-header .fishing-portal-menu[open] > .fishing-portal-dropdown {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  height: auto;
  min-height: 0;
  overflow: visible;
  visibility: visible;
  opacity: 1;
}
.site-header .fishing-portal-dropdown a {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  color: #26352c;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .fishing-portal-dropdown a:hover,
.site-header .fishing-portal-dropdown a:focus-visible {
  background: #f3f5f2;
  color: #17211b;
}
.site-header .fishing-main-nav > a.compare-nav {
  gap: 6px;
  padding-inline: 11px;
}
.site-header .compare-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1eee6;
  color: #554c37;
  font-size: 12px;
  font-weight: 750;
}
.site-header .fishing-main-nav > a.fishing-home-link { display: none !important; }
.site-header .fishing-main-nav > a.fishing-bazar-link { margin: 0; background: transparent; color: #17211b; }
.site-header .fishing-main-nav > a.fishing-bazar-link:hover,
.site-header .fishing-main-nav > a.fishing-bazar-link:focus-visible { background: #f3f4f2; color: #17211b; }
@media (max-width: 1100px) {
  .site-header .header-inner { gap: 12px; width: min(100% - 28px, 1280px); }
  .site-header .brand-with-logo { max-width: 190px; }
  .site-header .brand-with-logo .header-main-logo { width: min(190px, 100%); max-height: 54px; }
  .site-header .fishing-main-nav > a,
  .site-header .fishing-portal-menu > summary { padding-inline: 9px; font-size: 13px; }
}
@media (max-width: 800px) {
  .site-header { position: sticky; }
  .site-header .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 12px;
    min-height: 0;
    padding: 7px 0 9px;
  }
  .site-header .brand-with-logo { max-width: 180px; }
  .site-header .brand-with-logo .header-main-logo { width: min(180px, 100%); max-height: 48px; }
  .site-header .header-inner > nav.fishing-main-nav {
    flex: 0 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    overflow: visible;
  }
  .site-header .fishing-main-nav > a,
  .site-header .fishing-portal-menu > summary { min-height: 38px; padding: 8px 10px; }
  .site-header .fishing-portal-dropdown { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 480px) {
  .site-header .header-inner { width: calc(100% - 20px); }
  .site-header .header-inner > nav.fishing-main-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; overflow-y: visible; scrollbar-width: thin; }
  .site-header .fishing-main-nav > a,
  .site-header .fishing-portal-menu > summary { min-height: 36px; padding: 7px 9px; font-size: 12px; }
  .site-header .fishing-portal-dropdown { left: auto; right: 0; transform: none; }
}

/* Override the older catalog.css navigation rule, whose higher specificity
   set every navigation link to white on the white header. */
.site-header .header-inner > nav.fishing-main-nav > a,
.site-header .header-inner > nav.fishing-main-nav > details > summary {
  color: #17211b !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.site-header .header-inner > nav.fishing-main-nav > a:hover,
.site-header .header-inner > nav.fishing-main-nav > a:focus-visible,
.site-header .header-inner > nav.fishing-main-nav > details > summary:hover,
.site-header .header-inner > nav.fishing-main-nav > details > summary:focus-visible,
.site-header .header-inner > nav.fishing-main-nav > details[open] > summary {
  color: #17211b !important;
}
