
@import url('https://fonts.googleapis.com/css2?family=Chewy&display=swap');

.spell-header {
    font-family: inherit;
  }

  .spell-header__main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .spell-header--container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
    .spell-header__main {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
  }
  
  .spell-header--full {
    width: 100%;
  }
  
  .spell-header__notice {
    text-align: center;
    color: #fff;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .spell-header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 0;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .spell-header__logo img {
    max-height: 100px;
  }
  
  .spell-header__search {
    flex: 1;
    max-width: 500px;
  }
  
  .spell-header__search form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 30px;
    overflow: hidden;
  }
  
  .spell-header__search input {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
  }
  
  .spell-header__search button {
    background: none;
    border: none;
    padding: 0 1rem;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  .spell-header__icons {
    display: flex;
    gap: 1rem;
  }
  
  .spell-header__icon {
    font-size: 1.3rem;
    color: inherit;
    text-decoration: none;
  }
  
  .spell-header__menu {
    padding: 0.5rem 0;
  }
  
  .spell-header__menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
  }
  
  .spell-header__menu--left ul {
    justify-content: flex-start;
  }
  
  .spell-header__menu--right ul {
    justify-content: flex-end;
  }
  
  .spell-header__menu a {
    text-decoration: none;
    color: inherit !important;
    font-weight: 500;
  }


  /* Menu */
.spell-header__menu {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.spell-header__menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.spell-header__menu li a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.spell-header__menu--left {
  justify-content: flex-start;
}
.spell-header__menu--center {
  justify-content: center;
}
.spell-header__menu--right {
  justify-content: flex-end;
}
  

/* === MOBILE === */
.spell-header__menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  margin-left: auto;
}


  @media (max-width: 768px) {
  .spell-header__top {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    display: inline;
  }

  .spell-header__menu-toggle {
        display: grid;
        margin: 0 auto;
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
  }

  .spell-header__menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-top: 1px solid #eee;
  }

  .spell-header__menu.open {
        display: flex;
        top: 142px;
        z-index: 6;
        position: absolute;
    }

  .spell-header__menu ul {
    flex-direction: column;
    gap: 1rem;
  }
  .spell-header__search{
    display: none;
  }
  .spell-header__icons {
        display: block;
        gap: 1rem;
        max-width: 70%;
        padding: 30px;
        float: inline-end;
  }
  .spell-header__logo {
      max-width: 30%;
      float: left;
      padding: 15px;
  }
}