/* 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; }
/* Wide, left-aligned category panels use the native details open state. */
.site-header .header-inner { position: relative; }
.site-header .header-inner > nav.fishing-main-nav { justify-content: flex-start; }
.site-header .fishing-main-nav > .fishing-mega-menu { position: static; }
.site-header .fishing-mega-menu > summary span { font-size: 11px; }
.site-header .fishing-main-nav > .fishing-mega-menu > .fishing-mega-dropdown {
  position: absolute;
  z-index: 110;
  top: 100%;
  left: 0;
  right: 0;
  box-sizing: border-box;
  display: none;
  width: 100%;
  min-width: 0;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  padding: 24px clamp(20px, 2.2vw, 34px) 28px;
  border: 1px solid #e5e6e2;
  border-top: 1px solid #f0f0ed;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(20, 35, 27, .15);
  transform: none;
}
.site-header .fishing-main-nav > .fishing-mega-menu[open] > .fishing-mega-dropdown {
  display: grid;
}
.site-header .fishing-mega-dropdown section {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}
.site-header .fishing-menu-kicker {
  display: block;
  margin: 0 0 8px;
  color: #66736b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.35;
}
.site-header .fishing-portal-dropdown .fishing-menu-feature {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  border-bottom: 1px solid #e9ebe7;
  border-radius: 0;
  font-weight: 750;
}
.site-header .fishing-portal-dropdown .fishing-menu-feature span { margin-left: 10px; color: #98724e; }
.site-header .fishing-portal-dropdown a {
  box-sizing: border-box;
  min-height: 42px;
  padding: 11px 12px;
  border-radius: 9px;
  white-space: normal;
}

@media (min-width: 801px) {
  /* Keep the trigger's hit area flush with the panel below the header. */
  .site-header .header-inner { padding-block: 0; }
  .site-header .brand-with-logo { flex-shrink: 1; min-width: 0; }
  .site-header .header-inner > nav.fishing-main-nav { min-width: max-content; }
  .site-header .header-inner > nav.fishing-main-nav,
  .site-header .fishing-main-nav > .fishing-mega-menu { align-self: stretch; }
  .site-header .fishing-main-nav > .fishing-mega-menu { align-content: center; }
}

@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; }
  .site-header .fishing-main-nav > .fishing-mega-menu > .fishing-mega-dropdown { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@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-main-nav > .fishing-mega-menu > .fishing-mega-dropdown {
    left: 0;
    right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
  }
  .site-header .fishing-main-nav > .fishing-portal-menu:not(.fishing-mega-menu) > .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: wrap; overflow: visible; scrollbar-width: auto; }
  .site-header .fishing-main-nav > a,
  .site-header .fishing-portal-menu > summary { min-height: 36px; padding: 7px 9px; font-size: 12px; }
  .site-header .fishing-main-nav > .fishing-mega-menu > .fishing-mega-dropdown {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 16px;
  }
  .site-header .fishing-main-nav > .fishing-portal-menu:not(.fishing-mega-menu) > .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;
}

/* catalog.css also targets links nested inside nav details and can override
   the dropdown's regular anchor color. Keep every mega-menu link readable. */
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown section > a,
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown section > a:visited {
  color: #26352c !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown section > a:hover,
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown section > a:focus-visible {
  color: #17211b !important;
  background: #f3f5f2 !important;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown section > a.fishing-menu-feature > span {
  color: #98724e !important;
}

/* Preserve panel scrolling and override the older catalog menu styles. */
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown {
 display:none !important; visibility:visible !important; opacity:1 !important;
 height:auto !important; max-height:min(78vh,720px) !important;
 overflow-x:hidden !important; overflow-y:auto !important;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu[open] > .fishing-mega-dropdown { display:grid !important; }
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown > section {
 display:flex !important; flex:0 0 auto !important; flex-direction:column !important;
 align-items:stretch !important; justify-content:flex-start !important;
 min-width:0 !important; height:auto !important; visibility:visible !important; opacity:1 !important;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-mega-dropdown > section > a {
 display:block !important; position:static !important; flex:0 0 auto !important; width:100% !important;
 height:auto !important; min-height:40px !important; margin:0 !important; padding:10px 12px !important;
 overflow:visible !important; visibility:visible !important; opacity:1 !important;
 color:#26352c !important; -webkit-text-fill-color:#26352c !important;
 font-size:14px !important; line-height:1.4 !important; text-indent:0 !important; white-space:normal !important;
}


/* The original panel position and open state keep the mouse path to each panel. */
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded {
  right: auto;
  width: min(100%, 940px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 2vw, 26px);
  padding: clamp(14px, 2.1vw, 28px);
  border: 1px solid #dce7df;
  border-top: 2px solid #2f7650;
  background: #fff;
  box-shadow: 0 20px 44px rgba(22, 53, 37, .17);
  max-height: min(72vh, 620px) !important;
  overscroll-behavior-y: contain;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-cols-4 {
  width: min(100%, 1080px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section {
  gap: 2px;
  padding: 10px 8px;
  border-top: 1px solid #dce7df;
}
.site-header .fishing-menu-expanded .fishing-menu-kicker {
  margin: 0 0 5px;
  padding: 3px 8px;
  color: #205d3d;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.35;
}
.site-header .fishing-menu-expanded > .fishing-menu-guides {
  border-radius: 10px;
  background: #f1f7f2;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a {
  min-height: 36px !important;
  padding: 7px 8px !important;
  overflow-wrap: anywhere;
  transition: background-color .15s ease;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a.fishing-menu-feature {
  border: 0;
  border-radius: 8px;
  background: #e7f2e9;
  color: #205d3d !important;
  -webkit-text-fill-color: currentColor !important;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a.fishing-menu-feature > span {
  margin-inline-start: 4px;
  color: inherit !important;
}
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a:hover,
.site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a:focus-visible {
  background: #dceee0 !important;
  color: #16492d !important;
  -webkit-text-fill-color: currentColor !important;
}
.site-header .fishing-menu-expanded a:focus-visible { outline: 2px solid #2f7650; outline-offset: -2px; }
@media (max-width: 800px) {
  .site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(66vh, 550px) !important;
    max-height: min(66dvh, 550px) !important;
  }
  .site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a {
    min-height: 42px !important;
    padding-block: 10px !important;
  }
}
@media (max-width: 480px) {
  .site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .header-inner > nav.fishing-main-nav > details.fishing-mega-menu > .fishing-menu-expanded > section > a {
    transition: none;
  }
}


/* Neutral colors for the Atlas and comparison links in the main navigation. */
.site-header .header-inner > nav.fishing-main-nav > :is(a.fishing-atlas-nav, a.compare-nav) {
  color: #252525 !important;
  background: transparent !important;
}
.site-header .header-inner > nav.fishing-main-nav > :is(a.fishing-atlas-nav, a.compare-nav):is(:hover, :focus-visible, :active) {
  color: #252525 !important;
  background: #f1f1f1 !important;
}
.site-header .header-inner > nav.fishing-main-nav > :is(a.fishing-atlas-nav, a.compare-nav):focus-visible {
  outline: 2px solid #626262;
  outline-offset: 2px;
}
.site-header .header-inner > nav.fishing-main-nav > a.compare-nav > .compare-count {
  color: #333 !important;
  background: #ededed !important;
}
