* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Category Bar */
.category-bars {
  background: linear-gradient(90deg, #ffffff, #f7f7f7);
  color: #333;
  border-top: 1px solid #e5e5e5;
}
.category-bars ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 10px 0;
  gap: 25px;
}
.category-bars a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}
.category-bars a:hover {
  color: #193153;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ================== Category Filter ================== */
.category-filter {
  text-align: center;
  background: #f8f8f8;
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
}

.cat-btn {
  background: #fff;
  color: #193153;
  border: 1px solid #193153;
  border-radius: 20px;
  padding: 6px 16px;
  margin: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cat-btn:hover {
  background: #193153;
  color: #fff;
}

.cat-btn.active {
  background: #193153;
  color: #fff;
}

/* ================== Filter Bar ================== */
.filter-bar1 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 20px;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.filter-bar1 label {
  margin-right: 10px;
  font-weight: 500;
  color: #333;
}

.filter-bar1 select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 0.95rem;
}

/* ================== Product Grid ================== */
.products {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  padding: 20px;
  background: #fafafa;
}

.product-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 1rem;
  margin: 8px 0 5px;
  color: #333;
}

.brand, .quantity {
  font-size: 0.9rem;
  color: #666;
  margin: 3px 0;
}

.rating {
  color: #ffb400;
  font-size: 0.9rem;
  margin: 5px 0;
}

.price {
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.discount {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
  margin-left: 5px;
}

.off {
  color: green;
  font-size: 0.85rem;
  margin-left: 5px;
}

/* ✅ Equal, Responsive Add to Cart Buttons */
.product-card button {
  margin-top: auto;
  background: #193153;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card button:hover {
  background: #193153;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .product-card button {
    font-size: 14px;
    padding: 9px 0;
  }
}

@media (max-width: 480px) {
  .product-card button {
    font-size: 13px;
    padding: 8px 0;
  }
}

/* ================== Footer ================== */
.new-footer {
  background: linear-gradient(135deg, #193153, #193153);
  color: #fff;
  padding: 60px 8% 30px;
  font-family: "Poppins", sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 30px;
}

.footer-brand img {
  width: 60px;
  margin-bottom: 10px;
}
.footer-brand h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffd54f;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #fce4ec;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffd54f;
}
.footer-links ul,
.footer-contact ul {
  list-style: none;
}
.footer-links li,
.footer-contact li {
  margin: 8px 0;
}
.footer-links a {
  text-decoration: none;
  color: #fce4ec;
  transition: 0.3s;
}
.footer-links a:hover {
  color: #ffd54f;
  padding-left: 5px;
}

.footer-contact li {
  font-size: 14px;
  color: #fce4ec;
}

.footer-social {
  margin-top: 12px;
}
.footer-social a {
  display: inline-block;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 8px;
  border-radius: 50%;
  font-size: 15px;
  transition: 0.3s;
}
.footer-social a:hover {
  background: #ffd54f;
  color:#193153;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #fce4ec;
}

.footer-bottom span {
  color: #ffd54f;
  font-weight: 600;
}

/* ================== Responsive Design ================== */
@media (max-width: 1200px) {
  .products {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 992px) {
  .products {
    grid-template-columns: repeat(4, 1fr);
  }
  .search-box {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }
  .search-box {
    width: 90%;
  }
  .filter-bar {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card img {
    height: 150px;
  }
  .search-box input {
    width: 120px;
  }
}


@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }
  .search-box {
    width: 80%;
  }}