/* ============================================================
   category.css — Steel Shakti Category Page (Image Match Design)
   Fresh design matching the provided reference image exactly.
   ============================================================ */

/* ---- Hero Section ---- */
.cat-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 0;
}
.cat-hero-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cat-hero-left {
  flex: 1;
  min-width: 0;
}
.cat-hero-right {
  flex: 0 0 360px;
  max-width: 360px;
}
.cat-hero-right img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
/* Breadcrumb */
.cat-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0 0 .6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: .82rem;
  color: #6c757d;
}
.cat-breadcrumb ol li {
  display: inline-flex;
  align-items: center;
}
.cat-breadcrumb ol li::after {
  content: '>';
  margin: 0 6px;
  color: #adb5bd;
  font-size: .75rem;
}
.cat-breadcrumb ol li:last-child::after {
  display: none;
}
.cat-breadcrumb ol li:last-child {
  color: #495057;
  font-weight: 600;
}
.cat-breadcrumb ol li a {
  color: #6c757d;
  text-decoration: none;
  transition: color .2s;
}
.cat-breadcrumb ol li a:hover {
  color: #15803d;
}
.cat-hero-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 .25rem;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.cat-hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0 0 .6rem;
}
.cat-hero-desc {
  font-size: .92rem;
  color: #495057;
  line-height: 1.7;
  margin: 0;
  max-width: 900px;
}

/* ---- Trust Badges Strip ---- */
.cat-trust-strip {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .55rem 1.1rem;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: transform .2s, box-shadow .2s;
}
.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.trust-badge i {
  font-size: 1.3rem;
  color: #15803d;
}
.trust-badge strong {
  display: block;
  font-size: .82rem;
  color: #1a1a2e;
  line-height: 1.2;
}
.trust-badge span {
  display: block;
  font-size: .72rem;
  color: #6c757d;
  line-height: 1.2;
}

/* ---- Products Section ---- */
.cat-products-section {
  background: #ffffff;
  padding: 2rem 0;
}
.cat-section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 1rem;
}
.heading-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: #dee2e6;
}
.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.cat-prod-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.cat-prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,.1);
  border-color: #15803d;
}
.cat-prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #15803d;
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.cat-prod-img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f8f9fa;
}
.cat-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-prod-card:hover .cat-prod-img img {
  transform: scale(1.05);
}
.cat-prod-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.cat-prod-title {
  font-size: .92rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}
.cat-prod-title a {
  color: inherit;
  text-decoration: none;
}
.cat-prod-title a:hover {
  color: #15803d;
}
.cat-prod-spec {
  font-size: .78rem;
  color: #495057;
  line-height: 1.4;
}
.cat-prod-spec strong {
  color: #1a1a2e;
  font-weight: 600;
}
.cat-prod-btn {
  display: block;
  margin-top: auto;
  padding: .5rem 0;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.cat-prod-btn:hover {
  background: #15803d;
  color: #fff;
}

/* Quote button */
.cat-quote-wrap {
  text-align: center;
  margin-top: 1.5rem;
}
.cat-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .65rem 1.8rem;
  background: #1a1a2e;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s;
}
.cat-quote-btn:hover {
  background: #15803d;
  color: #fff;
}

/* ---- Info Grid Section ---- */
.cat-info-section {
  background: #f8f9fa;
  padding: 1.2rem 0;
}
.cat-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1050px;
  margin: 0 auto;
}
.cat-info-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.cat-info-body {
  font-size: .8rem;
  color: #495057;
  line-height: 1.55;
  flex: 1;
  max-height: 400px;
  overflow: hidden;
  transition: max-height .3s ease;
  position: relative;
}
.cat-info-body.expanded {
  max-height: 800px;
}
.cat-info-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e9ecef;
  color: #495057;
  font-size: .9rem;
  margin-bottom: .5rem;
}
.cat-info-card h3 {
  font-size: .88rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 .35rem;
}
.cat-info-card > div,
.cat-info-card > p {
  font-size: .84rem;
  color: #495057;
  line-height: 1.65;
  margin: 0;
}
.cat-cap-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 .3rem;
}
.cat-cap-list li {
  font-size: .84rem;
  color: #495057;
  line-height: 1.6;
}
.cat-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .84rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 4px;
}
.cat-feature-list li i {
  color: #15803d;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.cat-small-text {
  font-size: .78rem;
  color: #6c757d;
  margin-top: .3rem;
  font-style: italic;
}

