/* style.css - BTVN Buổi 2, Lần 1, mã đề B (Công nghệ)
   CSS external là cách chính cho toàn trang. */

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1e293b;
  background-color: #f1f5f9;
  margin: 0;
}

header {
  background-color: #1d4ed8;
  color: #ffffff;
  padding: 24px;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px;
}

h1, h2 {
  margin-top: 0;
}

/* ----- Bảng thông số kỹ thuật đứng trước ----- */
.specs-section {
  margin-bottom: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  margin-top: 12px;
}

caption {
  font-style: italic;
  color: #64748b;
  margin-bottom: 8px;
  text-align: left;
}

th, td {
  padding: 12px;
  border: 1px solid #cbd5e1;
  text-align: left;
}

th {
  background-color: #1d4ed8;
  color: #ffffff;
}

.row-le {
  background-color: #f8fafc;
}

.row-chan {
  background-color: #ffffff;
}

/* ----- Khu vực card công nghệ ----- */
.featured-products {
  margin-top: 16px;
}

.cards {
  margin: 16px 0;
}

.card {
  display: inline-block;
  vertical-align: top;
  width: 300px;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 18px;
  margin: 0 18px 24px 0;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  margin-bottom: 8px;
}

.card-title {
  margin: 6px 0 10px;
  color: #0f172a;
}

.card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
  background-color: #f8fafc;
}

.desc {
  font-size: 0.9em;
  line-height: 1.5;
  color: #475569;
  margin-bottom: 12px;
}

.price-box {
  background-color: #eff6ff;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: bold;
  color: #1d4ed8;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  background-color: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
}

#card-noi-bat {
  border: 2px solid #1d4ed8;
  background-color: #fefce8;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.18);
}

footer {
  padding: 20px 24px;
  color: #64748b;
}
