@import url("fonts.css");
@import url("colors.css");
header {
  margin: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  width: 20%;
}
header .logo h1 a {
  display: inline-block;
}
header .logo h1 a img {
  width: 100%;
}
header .header-menu {
  width: 40%;
  margin-right: 1rem;
}
header .header-menu nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
header .header-menu nav ul li {
  margin-left: 1rem;
}
header .header-menu nav ul li a {
  color: var(--color-black);
  text-decoration: none;
  align-items: center;
  transition: all 0.2s;
}
header .header-menu nav ul li a:hover {
  color: var(--color-main);
}
header .header-menu nav ul .active a {
  color: var(--color-main);
}
header .searchBox {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
header .searchBox form {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 50%;
}
header .searchBox form input {
  width: 70%;
  font-family: "iranyekanBakh";
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--color-gray);
}
header .searchBox form button {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  background-color: var(--color-main);
  border: none;
  border-radius: 0.25rem;
  transition: all 0.2s;
}
header .searchBox form button:hover {
  background-color: var(--color-main-hover);
}
header .searchBox form button svg {
  width: 1rem;
  color: var(--color-white);
}
header .searchBox .cart, header .searchBox .login {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  margin-right: 0.5rem;
  color: var(--color-white);
  text-decoration: none;
  background-color: var(--color-main);
  transition: all 0.2s;
  border-radius: 0.25rem;
  padding: 0 0.5rem;
}
header .searchBox .cart:hover, header .searchBox .login:hover {
  background-color: var(--color-main-hover);
}
header .searchBox .cart svg, header .searchBox .login svg {
  width: 1.5rem;
}
header .searchBox .cart {
  position: relative;
}
header .searchBox .cart span {
  position: absolute;
  top: -0.65rem;
  right: -0.5rem;
  background-color: #d80000;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}/*# sourceMappingURL=header.css.map */