.zs-product-main {
  background: #fff;
  padding-top: calc(var(--zs-header-offset));
}

.zs-product-hero {
  padding: 0;
  background-color: #20262d;
  background-image: linear-gradient(90deg, rgba(26, 31, 36, 0.08), rgba(26, 31, 36, 0.18)), url("../img/Engine-Cover.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.zs-product-hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  min-height: 340px;
  padding: 28px 0;
}

.zs-product-hero-copy {
  text-align: right;
}

.zs-product-hero h2 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.zs-product-breadcrumbs {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.zs-product-breadcrumbs a {
  color: #fff;
}

.zs-product-breadcrumbs a:hover {
  color: #d7e6f2;
}

.zs-product-showcase {
  padding: 54px 0 90px;
}

.zs-product-showcase-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.zs-product-sidebar {
  background: #f3f5f8;
}

.zs-product-sidebar h2 {
  margin: 0;
  padding: 18px 22px;
  background: #ef2b2d;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.zs-product-category-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zs-product-category-list > li {
  border-bottom: 1px solid #dde4eb;
}

.zs-product-category-link-wrap {
  display: flex;
  align-items: center;
}

.zs-product-category-list > li > .zs-product-category-link-wrap > a {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  color: #4f5965;
  font-size: 15px;
  line-height: 1.4;
}

.zs-product-category-list > li.is-active > .zs-product-category-link-wrap > a,
.zs-product-category-list > li > .zs-product-category-link-wrap > a:hover {
  color: #ef2b2d;
  background: #f5f7fa;
}

.zs-product-category-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a96a3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.zs-product-category-toggle:hover {
  color: #ef2b2d;
}

.zs-product-category-list > li.is-active > .zs-product-category-link-wrap > .zs-product-category-toggle,
.zs-product-category-list > li.is-open > .zs-product-category-link-wrap > .zs-product-category-toggle {
  color: #ef2b2d;
}

.zs-product-category-list > li.is-open > .zs-product-category-link-wrap > .zs-product-category-toggle svg {
  transform: rotate(180deg);
}

.zs-product-category-toggle svg {
  transition: transform 0.25s ease;
}

.zs-product-subcategory-list {
  display: none;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  background: #f7f8fa;
}

.zs-product-category-list > li.is-open > .zs-product-subcategory-list {
  display: block;
}

.zs-product-subcategory-list li {
  border-bottom: 0;
}

.zs-product-subcategory-list a {
  display: block;
  padding: 12px 18px 12px 34px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7682;
}

.zs-product-subcategory-list li.is-active a,
.zs-product-subcategory-list a:hover {
  color: #ef2b2d;
  background: #eef1f5;
}

.zs-product-content h2 {
  margin: 0 0 18px;
  color: #202020;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.zs-product-content p {
  color: #666b72;
  font-size: 17px;
  line-height: 1.6;
}

.zs-product-list-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.zs-product-item-card {
  padding: 24px 18px 28px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.zs-product-item-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin-bottom: 18px;
}

.zs-product-item-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.zs-product-item-media img {
  max-width: 100%;
  height: auto;
  display: block;
}

.zs-product-item-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.zs-product-item-card h3 a {
  color: #ef2b2d;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.zs-product-item-card h3 a:hover {
  color: #333;
}

.zs-product-item-card p {
  margin: 0 0 18px;
  color: #68717c;
  font-size: 15px;
  line-height: 1.6;
}

.zs-product-item-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ef2b2d;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.zs-product-item-card > a:hover {
  background: #333;
}

.zs-product-applications {
  padding: 82px 0;
}

.zs-product-applications h2 {
  margin: 0 0 34px;
  color: #202020;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.zs-product-application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.zs-product-application-card {
  text-align: center;
}

.zs-product-application-card img {
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  transform-origin: center center;
}

.zs-product-application-card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.zs-product-application-card:hover img {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.12);
}

.zs-product-application-card h3 {
  margin: 0 0 10px;
  color: #202020;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.zs-product-application-card p {
  margin: 0;
  color: #666b72;
  font-size: 15px;
  line-height: 1.65;
}

.zs-product-service {
  padding: 84px 0 96px;
  background: #f3f3f3;
}

.zs-product-service h2 {
  margin: 0 0 40px;
  color: #202020;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.zs-product-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.zs-product-service-card {
  padding: 28px 22px 30px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}

.zs-product-service-card img {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  margin: 0 auto 18px;
}

.zs-product-service-card h3 {
  margin: 0 0 12px;
  color: #555;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.zs-product-service-card p {
  margin: 0 0 22px;
  color: #666b72;
  font-size: 15px;
  line-height: 1.65;
}

.zs-product-service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ef2b2d;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.zs-product-service-card a:hover {
  background: #ef2b2d;
}

.zs-product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 34px;
  text-align: center;
}

.zs-product-pagination a,
.zs-product-pagination .pagination a,
.zs-product-pagination .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #ef2b2d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  background: #fff;
  transition: all 0.2s ease;
}

.zs-product-pagination a:hover,
.zs-product-pagination .pagination a:hover {
  color: #fff;
  background: #ef2b2d;
  border-color: #ef2b2d;
}

.zs-product-pagination .pagination .active span,
.zs-product-pagination .pagination .active a {
  color: #fff;
  background: #ef2b2d;
  border-color: #ef2b2d;
  font-weight: 700;
}

.zs-product-pagination .pagination .disabled span,
.zs-product-pagination .pagination .disabled a {
  color: #ccc;
  border-color: #eee;
  background: #f9f9f9;
  pointer-events: none;
}

.zs-product-pagination .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.zs-product-pagination .pagination li {
  list-style: none;
}

@media (max-width: 767px) {
  .zs-product-hero {
    background-position: 26% center;
  }

  .zs-product-hero-inner {
    min-height: 220px;
    justify-content: center;
    padding: 18px 0;
  }

  .zs-product-hero-copy {
    width: 100%;
  }

  .zs-product-hero h2 {
    font-size: 34px;
  }

  .zs-product-showcase {
    padding: 34px 0 60px;
  }

  .zs-product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .zs-product-content h2 {
    font-size: 28px;
  }

  .zs-product-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .zs-product-list-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .zs-product-applications {
    padding-top: 56px;
  }

  .zs-product-applications h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .zs-product-application-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .zs-product-application-card h3 {
    font-size: 22px;
  }

  .zs-product-service {
    padding: 60px 0;
  }

  .zs-product-service h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .zs-product-service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .zs-product-item-media {
    min-height: 170px;
  }

  .zs-product-item-card h3 {
    font-size: 24px;
  }
}
