/* Subcategory Details page */

body, html { max-width: 100%; overflow-x: hidden; }

.page-wrapper { padding-top: 110px; display: flex; }

.home-content {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 100vh;
  box-sizing: border-box;
}

.tproduct {
  background: #056b3c;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 3.5em;
}

.url {
  font-size: 15px;
  display: flex;
  gap: 20px;
  margin-right: 1em;
  padding: 8px 0;
}

.url a {
  color: #f2c84a;
  padding: 5px 20px;
  border-radius: 22px;
  text-decoration: none;
  border: 1px solid gold;
}

.hedding { color: #000; text-align: center; font-size: 22px; }

.section-1 { margin-top: 2rem; }

.product-layout { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }

.product-image-section,
.product-description-section { flex: 1 1 300px; }

.pro-img { width: 54%; margin: auto; display: block; }

.spinfo1 {
  padding: 15px;
  color: #000;
  text-align: justify;
  font-size: 14px;
  line-height: 24px;
}

.pro-section { background-color: whitesmoke; }

.subpcard { display: flex; flex-wrap: wrap; justify-content: center; }

.subpcard div {
  width: 200px;
  min-height: 280px;
  padding: 10px;
  margin: 7px;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.subpcard div:hover { transform: translateY(-5px); }

.subpcard div img { width: 80%; height: 150px; object-fit: contain; margin: auto; display: block; }

.subpcard div h3 { text-align: center; color: #000; font-size: 0.9em; word-wrap: break-word; }

.subpcard div h2 { text-align: center; color: #000; font-size: 0.8em; margin-top: auto; }

.pro-hr { width: 90%; margin: 6px auto; }

.active { font-weight: bold; color: #166534; }

.footer { width: 100%; margin-left: 0; left: 0; }

@media (max-width: 768px) {
  .home-content { margin-left: 0; }
  .footer { margin-left: 0 !important; }
}