.main-header--is-full-screen {
    --container-primary-margin : 4%;
}

.main-header {
    position : sticky;
    top: 0;
    z-index  : 5;
    color    : var(--color-grey-font-default);
}

.main-header a {
    text-decoration : none;
    color           : var(--color-black-default);
}

.main-header a:hover {
    color : var(--link-color-on-hover);
}

.header-logo h1 {
    margin : 0;
}

.header-nav {
    background : var(--nav-bg--color);
}

/*
--------------------------------------
Style général overlay
--------------------------------------
*/
.overlay-global-except-header {
    position         : fixed;
    top              : 0;
    z-index          : 2;
    width            : 100%;
    height           : 100vh;
    background       : rgba(0, 0, 0, 0);
    pointer-events   : none;
    transition       : all 0.3s ease-out 0.2s;
    transform        : scaleY(0);
    transform-origin : top;
}

.overlay-global-except-header--is-show {
    transition     : all 0.3s ease-out;
    pointer-events : all;
    transform      : scaleY(1);
    background     : rgba(0, 0, 0, .4);
}

/*
--------------------------------------
Header template
--------------------------------------
*/
.header-infos {
    background : white;
    padding    : 8px 0;
}

.header-message {
    padding        : 8px 0;
    background     : var(--color-primary);
    color          : white;
    text-align     : center;
    text-transform : uppercase;
}

.infos-links {
    display         : flex;
    justify-content : flex-end;
}

.header-burger {
    cursor : pointer;
}

.header-actions {
    display     : flex;
    align-items : center;
}

.header-actions > * + * {
    margin-left : 30px;
}

.header-actions .link-icon a {
  display        : flex;
  flex-direction : column;
  align-items    : center;
  text-align     : center;
  height: 45px;
  justify-content: space-between;
}

.header-actions .link-icon__text {
  display : none;
  font-size: 12px;
  font-weight: 400;
}

.link-icon {
    position : relative;
}

.link-icon .cart-products-count,
.header-actions-footer__cart .cart-products-count {
  background    : var(--color-primary);
  border-radius : 10px;
  padding: 0 4px;
  line-height   : 19px;
  color         : var(--color-secondary);
  font-weight: 500;
  font-size: 12px;
  text-align    : center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon .cart-products-count {
    position  : absolute;
    top       : -7px;
    right     : 8px;
    transform : translate3d(50%, 0, 0);
}


.cart-products-count {
    display : inline-block;
}

.header-search .search-widget{
  position: relative;
}

.header-search .ui-autocomplete{
  top: 50px!important;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #c9c9c9;
  padding: 0;
}

.ui-menu.ui-jolisearch li+li:before{
  content: none;
}

.ui-menu.ui-jolisearch .ui-menu-item a:hover, .ui-menu.ui-jolisearch .ui-menu-item a.ui-state-focus, .ui-menu.ui-jolisearch .ui-menu-item a.ui-state-hover{
  border: 1px solid transparent;
  border-radius:0;
}

.header-search .ui-autocomplete a:hover{
  color: inherit;
}

.header-search .ui-autocomplete a.more-results{
  padding: 10px 5px;

}

.header-search .ui-autocomplete a.more-results .jolisearch-post{
  color: black;
}
