
/* ============================
   Header
============================ */


    /* Header Container */
    .header {
      background: var(--primary);
      box-shadow: var(--shadow);
      position: sticky;
      top: 0;
      z-index: 100;
      padding: 0.8rem 0;

    }

    .header-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      /* border: 1px yellow solid; */
    }

    .header-container a {
      text-decoration: none;
    }

    /* Logo */
    .logo {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      text-decoration: none;
    }

    .logo-icon {
      font-size: 1.8rem;
      color: var(--primary);
    }

    .logo-text {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--dark);
    }

    .logo-text span {
      color: var(--primary);
    }

    .auth-btn {
      padding: 0.5rem 1rem;
      border-radius: 20px;
      cursor: pointer;
      margin-left: 0.5rem;
    }
    .auth-btn {
      background: transparent;
      border: 1px solid var(--white);
      color: var(--white);
      font-weight: 600;
      transition: var(--transition);
    }
    .auth-btn:hover {
      background: var(--white);
      color: var(--primary);
      border-color: var(--primary);
    }
    .auth-btn.filled {
      background: var(--primary);
      color: var(--white);
      border: none;
    }

    .auth-btn.filled:hover {
      background: var(--primary-dark);
      color: var(--white);
    }
    .auth-btn.filled span {
      font-size: 1.2rem;
      padding: 0.3rem 0.5rem;
      border-radius: 20px;
      margin-left: 0.5rem;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .user-nav,
    .guest-nav {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .create-btn {
      background: #FF4D4D;
      color: white;
      font-weight: 600;
      box-shadow: var(--shadow);
      border: none;
      transition: var(--transition);
      padding: 0.8rem 1.2rem;
      margin-right: 2rem;
      border-radius: 20px;
      cursor: pointer;
    }
   

    /* Search Bar */
    .search-bar {
      flex: 1;
      max-width: 600px;
      /* margin: 0 2rem; */
      position: relative;
      margin-bottom: 30px;
    }

    .search-input {
      border: none;
      background: transparent;
      padding: 0.9rem 1rem 0.9rem 2.5rem; /* left padding for icon */
      font-size: 1rem;
      flex: 1;
      outline: none;
      width: 100%;
      border-radius: 50px;
      font-size: 1.2rem;
      border: 1px solid var(--gray-medium);
      font-size: 1rem;
      transition: var(--transition);
      background: var(--gray-light);
    }


    .search-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px var(--primary-light);
      background: var(--white);
    }

     .search-form {
      display: flex;
      align-items: center;
      background: #f7f7f7;
      border-radius: 2rem;
      padding: 0.2rem 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      width: 100%;
      max-width: 600px;
    }


    .search-button {
      background: #482fed;
      border: none;
      color: #fff;
      border-radius: 50%;
      width: 2.5rem;
      height: 2.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 0.5rem;
      font-size: 1.2rem;
      cursor: pointer;
      transition: background 0.2s;
    }

/* .search-button:hover {
  background: #e04850;
} */


/* .container {
      max-width: 1200px;
      margin: auto;
    } */
    h2 {
      font-size: 28px;
      margin-bottom: 20px;
      color: #222;
    }
 
    /* .categories-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 20px;
    } */
    /* .category-card {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
      text-align: center;
      transition: transform 0.2s ease;
    } */
    .category-card:hover {
      transform: translateY(-4px);
    }
    .category-icon {
      font-size: 32px;
      margin-bottom: 10px;
    }
    .category-label {
      font-size: 14px;
      color: #333;
      font-weight: 500;
    }
    .more-btn {
      display: block;
      margin: 30px auto 0;
      padding: 10px 20px;
      border: none;
      background: #007bff;
      color: white;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
    }
    .featured {
      margin-top: 50px;
    }
    .featured-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 20px;
    }
    .featured-card {
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
      text-align: center;
    }
    .featured-card img {
      max-width: 100%;
      border-radius: 8px;
    }
    .featured-title {
      margin: 10px 0 5px;
      font-weight: bold;
      font-size: 16px;
    }
    .featured-price {
      color: #007bff;
      font-weight: bold;
      font-size: 14px;
    }
    .categories-grid a {
      text-decoration: none;
      color: inherit;
    }

    .chips { display: flex; flex-wrap: wrap; gap: 0.5em; margin-bottom: 1em; }
