/* ================= NAVBAR ================= */

.header {
  width: 100%;
  height: 90px;
}


.navbar {
  width: 100%;
  height: 90px;
  padding: 0 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #fff;

  box-shadow: 0 4px 15px rgba(0,0,0,0.08);

  position: fixed;
  top: 0;
  left: 0;

  z-index: 9999;
}


/* ================= LOGO ================= */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
}


/* ================= NAV LINKS ================= */

.nav-links {
  display: flex;
  align-items: center;

  list-style: none;
  gap: 40px;
}


.nav-links li {
  list-style: none;
}


.nav-links a {
  text-decoration: none;

  color: #222;

  font-size: 16px;
  font-weight: 500;

  transition: 0.3s ease;
}


.nav-links a:hover,
.nav-links .active {
  color: #c1121f;
}


/* ================= CART ================= */

.cart {
  width: 60px;
  height: 60px;

  background: #c1121f;

  border-radius: 15px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  cursor: pointer;

  transition: 0.3s ease;
}


.cart:hover {
  transform: translateY(-3px);
}


.cart i {
  color: white;
  font-size: 22px;
}


.cart-count {

  position: absolute;

  top: -6px;
  right: -6px;

  width: 24px;
  height: 24px;

  background: white;
  color: #c1121f;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 13px;
  font-weight: 600;
}


/* ================= HAMBURGER ================= */

.menu-btn {
  display: none;

  cursor: pointer;
}


.menu-btn i {
  font-size: 28px;
  color: #222;
}


/* ================= TABLET ================= */

@media (max-width: 992px) {


  .navbar {
    padding: 0 30px;
  }


  .nav-links {

    position: absolute;

    top: 90px;
    left: 0;

    width: 100%;

    background: #fff;

    display: none;

    flex-direction: column;

    align-items: center;

    gap: 25px;

    padding: 30px 0;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    z-index: 9999;
  }


  .nav-links.active {
    display: flex;
  }


  .menu-btn {
    display: block;
  }


  .cart {
    margin-left: auto;
    margin-right: 20px;
  }

}


/* ================= MOBILE ================= */

@media (max-width: 600px) {


  .navbar {

    height: 80px;

    padding: 0 20px;
  }


  .logo img {
    height: 55px;
  }


  .cart {

    width: 50px;
    height: 50px;
  }


  .cart i {

    font-size: 20px;
  }


  .nav-links {

    top: 80px;
  }

}