
/** ADD YOUR AWESOME CODES HERE **/

/* ==== HostCloud auth nav v5 — early anti-flash rule; full styles injected by js/auth-nav.js ==== */
html.hc-auth-known ul.navbar-right>li>a.log{visibility:hidden!important;}
/* ==== end auth nav ==== */

/* ==== HC-HEADER-FIX-START ==== */
/* ==========================================================================
   HostCloud header layout fix — 2026-11-28
   --------------------------------------------------------------------------
   Root cause:
   1) The theme has a GLOBAL rule in style.css:
        .navbar-nav span { font-size:24px; position:absolute; right:2px; top:13px }
      It was meant for decorative badge spans, but it also hijacks every span
      injected at runtime into <ul class="nav navbar-nav navbar-right"> by
      js/hc-catalog.js (cart) and js/auth-nav.js (language / account menu).
      The cart's un-classed <span>Cart</span> became absolute + 24px, so it
      was drawn on top of the cart icon as garbled overlapping text.
   2) With 8 menu items + cart + login + language, the fixed 1170px .container
      could not hold both <ul>s on one line, so .navbar-right wrapped onto a
      second row and the header grew from 90px to 136-185px.

   Fix: a single flex line on desktop, plus explicit !important neutralization
   of the theme's span rule for the injected cart controls. Scoped to
   .header_style_01 + #hc-nav-cart so nothing else on the site is affected.
   Desktop breakpoint starts at 1001px: the template collapses its navbar at
   max-width:1000px, so we must not fight the hamburger layout below that.
   ========================================================================== */

@media (min-width: 1001px) {
  .header_style_01 .container {
    width: 100% !important;
    max-width: 1400px !important;
  }
  .header_style_01 #navbar.navbar-collapse {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .header_style_01 #navbar > ul.nav.navbar-nav:not(.navbar-right) {
    float: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .header_style_01 #navbar > ul.navbar-right {
    float: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  .header_style_01 #navbar > ul.nav.navbar-nav:not(.navbar-right) > li > a {
    white-space: nowrap !important;
  }
}

/* Medium desktops: tighten spacing so all items fit on one line. */
@media (min-width: 1001px) and (max-width: 1360px) {
  .header_style_01 #navbar > ul.nav.navbar-nav:not(.navbar-right) > li > a {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 14px !important;
  }
  .header_style_01 .navbar-brand {
    padding-left: 0 !important;
    padding-right: 8px !important;
  }
  .header_style_01 .navbar-right > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Narrow desktops (1001-1200px): compact further.
   Also restore "Customer Login", which the theme hides at <=1158px via
   .navbar-default .btn-light{display:none}. */
@media (min-width: 1001px) and (max-width: 1200px) {
  .header_style_01 { padding-left: 16px !important; padding-right: 16px !important; }
  .header_style_01 #navbar > ul.nav.navbar-nav:not(.navbar-right) > li > a {
    padding-left: 5px !important; padding-right: 5px !important; font-size: 12px !important;
  }
  .header_style_01 .navbar-brand { padding-left: 0 !important; padding-right: 4px !important; }
  .header_style_01 .navbar-brand img { max-height: 30px !important; }
  .header_style_01 #hc-nav-cart > a > span:not([class]) { display: none !important; }
  .header_style_01 #navbar .navbar-right > li > a.log {
    display: inline-block !important;
    padding-left: 6px !important; padding-right: 6px !important; font-size: 12px !important;
  }
  .header_style_01 .hc-lang-btn { padding-left: 7px !important; padding-right: 7px !important; }
}

/* Neutralize the theme's global .navbar-nav span rule for the injected cart. */
.header_style_01 #hc-nav-cart > a > span:not([class]) {
  position: static !important;
  display: inline !important;
  float: none !important;
  top: auto !important;
  right: auto !important;
  font-size: 15px !important;
  line-height: inherit !important;
  margin: 0 !important;
}
.header_style_01 #hc-nav-cart > a { white-space: nowrap !important; }
.header_style_01 #hc-nav-cart > a > i.fa-shopping-cart {
  position: static !important;
  display: inline-block !important;
  font-size: 14px !important;
  float: none !important;
  margin-right: 2px !important;
}
/* ==== end HostCloud header layout fix ==== */
/* ==== HC-HEADER-FIX-END ==== */
