/* Yellow-Sub 1.1.0 : uniquement #wide-nav, aucun autre élément du header. */
@font-face {
  font-family: YSMenuCondensed;
  src: url("menu.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@media (min-width: 768px) {
  #wide-nav.header-bottom {
    display: flex !important;
    min-height: 62px;
    height: auto;
    padding: 0;
    background: #101010 !important;
    border-top: 1px solid #363636;
    border-bottom: 1px solid #363636;
    box-shadow: none;
  }
  /* Le max-width de .container reste entièrement piloté par Flatsome. */
  #wide-nav > .container {
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding: 0 15px;
  }
  #wide-nav > .container > .flex-col {
    min-width: 0;
  }
  #wide-nav > .container > .flex-center {
    display: flex !important;
    flex: 1 1 auto;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ffcc00 #101010;
  }
  #wide-nav .header-bottom-nav {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    width: 100%;
    min-width: max-content;
    margin: 0;
    padding: 8px 0;
    list-style: none;
  }
  #wide-nav .header-bottom-nav > li.menu-item {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
  }
  #wide-nav .header-bottom-nav > li.menu-item::before,
  #wide-nav .header-bottom-nav > li.menu-item::after,
  #wide-nav .header-bottom-nav > li.menu-item > a::before,
  #wide-nav .header-bottom-nav > li.menu-item > a::after {
    content: none !important;
  }
  #wide-nav .header-bottom-nav > li.menu-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 9px clamp(6px, .7vw, 12px);
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #eee;
    opacity: 1;
    font-family: YSMenuCondensed, "Arial Narrow", Arial, sans-serif;
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    transition: color .15s ease, background-color .15s ease;
  }
  #wide-nav .header-bottom-nav > li.menu-item > a:hover {
    color: #ffcc00;
    background: #202020;
  }
  #wide-nav .header-bottom-nav > li.current-menu-item > a,
  #wide-nav .header-bottom-nav > li.current-menu-ancestor > a,
  #wide-nav .header-bottom-nav > li.current-menu-parent > a {
    background: #ffcc00;
    border-color: #edbc00;
    color: #101010;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
  }
  #wide-nav .header-bottom-nav > li.ys-menu-shop {
    border-left: 1px solid #ffcc00;
    margin-left: 6px;
    padding-left: 16px;
  }
  #wide-nav .header-bottom-nav > li.menu-item > a:focus-visible {
    outline: 2px solid #ffcc00;
    outline-offset: -3px;
  }
  #wide-nav .header-bottom-nav > li.current-menu-item > a:focus-visible {
    outline-color: #101010;
  }
  /* Navigation plate, comme la capture : les liens parents restent cliquables. */
  #wide-nav .header-bottom-nav > li.menu-item > .sub-menu,
  #wide-nav .header-bottom-nav > li.menu-item > .nav-dropdown,
  #wide-nav .header-bottom-nav > li.menu-item > a > .icon-angle-down {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #wide-nav .header-bottom-nav { gap: 1px; padding-block: 6px; }
  #wide-nav .header-bottom-nav > li.menu-item > a {
    padding-inline: 4px;
    font-size: clamp(12px, 1.45vw, 14px);
    letter-spacing: 0;
  }
  #wide-nav .header-bottom-nav > li.ys-menu-shop {
    margin-left: 2px;
    padding-left: 7px;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  #wide-nav .header-bottom-nav > li.menu-item > a { transition: none; }
}
