* {margin: 0%;padding: 0%;box-sizing: border-box;}
a {text-decoration: none;}
.top-text {display: flex;justify-content: space-between; background-color: #2a2c30;color: #f7f7f7;padding: 10px 30px;}
.navbar ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* @media (max-width: 768px) {
    .navbar ul {
        display: none; 
        flex-direction: column;
        background: #f7f7f7;
        width: 100%;
        padding: 15px 0;
        text-align: center;
        gap: 15px;
    }

    .navbar ul.show {
        display: flex; 
    }

    .hamburger {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #000;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
} */

/* .sing-in-up {
    display: flex;
    gap: 30px;
}

ul li {
    list-style: none;
}

.sing-in-up a {
    text-decoration: none;
    color: #f7f7f7;
} */

.section-navbar .container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    background:#fff;
}
.section-navbar .container1 {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
    background:#fff;
}

.navbar {
    align-content: center;
}

/* ===== Base ===== */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

/* Close button hidden */
.menu-close {
  display: none;
}

.navbar ul li a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 16px;
    display: inline-block;
}

.navbar ul li {
    position: relative;
}

.logo img {
    height: 40px;
    width: 262px;
    /* object-fit: cover; */
}

.section-navbar {
    width: 100%;

    box-shadow: 0 0 20px 2px #1a171780;
     position: sticky;
    top: 0;
    z-index: 1;
    background-color: #f7f7f7;
}

.section-navbar {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-80px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-item .active {
    color: #0062ff;

}

.navbar ul li a:hover::after {
    transform: scaleX(1);
}
.navbar ul li a:hover{
    color: #0062ff;
}
.navbar ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0062ff;
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-fav {
    font-size: 20px;
    color: #555;
    transition: 0.3s;
    cursor: pointer;
}

.nav-fav:hover,
.nav-fav.active {
    color: red;
}

#wishlist-count {
    background: red;
    color: #fff;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 50%;
    margin-left: 2px;
}
/* =========================
   BASE NAVBAR LAYOUT
========================= */

.section-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Left */
.logo {
  flex: 0 0 auto;
}

/* Menu Right */
.navbar {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

/* Hamburger & Close */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Close button hidden by default */
.menu-close {
  display: none;
  font-size: 18px;          /* small size */
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 15px;              /* RIGHT SIDE */
  z-index: 1001;
}


/* =========================
   TABLET (≤ 992px)
========================= */

@media (max-width: 992px) {

  .navbar ul {
    gap: 20px;
  }

  .navbar ul li a {
    font-size: 14px;
  }

  .logo img {
    width: 150px;
  }
}
@media (max-width: 768px) {

  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    margin-left: 155px;
  }

  /* Right-side offcanvas menu */
  .navbar ul {
    position: fixed;
    top: 0;
    right: -280px;              /* hidden */
    width: 260px;
    height: 100vh;
    background: #f7f7f7;
    flex-direction: column;
    gap: 20px;
    padding: 60px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  /* Show menu */
  .navbar ul.show {
    right: 0;
  }

  /* Close button */
  .menu-close {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 18px;            /* small */
    cursor: pointer;
    z-index: 1001;
  }

  /* Show close button only when menu open */
  .menu-close.show {
    display: block;
  }
}