* {
  box-sizing: border-box;
}

body {
  margin: 0;
   /* font-family: Helvetica Neue LT; */
   font-family: Arial, sans-serif; 
  background-color: #ffffff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Logo */
.logo {
  text-align: center;
  padding: 1rem;
}

/* Navbar */
.navbar {
  background-color: #014a88;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar .nav-links {
  display: flex;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
}

.navbar .nav-links a:hover {
  text-decoration: underline;
}

.navbar .right {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

/* Hamburger styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
}

/* Banner */
.banner {
  position: relative;
  background: url("https://cmcobrandshop.com/epweb_v5/image/EN4222_CMCO_Banner_6_2025.PNG")
    no-repeat center center;
  background-size: cover;
  height: 400px;
  color: white;
  text-align: center;
}

/* Description */
.description {
  background-color: #eaf3fa;
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
}

/* Section Title */
.section-title {
  margin: 2rem 1rem 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  padding: 0 1rem;
}

.card {
  text-align: center;
}

.card img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.card a {
  display: block;
  margin-top: 0.5rem;
  color: #0056b3;
  font-weight: bold;
  text-decoration: none;
}

/* Grids */
.main-content {
  padding: 2rem;
}
.grids {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem;
  gap: 1rem;
}

.grid-section {
  border: 1px solid #ccc;
  padding: 1rem;
  background-color: #f9f9f9;
}

.grid-section h3 {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
}

/* Table */
.table-container {
  overflow-x: auto;
}
.table-container table {
  min-width: 650px;
}
table {
  margin: 1.5rem 0px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 1rem;
}

th,
td {
  padding: 0.6rem;
  border: 1px solid #ccc;
  text-align: left;
}

td input[type="number"] {
  width: 60px;
  padding: 0.3rem;
}

/* Filters */
.filters {
  margin: 24px 0px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.filters label {
  font-weight: bold;
  margin-bottom: 0.2rem;
  display: block;
}

.filters select,
.filters input[type="text"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.filters .actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filters button {
  padding: 0.5rem 1rem;
  background-color: #3a4e59;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.filters .reset {
  background: none;
  border: none;
  color: #1a73e8;
  text-decoration: underline;
  cursor: pointer;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 1rem;
}

.pagination a {
  margin: 0 0.3rem;
  text-decoration: none;
  color: #0056b3;
  font-weight: bold;
}

/* Buttons */
.order-btn,
.add-fav-btn,
.place-order-btn {
  background-color: #FF6600;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.order-btn {
  padding: 0.3rem 0.6rem;
}

.add-fav-btn,
.place-order-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
}

.place-order-container {
  text-align: center;
  margin-bottom: 2rem;
}

/* Login Form */
header {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
}

header img {
  max-width: 200px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-box {
  width: 100%;
  max-width: 500px;
  background: #fff;
  /* border-radius: 8px; */
  padding: 2rem;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}
.login-btn {
  display: inline-block;
  background-color: #FF6600;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  line-height: 2rem;
}
.login-box h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

button {
  flex: 1;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.login-btn {
  background-color: #FF6600;
  color: white;
}

.reset-btn {
  background-color: #666;
  color: white;
}

.forgot-btn {
  background-color: #666;
  color: white;
}

.info-text {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  background-color: #222;
  color: white;
}

footer a {
  color: white;
  margin: 0 0.5rem;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 800px) {
  .navbar,
  .navbar .right {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none !important;
    width: 100%;
    flex-direction: column;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    padding: 0.5rem 0;
  }

  .banner {
    height: 250px;
  }

  .grids {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .banner {
    height: 200px;
  }
}

@media (max-width: 500px) {
  .banner {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .button-group {
    flex-direction: column;
  }
}
