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

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

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

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

.category-title {
  font-size: 38px;
  font-weight: 700;
  color: #0f2341;
  margin-bottom: 12px;
}

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

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

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

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

.category-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;

  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
  transition: all 0.35s ease;

  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(250, 204, 21, 0.35);
  border-bottom: 4px solid #facc15;
}

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

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

  margin-bottom: 18px;

  transition: 0.3s ease;
}

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

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

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

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

  transition: 0.3s ease;
}

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

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

.product-list {
  padding: 90px 20px;
  background: #f9fafb;
}

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

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

.product-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #0f2341;
  margin-bottom: 55px;
}

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

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

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

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

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

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

  padding: 26px 24px 28px;

  text-align: left;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;

  height: 100%;
}

/* Gold Line */

.product-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 0%;
  height: 4px;

  background: linear-gradient(90deg, #facc15, #fde047, #facc15);

  transition: 0.35s ease;
}

/* Hover */

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(250, 204, 21, 0.35);
}

.product-card:hover::after {
  width: 100%;
}

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

.product-image {
  height: 180px;

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

  margin-bottom: 18px;
}

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

  object-fit: contain;

  transition: 0.3s ease;
}

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

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

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

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

  color: #0f2341;

  transition: 0.3s ease;
}

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

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

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

  border-top: 1px solid #e5e7eb;
}

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

  gap: 12px;

  padding: 10px 0;

  font-size: 14px;

  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: #0f2341;
  font-weight: 600;
  text-align: right;
}

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

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

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

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

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

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

  color: #1e3a8a;

  transition: all 0.3s ease;
}

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

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

.no-product {
  text-align: center;
  font-size: 16px;
  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: 30px;
  }
}

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

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

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

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