/* ---- Applications Section ---- */
.cat-applications-section {
  background: #ffffff;
  padding: 1.2rem 0;
}
.cat-apps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  max-width: 900px;
  margin: 0 auto;
}
.cat-app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: .8rem .5rem;
  border-radius: 10px;
  min-width: 80px;
  flex: 1 1 80px;
  max-width: 110px;
  transition: background .2s;
}
.cat-app-item:hover {
  background: #f8f9fa;
}
.cat-app-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f1f3f5;
  color: #495057;
  font-size: 1.2rem;
}
.cat-app-item span {
  font-size: .82rem;
  font-weight: 600;
  color: #495057;
}

/* ---- Why Choose Section ---- */
.cat-why-section {
  background: #f8f9fa;
  padding: 1.2rem 0;
}
.cat-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .8rem;
}
.cat-why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: .8rem .5rem;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  transition: transform .2s;
}
.cat-why-item:hover {
  transform: translateY(-3px);
}
.cat-why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f3f5;
  color: #495057;
  font-size: 1.1rem;
}
.cat-why-item strong {
  font-size: .78rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

/* ---- FAQ Section ---- */
.cat-faq-section {
  background: #ffffff;
  padding: 1.2rem 0;
}
.cat-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cat-faq-item {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
}
.cat-faq-item:hover,
.cat-faq-item.open {
  border-color: #15803d;
}
.cat-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .8rem 1rem;
  background: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .88rem;
  font-weight: 600;
  color: #1a1a2e;
  gap: 10px;
  transition: background .2s;
}
.cat-faq-q:hover {
  background: #f8f9fa;
}
.cat-faq-q i {
  font-size: .9rem;
  color: #6c757d;
  flex-shrink: 0;
  transition: transform .3s;
}
.cat-faq-item.open .cat-faq-q i {
  transform: rotate(45deg);
  color: #15803d;
}
.cat-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.cat-faq-item.open .cat-faq-a {
  max-height: 300px;
  padding: 0 1rem .8rem;
}
.cat-faq-a p {
  font-size: .84rem;
  color: #495057;
  line-height: 1.65;
  margin: 0;
}

/* ---- CTA Band ---- */
.cat-cta-section {
  background: transparent;
  padding: 0;
}
.cat-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #ffffff;
  background: #1a1a2e;
  border-radius: 16px;
  padding: 1.2rem 2rem;
  margin: 1rem 0;
}
.cat-cta-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cat-cta-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  font-size: 1.4rem;
  color: #ffffff;
  flex-shrink: 0;
}
.cat-cta-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  color: #ffffff;
}
.cat-cta-text p {
  font-size: .82rem;
  margin: .2rem 0 0;
  color: rgba(255,255,255,.7);
}
.cat-cta-middle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.cat-cta-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  min-width: 80px;
}
.cat-cta-feat-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  font-size: 1rem;
  color: #ffffff;
}
.cat-cta-feat span {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
}
.cat-cta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.cat-cta-btn-main {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1.6rem;
  background: #15803d;
  color: #ffffff;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.cat-cta-btn-main:hover {
  background: #16a34a;
  color: #ffffff;
}
.cat-cta-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .45rem 1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #ffffff;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.cat-cta-btn-wa:hover {
  background: rgba(255,255,255,.1);
  color: #ffffff;
}
.cat-cta-btn-wa i {
  font-size: 1rem;
  color: #25d366;
}

