  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Poppins', sans-serif;
  }

  a {
      text-decoration: none;
  }


/* Scrollbar ki width */
::-webkit-scrollbar {
    width: 15px;
}

/* Background */
::-webkit-scrollbar-track {
    background: #e7060649;
    border-radius: 10px;
}

/* Scrollbar Thumb */
::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

/* Hover Effect */
::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

  /* ============ TOP BAR ============ */

/* body {
  overflow-x: clip; /* hidden ki jagah clip *
}
  
header {
  overflow: visible; /* ya yeh property bilkul mat likho *
} */


  .top-bar {
      background: #1a1a1a;
      color: #fff;
      padding: 8px 0;
      font-size: 13px;
      font-weight: 400;
      transition: all 0.3s ease;
  }

  .top-bar .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }


  .top-bar-left {
      width: 100%;
      text-align: center;
      display: flex;
      justify-content: center;
      gap: 5px;
  }

  .top-bar a {
      color: #fff;
      text-decoration: underline;
      font-weight: 600;
  }

  .top-bar-right a {
      text-decoration: none;
      margin-left: 25px;
      position: relative;
      transition: color 0.3s ease;
  }

  .top-bar-right a:hover {
      color: #D41D08;
  }

  .top-bar-right a::after {
      content: '|';
      position: absolute;
      right: -15px;
      color: #555;
  }

  .top-bar-right a:last-child::after {
      display: none;
  }

  /* ============ MAIN NAVBAR ============ */
  .main-navbar {
      background: #fff;
      padding: 15px 0;
      position: sticky;
      top: 0;
      z-index: 1000;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .main-navbar.scrolled {
      padding: 8px 0;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .main-navbar .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 45px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
  }

  /* Logo */
  .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      transition: transform 0.3s ease;
  }

  .logo:hover {
      transform: scale(1.02);
  }

  .logo img {
      height: 40px;
      width: auto;
  }

  .logo-text {
      font-size: 28px;
      font-weight: 800;
      color: #d41d08;
      letter-spacing: -1px;
  }

  /* Desktop Navigation */
  .desktop-nav {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
  }

  .desktop-nav li {
      position: relative;
  }

  .desktop-nav a {
      text-decoration: none;
      color: #333;
      font-size: 15px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 5px;
      transition: all 0.3s ease;
      padding: 5px 0;
  }

  .desktop-nav a:hover {
      color: #D41D08;
  }

  .desktop-nav a.active {
      color: #D41D08;
  }

  .desktop-nav .badge {
      background: #17a2b8;
      color: #fff;
      font-size: 9px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 3px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
  }

  .desktop-nav .badge.hot {
      background: #e91e63;
  }

  .desktop-nav .dropdown-icon {
      font-size: 10px;
      transition: transform 0.3s ease;
  }

  .desktop-nav li:hover .dropdown-icon {
      transform: rotate(180deg);
  }

  /* Dropdown Menu */
  .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      min-width: 200px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      padding: 10px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
      list-style: none;
  }

  .desktop-nav li:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  .dropdown-menu li a {
      padding: 10px 20px;
      display: block;
      font-size: 14px;
      font-weight: 400;
      transition: all 0.2s ease;
  }

  .dropdown-menu li a:hover {
      background: #f8f9fa;
      padding-left: 25px;
      color: #D41D08;
  }

  /* Right Icons */
  .nav-icons {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-shrink: 0;
  }

  .nav-icon {
      position: relative;
      text-decoration: none;
      color: #333;
      font-size: 20px;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      gap: 5px;
  }

  .nav-icon:hover {
      color: #D41D08;
      transform: translateY(-2px);
  }

  .nav-icon .count {
      position: absolute;
      top: -8px;
      right: -8px;
      background: #D41D08;
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .cart-info {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
  }

  .cart-info .amount {
      font-size: 13px;
      font-weight: 600;
      color: #333;
  }

  .cart-info .label {
      font-size: 11px;
      color: #777;
      font-weight: 400;
  }

  /* ============ SEARCH BAR SECTION ============ */
  .search-section {
      background: #fff;
      padding: 0 0 20px 0;
      transition: all 0.4s ease;
  }

  .search-section.hidden-on-scroll {
      display: none;
  }

  .search-section .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      align-items: center;
      gap: 20px;
  }

  /* Shop By Categories Button */
  .shop-categories-btn {
      background: #D41D08;
      color: #fff;
      border: none;
      padding: 12px 25px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 5px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
      flex-shrink: 0;
      white-space: nowrap;
  }

  .shop-categories-btn:hover {
      background: #c0392b;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  }

  .shop-categories-btn i {
      font-size: 16px;
  }

  /* Search Box */
  .search-box {
      flex: 1;
      display: flex;
      border: 2px solid #D41D08;
      border-radius: 5px;
      overflow: hidden;
      transition: all 0.3s ease;
  }

  .search-box:focus-within {
      box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
  }

  .search-category {
      background: #f8f9fa;
      border: none;
      padding: 12px 15px;
      font-size: 14px;
      font-weight: 400;
      color: #333;
      cursor: pointer;
      border-right: 1px solid #eee;
      outline: none;
  }

  .search-input {
      flex: 1;
      border: none;
      padding: 12px 15px;
      font-size: 14px;
      font-weight: 400;
      outline: none;
      color: #333;
  }

  .search-input::placeholder {
      color: #aaa;
  }

  .search-btn {
      background: #D41D08;
      color: #fff;
      border: none;
      padding: 12px 30px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
  }

  .search-btn:hover {
      background: #c0392b;
  }

  /* Free Shipping */
  .free-shipping {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #D41D08;
      font-size: 14px;
      font-weight: 500;
      flex-shrink: 0;
      white-space: nowrap;
  }

  .free-shipping i {
      font-size: 20px;
      animation: rocket 2s ease-in-out infinite;
  }

  @keyframes rocket {

      0%,
      100% {
          transform: translateY(0) rotate(0deg);
      }

      50% {
          transform: translateY(-5px) rotate(-5deg);
      }
  }

  /* ============ MOBILE STYLES ============ */
  .mobile-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: #333;
      cursor: pointer;
      padding: 5px;
      transition: all 0.3s ease;
  }

  .mobile-toggle:hover {
      color: #D41D08;
  }

  /* Mobile Menu Overlay */
  .mobile-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 999;
  }

  .mobile-overlay.active {
      opacity: 1;
      visibility: visible;
  }

  /* Mobile Menu Panel */
  .mobile-menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 85%;
      max-width: 350px;
      height: 100%;
      background: #fff;
      z-index: 1000;
      overflow-y: auto;
      transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.active {
      left: 0;
  }

  .mobile-menu-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid #eee;
  }

  .mobile-menu-header .logo-text {
      font-size: 22px;
  }

  .close-menu {
      background: none;
      border: none;
      font-size: 24px;
      color: #333;
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .close-menu:hover {
      color: #D41D08;
      transform: rotate(90deg);
  }

  .mobile-nav {
      list-style: none;
      padding: 10px 0;
  }

  .mobile-nav li {
      border-bottom: 1px solid #f5f5f5;
  }

  .mobile-nav a {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 20px;
      text-decoration: none;
      color: #333;
      font-size: 15px;
      font-weight: 500;
      transition: all 0.3s ease;
  }

  .mobile-nav a:hover {
      color: #D41D08;
      background: #f8f9fa;
      padding-left: 25px;
  }

  .mobile-nav a.active {
      color: #D41D08;
  }

  .mobile-nav .badge {
      background: #17a2b8;
      color: #fff;
      font-size: 9px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 3px;
      text-transform: uppercase;
  }

  .mobile-nav .badge.hot {
      background: #e91e63;
  }

  .mobile-nav .dropdown-toggle {
      background: none;
      border: none;
      font-size: 14px;
      color: #777;
      cursor: pointer;
      padding: 5px;
      transition: all 0.3s ease;
  }

  .mobile-nav .dropdown-toggle.rotated {
      transform: rotate(180deg);
  }

  .mobile-dropdown {
      list-style: none;
      background: #f8f9fa;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
  }

  .mobile-dropdown.open {
      max-height: 300px;
  }

  .mobile-dropdown a {
      padding: 12px 20px 12px 40px;
      font-size: 14px;
      font-weight: 400;
      color: #666;
  }

  /* Mobile Search */
  .mobile-search {
      display: none;
      padding: 15px 20px;
      background: #f8f9fa;
  }

  .mobile-search .search-box {
      border-color: #ddd;
  }

  .mobile-search .search-btn {
      padding: 12px 20px;
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1200px) {
      .desktop-nav {
          gap: 20px;
      }

      .desktop-nav a {
          font-size: 14px;
      }

      .free-shipping {
          display: none;
      }
  }

  @media (max-width: 992px) {
      .desktop-nav {
          display: none;
      }

      .mobile-toggle {
          display: block;
      }

      .nav-icons {
          gap: 15px;
      }

      .cart-info {
          display: none;
      }

      .search-section .container {
          flex-wrap: wrap;
      }

      .shop-categories-btn {
          width: 100%;
          justify-content: center;
      }

      .search-box {
          width: 100%;
      }
  }

  @media (max-width: 768px) {
      .top-bar .container {
          justify-content: center;
          text-align: center;
      }

      .top-bar-right {
          display: none;
      }

      .main-navbar .container {
          gap: 15px;
      }

      .logo-text {
          font-size: 22px;
      }

      .search-section {
          display: none;
      }

      .mobile-search {
          display: block;
      }

      .nav-icon {
          font-size: 18px;
      }
  }

  @media (max-width: 480px) {
      .logo-text {
          font-size: 18px;
      }

      .nav-icons {
          gap: 12px;
      }
  }

  /* ============ SCROLL ANIMATIONS ============ */
  .main-navbar.scrolled .logo img {
      height: 32px;
  }

  .main-navbar.scrolled .logo-text {
      font-size: 24px;
  }

  /* Smooth scroll behavior */
  html {
      scroll-behavior: smooth;
  }

  /* Demo content for scroll testing */
  .demo-content {
      height: 2000px;
      background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
      padding: 50px 20px;
      text-align: center;
      color: #666;
  }