.submenu__links_nav{
  margin-top: 10px;
margin-bottom: 10px;}

.submenu__logo {
  width: auto;
  height: 17px;
}
.submenu__menu{
    display: flex;
    align-items: center;
    gap: 20px;
}
.submenu__links-wrapper{
  margin: 0;
  list-style-type: none;
  display: flex;
  gap: 30px;
}
.submenu__scroller {
  display: flex;
  align-items: center;
/*  justify-content: space-between;*/
  gap: 30px;
}
.submenu__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.submenu__links-wrapper a{
  font-family: "PP Formula", arial, sans-serif; 
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #333;
}
.submenu__links-wrapper a:hover{
  color: #b1a487;
}
.submenu__links-wrapper a:focus{
  color: #7e7154;
}
.submenu__links-wrapper a.active {
  color: #9d8d69;
}
/* Default layout */
.submenu__links-wrapper {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap; 
}

/* Mobile styling */
@media (max-width: 1016px) {
  .submenu__links_nav{
    justify-content: center;
  }
    .submenu__logo{
    margin-left: 10px;
}
}
@media (max-width: 650px) {
  .submenu__button-wrapper a{
  margin-right: 30px;
}
  .submenu__logo{
    margin-left: 10px;
}
  /* Make the whole strip scrollable */
  .submenu__scroller {
    overflow-x: auto;               
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none;             
    scroll-behavior: smooth;          

    /* Edge fade hint */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      rgba(0,0,0,0.6) 24px,
      #000 48px,
      #000 calc(100% - 48px),
      rgba(0,0,0,0.6) calc(100% - 24px),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      rgba(0,0,0,0.6) 24px,
      #000 48px,
      #000 calc(100% - 48px),
      rgba(0,0,0,0.6) calc(100% - 24px),
      transparent 100%
    );
  }

  /* Hide scrollbar (WebKit) */
  .submenu__scroller::-webkit-scrollbar { display: none; }

  /* Keep each child from shrinking */
  .submenu__scroller > * { 
    flex: 0 0 auto; 
  }
  .submenu__links-wrapper li {
    flex: 0 0 auto; 
  }
}
.submenu__links-wrapper {
  flex-wrap: nowrap;      
}

ul.submenu__links-wrapper {
  margin-left: 20px;

}


}
