/* bionaczynia: odświeżenie nagłówka na komputerze (24.09.2026). Tylko styl, HTML motywu bez zmian. */
@media (min-width: 992px) {
  #header .header-top {
    background: #fff;
    border-bottom: 1px solid #eceef1;
  }
  #header .header-top .box-header { align-items: center; }

  /* --- menu główne --- */
  #header .leo-megamenu .megamenu.horizontal > li { position: relative; }
  #header .leo-megamenu .megamenu.horizontal > li > a.nav-link {
    font-family: Montserrat, sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1c1c1c;
    padding-left: 14px;
    padding-right: 14px;
    transition: color .15s;
  }
  #header .leo-megamenu .megamenu.horizontal > li::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 24px;
    height: 2px;
    border-radius: 2px;
    background: #81C341;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
  }
  #header .leo-megamenu .megamenu.horizontal > li:hover > a.nav-link,
  #header .leo-megamenu .megamenu.horizontal > li.open > a.nav-link { color: #3f7d1c; }
  #header .leo-megamenu .megamenu.horizontal > li:hover::after,
  #header .leo-megamenu .megamenu.horizontal > li.open::after { transform: scaleX(1); }
  #header .leo-megamenu .megamenu.horizontal > li > a.nav-link.dropdown-toggle::after { color: #9aa0a6; }

  /* --- rozwijane menu (mega menu) --- */
  #header .leo-megamenu .dropdown-menu {
    border: 1px solid #eceef1 !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 44px rgba(20, 24, 28, .12) !important;
    padding: 22px 22px 14px !important;
    margin-top: 0 !important;
  }
  #header .leo-megamenu .dropdown-menu .menu-title,
  #header .leo-megamenu .dropdown-menu .menu-title a {
    font-family: Montserrat, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    color: #1c1c1c !important;
    line-height: 1.3;
    margin-bottom: 8px;
    text-decoration: none;
  }
  #header .leo-megamenu .dropdown-menu .widget-subcategories ul li a,
  #header .leo-megamenu .dropdown-menu .dropdown-menu-inner ul li a {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a4f55 !important;
    line-height: 1.45;
    padding: 5px 0;
    display: inline-block;
    transition: color .15s;
  }
  #header .leo-megamenu .dropdown-menu .widget-subcategories ul li a:hover,
  #header .leo-megamenu .dropdown-menu .dropdown-menu-inner ul li a:hover { color: #3f7d1c !important; }

  /* --- wyszukiwarka: jedno pole z kategorią i przyciskiem --- */
  #header #leo_search_block_top .block_content {
    display: flex;
    align-items: stretch;
    border: 1px solid #dfe2e6;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
  }
  #header #leo_search_block_top .block_content:focus-within {
    border-color: #81C341;
    box-shadow: 0 0 0 3px rgba(129, 195, 65, .18);
  }
  #header #leo_search_block_top .list-cate-wrapper {
    background: #f6f7f8 !important;
    border-right: 1px solid #eceef1;
  }
  #header #leo_search_block_top .list-cate-wrapper .select-title,
  #header #leo_search_block_top .list-cate-wrapper .select-title span {
    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #3d3d3d !important;
    background: transparent !important;
  }
  #header #leo_search_query_top {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: Montserrat, sans-serif;
    font-size: 14px !important;
    color: #1c1c1c;
    box-shadow: none !important;
  }
  #header #leo_search_query_top::placeholder { color: #8a9097; }
  #header #leo_search_top_button {
    background: #81C341 !important;
    border: 0 !important;
    border-radius: 0 !important;
    transition: background .15s;
  }
  #header #leo_search_top_button:hover { background: #5f9a2a !important; }

  /* --- ikony: język, konto, koszyk --- */
  #header .search-icons .popup-title i,
  #header .search-icons #cart-block .header i {
    color: #1c1c1c !important;
    transition: color .15s;
  }
  #header .search-icons .popup-title:hover i,
  #header .search-icons #cart-block .header:hover i { color: #3f7d1c !important; }
  #header .search-icons .popup-content,
  #header .search-icons .dropdown-menu.user-info {
    border: 1px solid #eceef1 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px rgba(20, 24, 28, .12) !important;
  }
}

/* 992-1199 px: menu w drugim rzędzie, ale zwarte i wyrównane */
@media (min-width: 992px) and (max-width: 1299px) {
  #header .leo-megamenu .megamenu.horizontal > li > a.nav-link { padding-left: 12px; padding-right: 12px; }
}

/* 25.09.2026: pasek z telefonem i mailem nad nagłówkiem usunięty (wiersz appagebuilder id 2 wyłączony); pusty kontener nie zajmuje miejsca */
#header .header-nav { display: none !important; }
