/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Menu sa nezalamuje pri 850–1199 px (pod 850 px je mobilné menu): menšie písmo a medzery,
   menšie logo a vyhľadávanie, účet a košík len ikonou (text ostáva pre čítačky). 23. 11. 2026 */
@media (min-width: 850px) and (max-width: 1199px) {
  #masthead #logo {
    width: 160px;
    margin-right: 20px;
  }
  #masthead .header-search-form {
    min-width: 150px;
  }
  #masthead .flex-right .header-nav > li,
  #wide-nav .header-bottom-nav > li {
    margin: 0 6px;
  }
  #masthead .flex-right .header-nav > li > a,
  #wide-nav .header-bottom-nav > li > a {
    font-size: 13px;
  }
  #wide-nav .header-cart-title,
  #wide-nav .account-item .header-account-title,
  #wide-nav .nav-top-not-logged-in > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  #wide-nav .nav-top-not-logged-in::before {
    content: "\e901";
    font-family: fl-icons;
    font-size: 20px;
    line-height: 1;
  }
}
/* Dlhé meno prihláseného zákazníka v menu skrátené na „…“ */
#wide-nav .account-item .header-account-title {
  display: inline-block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
