body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #333;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #003366, #004080);
  color: white;
  padding: 15px 20px;
  flex-wrap: wrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.logo {
  max-height: 70px;
}

.company-info h1 {
  font-size: 20px;
  margin: 0;
  font-weight: bold;
}

.company-info p a {
  color: #cce6ff;
  text-decoration: none;
}

/* MAIN CONTENT */
main {
  padding: 1rem;
  max-width: 1200px;
  margin: auto;
}

/* SEARCH BAR */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.search-bar input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.search-bar button {
  background: #004080;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-bar button:hover {
  background: #0066cc;
}

/* BREADCRUMB BACK BUTTON */
.back-btn {
  background: #eee;
  color: #333;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
}

.back-btn:hover {
  background: #ddd;
}

/* GRID AND CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.card {
  background: white;
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.card-image {
  max-width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  color: #004080;
}

.category-card .card-icon {
  font-size: 36px;
  margin-bottom: 8px;
  color: #004080;
}

/* ITEM DETAIL */
.detail-image {
  max-width: 300px;
  height: auto;
  margin: 10px 0;
}

.meta {
  color: #555;
  font-size: 14px;
}

.specs {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  font-size: 14px;
}

th {
  background: #f0f0f5;
  font-weight: bold;
}

.wa-link {
  color: green;
  text-decoration: none;
}

/* FOOTER */
.footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  margin-top: 20px;
}
.category-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.card-code {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}
