/***************************

Header

***************************/
.header-a {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--hsbg-neutral-color-8);
  box-shadow: rgb(9 30 66 / 25%) 0 2px 8px -2px, rgb(9 30 66 / 8%) 0 0 0 1px;
  z-index: 9;
}

.header-a .header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  max-width: 1200px;
  height: 70px;
  margin: auto;
}

/***************************

Header -> Logo

***************************/
.header-a .logo a {
  display: flex;
  font-size: var(--hsbg-font-size-h5);
  line-height: 1;
  font-weight: 700;
  color: var(--hsbg-neutral-color-1);
  text-decoration: none;
  min-width: 150px;
}

.header-a .logo img {
  max-width: 150px;
  max-height: 50px;
  border-radius: 5px;
  object-fit: contain;
}

/***************************

Header -> Menu

***************************/
.header-a .menu {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.header-a .search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
}

.header-a .search input {
  position: absolute;
  width: 0;
  max-width: 300px;
  height: 100%;
  top: 0;
  right: 40px;
  border: 0;
  outline: none;
  background: var(--hsbg-neutral-color-6);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--hsbg-neutral-color-1);
  padding: 0;
  transition: width 0.5s, padding 0.5s;
  appearance: none;
  -webkit-appearance: none;
}

.header-a .search.open input {
  width: calc(100% - 40px);
  max-width: 300px;
  padding: 10px;
}

.header-a .search-submit {
  position: absolute;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  transition: background 1s;
  cursor: pointer;
}

.header-a .open .search-submit {
  background: var(--hsbg-neutral-color-1);
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}

.header-a .search-submit svg {
  width: 26px;
  height: 26px;
  stroke: var(--hsbg-neutral-color-1);
}

.header-a .open .search-submit svg {
  stroke: var(--hsbg-neutral-color-10);
}

.header-a .menu ul {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-a .menu a {
  font-size: var(--hsbg-font-size-p);
  color: var(--hsbg-neutral-color-1);
  text-decoration: none;
  white-space: nowrap;
  padding: 5px;
}

/***************************

Header -> Bottom Menu

***************************/
.header-a .header-bottom {
  background: var(--hsbg-neutral-color-9);
  border-top: 1px solid var(--hsbg-neutral-color-7);
}

.header-a .header-bottom nav {
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}

.header-a .header-bottom nav ul {
  position: relative;
  display: flex;
  align-items: center;
  overflow-x: scroll;
  gap: 10px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  padding: 10px 10px;
  margin: 0 -10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.header-a .header-bottom nav ul::-webkit-scrollbar {
  display: none;
}

.header-a .header-bottom nav ul a {
  display: block;
  background: var(--hsbg-neutral-color-8);
  color: var(--hsbg-neutral-color-1);
  font-size: var(--hsbg-font-size-label);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 25px;
  white-space: nowrap;
}

.header-a .header-bottom nav ul.arrow-left:before {
  content: '';
  position: sticky;
  left: -10px;
  background: var(--hsbg-neutral-color-1);
  background-image: url('data:image/svg+xml,<svg fill="%23FFF" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8z"/></svg>');
  background-size: var(--hsbg-font-size-label);
  background-repeat: no-repeat;
  background-position: center;
  min-width: var(--hsbg-font-size-label);
  width: var(--hsbg-font-size-label);
  height: var(--hsbg-font-size-label);
  border-radius: 25px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 9px 10px;
  cursor: pointer;
}

.header-a .header-bottom nav ul.arrow-right:after {
  content: '';
  position: sticky;
  right: -10px;
  background: var(--hsbg-neutral-color-1);
  background-image: url('data:image/svg+xml,<svg fill="%23FFF" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/></svg>');
  background-size: var(--hsbg-font-size-label);
  background-repeat: no-repeat;
  background-position: center;
  min-width: var(--hsbg-font-size-label);
  width: var(--hsbg-font-size-label);
  height: var(--hsbg-font-size-label);
  border-radius: 25px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 9px 10px;
  cursor: pointer;
}

@media(max-width:767px) {
  .header-a .header-bottom {
    display: none;
  }

  .header-a .header-main nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: var(--hsbg-neutral-color-8);
    box-shadow: 0 10px 40px rgba(51, 51, 51, .4);
  }

  .header-a .menu ul {
    justify-content: space-between;
    height: 100%;
  }

  .header-a .header-main nav li {
    display: flex;
    align-items: center;
    flex-basis: 0%;
    flex-grow: 1;
    text-align: center;
    height: 100%;
  }

  .header-a .header-main nav li a {
    font-size: var(--hsbg-font-size-label);
    white-space: inherit;
    flex-direction: column;
    color: var(--hsbg-neutral-color-1);
  }
}