
  :root
  {
    --bs-nav-link-color:#2e4a35 !important;
    --bs-link-color:#2e4a35 !important;
  }
  
  
  .nav-link
  {
    padding: 0px !important

  }
  
  .navbar
  {
    --bs-navbar-padding-y:0rem !important;
  }
    body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px; /* chữ vừa phải cho mobile */
    line-height: 1.4;
  }
.bg-theme ,.nav-pills .nav-link.active, .nav-pills .show>.nav-link,.btn-primary{
  background-color: #2e4a35 !important; /* mã màu bạn muốn */
}

.text-theme,button.nav-link:not(.active),.btn-link
{
  color:#2e4a35 !important;
}

  /* Card grid */
  .card-title {
    font-size: 1rem;       /* ~16px */
    font-weight: 600;
  }
  .card-subtitle {
    font-size: 0.85rem;    /* ~14px */
  }
  .card-body p {
    font-size: 0.85rem;    /* chữ nhỏ gọn */
    margin-bottom: 0.4rem;
  }
  .card-footer {
    font-size: 0.8rem;
  }

  /* Bottom navigation */
  .navbar.fixed-bottom .nav-link {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;    /* chữ nhỏ gọn */
    padding: 6px 0;
  }
  .navbar.fixed-bottom i {
    font-size: 1.3rem;     /* icon vừa tay bấm */
    display: block;
    margin-bottom: 2px;
  }
  .navbar.fixed-bottom span {
    font-weight: 600;
    font-size: 0.9rem;     /* số lượng nổi bật */
    color: #0d6efd;
  }
/* Bảng full width */
#productsTable {
  width: 100%;
  font-size: 0.9rem;
}

#productsTable th, #productsTable td {
  vertical-align: middle;
  white-space: normal; /* cho phép ngắt dòng tên sản phẩm */
}



/* Mobile chữ nhỏ hơn */
@media (max-width: 576px) {
  #productsTable {
    font-size: 0.8rem;
  }
  .card .card-title {
    font-size: 0.9rem;
    font-weight: 600;
  }
  .card .card-text {
    font-size: 0.8rem;
  }
}

.card {
  font-size: 0.85rem; /* chữ nhỏ gọn */
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.card img {
  max-height: 130px;
  object-fit: contain;
}
