body {
  margin: 0;
  font-family: Arial;
  background: #f5f5f5;
}
header {
  background: #2ecc71;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 24px;
}
.container {
  padding: 60px 100px;
  max-width: 1200px;
  margin: auto;
}
.top-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.top-bar input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

/* Discount badge */
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #2d6cdf;
  color: white;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 5px;
}

/* Delivery time */
.time {
  font-size: 12px;
  color: #777;
  margin: 5px 0;
}

/* Weight */
.weight {
  font-size: 13px;
  color: #777;
}

/* Price */
.price {
  font-weight: bold;
  margin: 5px 0;
}

.price span {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
  margin-left: 5px;
}

/* Button */
.card button {
  width: 100%;
  padding: 8px;
  border: 1px solid #27ae60;
  color: #27ae60;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.card button:hover {
  background: #27ae60;
  color: white;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 100px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.contact {
  text-decoration: none;
  color: green;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* Logo */
.logo {
  height: 90px; /* increase size */
  width: auto; /* keep ratio */
  object-fit: contain;
  flex-shrink: 0;
}

/* Search (SMALL & CLEAN) */
.search-bar {
  width: 800px; /* 👈 makes it small */
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #ddd;
  outline: none;
  transition: 0.2s;
}

.search-bar:focus {
  border-color: #2ecc71;
  box-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

/* Phone (STYLISH SMALL) */
.contact {
  font-size: 14px;
  background: #f6fff8;
  padding: 6px 12px;
  border-radius: 20px;
  color: #27ae60;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.product-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid #1e8e3e;
  border-radius: 8px;
  overflow: hidden;
  height: 34px;
  margin-top: 10px;
}

/* ADD button (when item not added) */
.add-text {
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: #1e8e3e;
  cursor: pointer;
  transition: 0.2s;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Minus button */
.add-minus,
.add-plus {
  width: 32%;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: #1e8e3e;
  color: #fff;
  transition: 0.2s;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quantity number */
.show-item {
  width: 36%;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: #000;
}

.contact span {
  font-weight: 600;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* CART BUTTON STYLE */
.cart-btn {
  background: #1e8e3e;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.cart-icon {
  margin-right: 20px;
}

.cart-btn-0 {
  background: #e5e5e5;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.cart-btn:hover {
  transform: scale(1.05);
}

.description {
  font-size: 12.5px;
  color: #6b7280;
  background: #f9fafb;
  padding: 6px 0px;
  border-radius: 6px;
  height: 20px;
}

.qty-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #27ae60;
  border-radius: 6px;
  padding: 5px;
  margin-top: 8px;
}

.qty-box button {
  background: #27ae60;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.qty-box span {
  font-weight: bold;
}

.card button {
  transition: 0.2s;
}

.service-notice {
  background: #eeece4;
  color: #e91892;
  padding: 12px 10px;
  margin: 15px auto;
  max-width: 1200px;
  border-radius: 8px;
  border: 1px solid #ffeeba;
  font-size: 20px;
  text-align: center;
  font-weight: 500;
}

.charge-notice {
  background: #f0fff4;
  color: #2f855a;
  padding: 12px 10px;
  margin: 15px auto;
  max-width: 1200px;
  border-radius: 8px;
  border: 1px solid #c6f6d5;
  font-size: 20px;
  text-align: center;
  font-weight: 500;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.category-tabs {
  max-width: 1200px;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 0 10px;
}

.tab-btn {
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  background: #e5e7eb;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.tab-btn.active {
  background: #1e8e3e;
  color: white;
  border-radius: 30px;
}

.tab-btn:hover {
  background: #1e8e3e;
  color: white;
  border-radius: 30px;
}

.tab-btn {
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:focus,
.tab-btn:active {
  outline: none;
  box-shadow: none;
}

.tab-btn {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.no-product-found {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 50px 20px;
  font-size: 20px;
  color: #6b7280;
  font-weight: 500;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 100%; */
}

.brand-name {
  display: none;

  font-size: 32px;
  font-weight: 700;
  color: #1e8e3e;
}

.logo {
  height: 90px;
  /* width: auto; */
}

@media (max-width: 768px) {
  .service-notice {
    margin: 10px 12px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 6px;
  }

  .charge-notice {
    margin: 10px 12px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 6px;
  }

  .section-title {
    font-size: 22px;
    margin: 25px 0 15px;
  }

  .section-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* 📱 Small Mobile */
@media (max-width: 480px) {
  .service-notice {
    font-size: 12.5px;
    padding: 8px 10px;
  }

  .charge-notice {
    font-size: 14px;
    padding: 8px 10px;
  }
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {
  /* Navbar layout */
  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 15px;
  }

  /* Logo */
  .logo {
    height: 50px;
    margin: auto;
  }

  /* Search full width */
  .search-bar {
    width: 100%;
  }

  /* Contact center */
  .contact {
    justify-content: center;
    font-size: 13px;
  }

  /* Container padding */
  .container {
    padding: 20px 10px;
  }

  /* Grid (2 items per row) */
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Card adjustments */
  .card img {
    height: 100px;
  }

  .card {
    padding: 8px;
  }

  .card button {
    padding: 6px;
    font-size: 14px;
  }

  /* Cart (bottom bar fix) */
  .cart {
    font-size: 14px;
    padding: 8px;
  }

  .brand-name {
    display: block;
  }

  .brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand-name {
    font-size: 24px;
  }

  .logo {
    height: 63px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
