/* ==================================================
   PRODUCT CATEGORY & LIST - CLEAN BLUE STYLE
================================================== */

/* ================= RESET LINK ================= */

.product-category a,
.product-list a {
  text-decoration: none !important;
  color: inherit;
}

/* ==================================================
   PRODUCT CATEGORY
================================================== */

.product-category {
  width: 100%;
  padding: 80px 20px;
  background: #ffffff;
}

.category-container {
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

/* ---------- TITLE ---------- */

.category-title {
  font-size: 36px;
  font-weight: 700;
  color: #0b3a82;
  margin-bottom: 10px;
}

.category-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 50px;
}

/* ---------- GRID ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ---------- CARD ---------- */

.category-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;

  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(11, 58, 130, 0.25);
  border-bottom: 4px solid #0b3a82;
}

/* ---------- IMAGE ---------- */

.category-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;

  margin-bottom: 16px;

  transition: 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

/* ---------- TEXT ---------- */

.category-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #0b3a82;

  text-transform: uppercase;
  letter-spacing: 0.5px;

  transition: 0.3s ease;
}

.category-card:hover h4 {
  color: #ff6a00;
}

/* ==================================================
   PRODUCT LIST
================================================== */

.product-list {
  padding: 80px 20px;
  background: #f8fafc;
}

.product-container {
  max-width: 1300px;
  margin: auto;
}

/* ---------- TITLE ---------- */

.product-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #0b3a82;
  margin-bottom: 50px;
}

/* ---------- GRID ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* ---------- LINK ---------- */

.product-link {
  display: block;
  height: 100%;
  text-decoration: none;
}

/* ---------- CARD ---------- */

.product-card {
  background: #ffffff;
  border-radius: 14px;

  padding: 24px 22px 26px;

  text-align: left;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;

  position: relative;
  overflow: hidden;

  height: 100%;
}

/* Hover */

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 58, 130, 0.25);
}

/* ---------- IMAGE ---------- */

.product-image {
  height: 170px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 16px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  transition: 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* ---------- INFO ---------- */

.product-info h3 {
  margin: 10px 0 12px;

  font-size: 18px;
  font-weight: 700;

  color: #0b3a82;

  transition: 0.3s ease;
}

.product-card:hover .product-info h3 {
  color: #ff6a00;
}

/* ==================================================
   PRODUCT SPEC
================================================== */

.product-spec {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;

  border-top: 1px solid #e5e7eb;
}

.product-spec li {
  display: grid;
  grid-template-columns: 1fr auto;

  gap: 10px;

  padding: 8px 0;

  font-size: 13px;

  border-bottom: 1px dashed #e5e7eb;
}

/* Label */

.product-spec li span:first-child {
  color: #6b7280;
  font-weight: 500;
}

/* Value */

.product-spec li span:last-child {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.product-card:hover .product-spec li span:last-child {
  color: #0b3a82;
}

.product-spec li:last-child {
  border-bottom: none;
}

/* ==================================================
   PRODUCT BUTTON
================================================== */

.product-btn {
  margin-top: 8px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 13px;
  font-weight: 600;

  color: #0b3a82;

  transition: all 0.3s ease;
}

.product-card:hover .product-btn {
  color: #ff6a00;
  transform: translateX(3px);
}

/* ---------- EMPTY ---------- */

.no-product {
  text-align: center;
  font-size: 15px;
  color: #6b7280;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1100px) {
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-title {
    font-size: 28px;
  }
}

@media (max-width: 500px) {
  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-title {
    font-size: 24px;
  }

  .product-info h3 {
    font-size: 16px;
  }

  .product-spec li {
    font-size: 12px;
  }
}
