
  /* Global Styles */
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
  }

  .logo img {
    height: 50px;
  }

  nav {
    display: flex;
    align-items: center;
  }

  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
  }

  nav ul li {
    position: relative;
  }

  nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 10px;
    font-weight: 600;
    transition: color 0.3s;
  }

  nav ul li a:hover {
    color: #e60023;
  }

  /* Sub-menu Dropdown */
  nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  nav ul li ul li {
    white-space: nowrap;
  }

  /* Mobile Menu */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transform: translateX(-250px);
    visibility: hidden;
    transition: transform 0.3s ease, left 0.3s ease;
    z-index: 1000; /* Ensure mobile menu is on top */
  }

  .mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    left: 0;
  }

  /* Mobile menu icon */
  .mobile-menu-icon {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-menu-icon div {
    width: 25px;
    height: 3px;
    background-color: #333;
  }

  @media (max-width: 768px) {
    nav {
      display: none;
    }
    .mobile-menu-icon {
      display: flex;
    }
  }

  /* Glitch effect for special offers */
  .glitch {
    font-size: 5rem;
    color: #ff3e3e;
    position: absolute;
    top: 10%;
    z-index: 10;
    animation: glitch 2s infinite;
  }

  .scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 20px;
    animation: scan 2s linear infinite;
  }

  .campaign-section {
    background-color: #121212;
    padding: 40px 20px;
    text-align: center;
    color: #00ff00;
    z-index: 1;
    position: relative;
  }

  .campaign-image {
    width: 80%;
    max-width: 300px;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  @keyframes glitch {
    0% {
      text-shadow: 2px 2px #00ff00, -2px -2px #ff3e3e;
    }

    50% {
      text-shadow: -2px -2px #00ff00, 2px 2px #ff3e3e;
    }

    100% {
      text-shadow: 2px -2px #00ff00, -2px 2px #ff3e3e;
    }
  }

  @keyframes scan {
    from {
      background-position: 0 -20px;
    }

    to {
      background-position: 0 20px;
    }
  }
/*--------------*/

/* General Reset */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    transition: 0.2s;
    font-weight: 500;
}

/* Section Title */
.text-start {
    text-align: left !important;
    background-color: #65cefe;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
}

/* Categories Section */
.section-top-categories {
    margin-top: 20px;
}

.topcategory {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.cat_item {
    border: 1px solid #ddd;
    transition: 0.35s all;
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
}

.cat_item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.cat_item h6 {
    margin-top: 10px;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.cat_item .cat_item_content {
    padding: 10px;
}

.cat_item .cat_item_content p {
    font-size: 0.875rem;
    color: #555;
    margin-top: 5px;
}

/* Product Grid Layout */
.product_container{
    margin:0 50px;
}

.product {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.product img {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.product-description {
    font-size: 14px;
    color: #ff0000;
    margin-bottom: 5px;
    font-weight: bold;
}

.product-button-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px;
    flex-wrap: nowrap;
    align-content: stretch;
    flex-direction: row;
}

.product-button {
    background-color: #3498db;
    color: white;
    padding: 10px;
    text-align: center;
    width: 50%; /* Both buttons will take equal space */
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.product-button:hover {
    background-color: #2980b9;
}

.product-button i {
    margin-right: 1px;
}

.product-button-container button:first-child {
    margin-right: 1%; /* Adds space between buttons */
}

.buy-now-button {
    background-color: #2e73cc;
    color: white;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 3px;
    transition: background-color 0.3s;
}

.buy-now-button:hover {
    background-color: #27ae60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for small screens */
    }

    .topcategory {
        grid-template-columns: repeat(2, 1fr); /* Adjust category grid on smaller screens */
    }
    .product_container{
        margin:0 15px ;
    }
}


@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr; /* 1 column for very small screens */
    }

    .topcategory {
        grid-template-columns: 1fr; /* Single column for categories */
    }

    .buy-now-button {
        padding: 7px;
        font-size: 16px;
    }
}
