/* =============================================
   PRODUCTS PAGE STYLES
============================================= */

/* --- Products Banner (Hero) --- */
.products-banner {
  background-color: var(--clr-bg-dark);
  background-image:
    linear-gradient(rgba(4, 10, 25, 0.8), rgba(4, 10, 25, 0.7)),
    url("/wp-content/themes/GlobalZT/assets/images/banner/product-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 170px 0 80px;
  position: relative;
  overflow: hidden;
}

.products-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.products-banner-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--sp-lg);
}

.products-banner-content h1 span {
  color: var(--clr-accent);
}

.products-banner-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 1000px;
  /* margin-bottom: var(--sp-xl); */
}

/* Advantage Stats in Banner */
.banner-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.banner-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s;
}

.banner-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.banner-stat-card i {
  font-size: 1.5rem;
  color: var(--clr-accent);
  margin-bottom: 16px;
  display: block;
}

.banner-stat-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.banner-stat-card span {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- Main Products Section --- */
.catalog-section {
  padding: 80px 0;
  background: #fff;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
}

/* Product Grid (3x4) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary-light);
}

.product-card-img {
  height: 240px;
  background: #f8f9fb;
  position: relative;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* padding: 30px; */
  transition: transform 0.6s ease;
}

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

.product-card-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-primary-light);
  margin-bottom: 8px;
  display: block;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-card-title a {
  text-decoration: none;
  color: inherit;
}

.product-card-desc {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card-footer {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.product-card-btn:hover {
  transform: translateX(5px);
}

/* Pagination */
.pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--clr-text-primary);
  font-weight: 600;
  transition: all 0.2s;
}

.page-btn.active,
.page-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* --- Production Process --- */
.process-section {
  padding: 100px 0;
  background: var(--clr-bg-section);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
}

/* Line connecting steps */
.process-grid::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: rgba(10, 75, 143, 0.1);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
  border: 4px solid #fff;
  transition: all 0.3s;
  position: relative;
}

.step-num {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  background: var(--clr-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(240, 165, 0, 0.3);
}

.process-step:hover .step-icon {
  background: var(--clr-primary);
  color: #fff;
  transform: scale(1.05);
  border-color: var(--clr-primary-light);
}

.process-step:hover .step-num {
  background: var(--clr-primary-dark);
  transform: scale(1.1);
}

.step-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--clr-primary-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}
.service-promo-section {
  padding: 100px var(--page-padding);
  background: white;
}
/* --- FAQ Accordion Styles moved to common.css --- */
.faq-section {
  padding: 100px 0;
  background: var(--clr-bg-section);
}
/* --- Responsive Adjustments --- */
@media (max-width: 1281px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 1024px) {
  .products-banner-inner {
    grid-template-columns: 1fr;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
    .catalog-sidebar{
    order: 2;
  }

  .promo-banner{
    grid-template-columns: 1fr !important;
  }
  .promo-content h2{
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  .products-banner-content p{
    margin-bottom: 0;
  }
  .promo-banner{
    padding:30px !important;
  }
  .promo-image img{
    height:auto !important;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .banner-stats {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .sticky-sidebar{
    margin-bottom: 0;
  }

}
@media (max-width: 450px){
  .page-btn {
  width: calc((100% - 70px) / 8);
  aspect-ratio: 1;
  height: auto;
  font-size: 0.6rem;
}
}