.chip {
  display: inline-block;
  padding: 0.5em 1.2em;
  background: #f4f4f4;
  border-radius: 20px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #ddd;
  transition: background 0.2s, color 0.2s;
}
.chip:hover, .chip.more:hover {
  background: #0056D2;
  color: #fff;
}
.chip.more {
  background: #eee;
  color: #0056D2;
  border: 1px dashed #0056D2;
  cursor: pointer;
}
.chip.active {
  background: #0056D2;
  color: #fff;
}
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  padding: 2em 2em 1em 2em;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  min-width: 300px;
  text-align: center;
}
  
 

    /* Navigation */
    .nav-items {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-link {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: var(--gray-dark);
      font-size: 0.9rem;
      transition: var(--transition);
      position: relative;
    }

     .nav-link .create {
        border: 3px solid var(--primary);
        /* color: var(--primary); */
        /* color: red; */
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-weight: 1200;
        box-shadow: var(--shadow);
        
    }
  

    .nav-link i {
      font-size: 1.3rem;
      margin-bottom: 0.2rem;
    }

    .nav-link:hover {
      color: var(--primary);
    }

    .nav-link.active {
      color: var(--primary);
    }

    /* Notification Badge */
    .notification-badge {
      position: absolute;
      top: -5px;
      right: -5px;
      background: var(--accent);
      color: white;
      background: #e11d48;
      border-radius: 50%;
      width: 18px;
      height: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 600;
    }

    /* User Dropdown */

    .seller-profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    background: #f8f8f8;
    display: block;
    margin: 0 auto 10px auto;
}
    .user-dropdown {
      position: relative;
    }

    .user-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      object-fit: cover;
      cursor: pointer;
      border: 2px solid var(--gray-medium);
      transition: var(--transition);
    }

    .user-avatar:hover {
      border-color: var(--primary);
    }

    .dropdown-menu {
      position: absolute;
      right: 0;
      top: 50px;
      background: var(--white);
      border-radius: 8px;
      box-shadow: var(--shadow);
      width: 220px;
      padding: 0.8rem 0;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      z-index: 100;
    }

    .user-dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      top: 45px;
    }

    .dropdown-item {
      padding: 0.7rem 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
      text-decoration: none;
      color: var(--dark);
      transition: var(--transition);
    }

    .dropdown-item:hover {
      background: var(--gray-light);
      color: var(--primary);
    }

    .dropdown-item i {
      width: 20px;
      text-align: center;
    }

    .dropdown-divider {
      height: 1px;
      background: var(--gray-light);
      margin: 0.5rem 0;
    }

    /* Notification Dropdown */
    .notification-dropdown {
      position: absolute;
      right: -20px;
      top: 50px;
      background: var(--white);
      border-radius: 8px;
      box-shadow: var(--shadow);
      width: 350px;
      max-height: 400px;
      overflow-y: auto;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
      z-index: 100;
    }

    .nav-link.notifications:hover .notification-dropdown {
      opacity: 1;
      visibility: visible;
      top: 45px;
    }

    .notification-header {
      padding: 1rem;
      border-bottom: 1px solid var(--gray-light);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .notification-title {
      font-weight: 600;
    }

    .mark-all-read {
      color: var(--primary);
      font-size: 0.9rem;
      cursor: pointer;
    }

    .notification-item {
      padding: 1rem;
      border-bottom: 1px solid var(--gray-light);
      display: flex;
      gap: 1rem;
      cursor: pointer;
      transition: var(--transition);
    }

    .notification-item:hover {
      background: var(--gray-light);
    }

    .notification-item.unread {
      background: var(--primary-light);
    }

    .notification-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--primary-light);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .notification-content {
      flex: 1;
    }

    .notification-text {
      margin-bottom: 0.3rem;
      font-size: 0.95rem;
    }

    .notification-time {
      font-size: 0.8rem;
      color: var(--gray-dark);
    }

    .view-all {
      display: block;
      text-align: center;
      padding: 0.8rem;
      color: var(--primary);
      font-weight: 500;
      text-decoration: none;
    }

 