/* ---- Explore More Section ---- */
.cat-explore-section {
  background: #ffffff;
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
}
.cat-explore-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 1rem;
}
.cat-explore-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.cat-explore-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .45rem 1rem;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: #495057;
  text-decoration: none;
  transition: all .2s;
}
.cat-explore-pill:hover {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}
.cat-explore-pill i {
  font-size: .7rem;
}
.cat-explore-tagline {
  text-align: center;
  font-size: .82rem;
  color: #6c757d;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  .cat-hero-inner {
    flex-direction: column-reverse;
  }
  .cat-hero-right {
    display: none;
  }
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat-info-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .cat-apps-grid {
    gap: .6rem;
  }
  .cat-app-item {
    min-width: 0;
    flex: 1 1 calc(25% - .6rem);
    max-width: none;
    padding: .6rem .4rem;
  }
  .cat-app-item i { font-size: 1.4rem; }
  .cat-app-item strong { font-size: .72rem; }
  .cat-why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cat-cta-band {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }
  .cat-cta-left {
    flex-direction: column;
    text-align: center;
  }
  .cat-cta-middle {
    justify-content: center;
    gap: 1rem;
  }
  .cat-cta-right {
    align-items: center;
    width: 100%;
  }
  .cat-cta-btn-main {
    width: 100%;
    justify-content: center;
  }
  .cat-cta-btn-wa {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 575.98px) {
  .cat-hero-title {
    font-size: 1.4rem;
  }
  .trust-badges {
    gap: .5rem;
  }
  .trust-badge {
    padding: .4rem .7rem;
    font-size: .75rem;
  }
  .trust-badge i {
    font-size: 1rem;
  }
  .cat-products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cat-info-grid {
    grid-template-columns: 1fr;
  }
  .cat-apps-grid {
    gap: .5rem;
  }
  .cat-app-item {
    min-width: 0;
    flex: 1 1 calc(25% - .5rem);
    max-width: none;
    padding: .5rem .25rem;
    gap: 4px;
  }
  .cat-app-item i {
    font-size: 1.3rem;
  }
  .cat-app-item strong {
    font-size: .65rem;
  }
  .cat-why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
  }
  .cat-faq-grid {
    grid-template-columns: 1fr;
  }
  .cat-section-heading {
    font-size: 1.1rem;
  }
  .cat-explore-links {
    gap: .4rem;
  }
  .cat-explore-pill {
    font-size: .78rem;
    padding: .35rem .8rem;
  }
}

/* ---- Load More Spinner ---- */
.cat-load-more {
  text-align: center;
  padding: 2rem 0;
  color: #6c757d;
  font-size: .9rem;
}


/* --- Category pagination (crawlable ?page=N navigation, #Issue9) --- */
.cat-pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:28px;flex-wrap:wrap;}
.cat-page-link{min-width:36px;height:36px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e5ea;border-radius:8px;background:#fff;color:#232a33;font-size:.85rem;font-weight:600;text-decoration:none;transition:border-color .15s,color .15s;}
a.cat-page-link:hover{border-color:#1f7a4d;color:#1f7a4d;}
.cat-page-link.active{background:#1f7a4d;border-color:#1f7a4d;color:#fff;}
.cat-page-link.disabled{opacity:.4;pointer-events:none;}

/* ---- Comparison Block (standalone section) ---- */
.cat-comparison-block{display:flex;gap:32px;align-items:flex-start;max-width:1000px;margin:0 auto;}
.cat-comparison-left{flex:1;}
.cat-comparison-body p{margin:0 0 10px;line-height:1.65;color:#444;font-size:.9rem;}
.cat-comparison-body p:last-child{margin-bottom:0;}

/* ---- Related Options Grid ---- */
.cat-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px;}
.cat-related-card{display:flex;flex-direction:column;padding:24px 20px;border:1px solid #e8eaed;border-radius:12px;background:#fafbfc;text-decoration:none;color:inherit;transition:border-color .2s,box-shadow .2s;}
.cat-related-card:hover{border-color:#1f7a4d;box-shadow:0 2px 12px rgba(31,122,77,.1);}
.cat-related-icon{width:44px;height:44px;border-radius:10px;background:rgba(31,122,77,.08);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.cat-related-icon i{font-size:1.2rem;color:#1f7a4d;}
.cat-related-card h3{font-size:1rem;font-weight:600;margin:0 0 6px;color:#1a1a2e;}
.cat-related-card p{font-size:.85rem;color:#555;margin:0 0 12px;line-height:1.5;}
.cat-related-arrow{font-size:.82rem;font-weight:600;color:#1f7a4d;display:flex;align-items:center;gap:4px;}
.cat-related-arrow i{font-size:.75rem;transition:transform .2s;}
.cat-related-card:hover .cat-related-arrow i{transform:translateX(3px);}

@media(max-width:768px){
  .cat-related-grid{grid-template-columns:1fr;}
  .cat-comparison-block{flex-direction:column;gap:16px;}
}
