.service-detail-page {
  padding: 80px 0 60px;
  background: #f7f9fc;
}

.product-catalog-section {
  background: #f7f9fc;
}

.product-catalog-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  padding: 28px;
  border: 1px solid rgba(0, 18, 51, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(10, 34, 71, 0.05);
}

.product-catalog-sidebar {
  border-right: 1px solid rgba(0, 18, 51, 0.08);
  padding-right: 20px;
}

.product-catalog-sidebar h3 {
  margin: 0 0 20px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d2d50;
  font-weight: 700;
}

.product-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-filter-list button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(0, 18, 51, 0.08);
  background: #f3f6fb;
  color: #1a2c4f;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.35s ease;
  cursor: pointer;
}

.product-filter-list button:hover,
.product-filter-list button:focus-visible,
.product-filter-list button.is-active {
  background: linear-gradient(135deg, #f68d2f, #f2781d);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(242, 119, 34, 0.22);
  outline: none;
}

.products-section {
  padding: 80px 0 60px;
  background: #f7f9fc;
}

.products-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.products-header h2 {
  margin: 0;
  color: #0b1d3a;
  font-size: clamp(2rem, 2vw, 2.8rem);
  font-weight: 700;
}

.products-header p {
  margin: 16px 0 0;
  color: #51617a;
  font-size: 1.02rem;
  line-height: 1.8;
}

.products-toolbar {
  margin-bottom: 24px;
}

.products-search-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.products-search-wrap input {
  width: 100%;
  border: 1px solid rgba(0, 18, 51, 0.12);
  border-radius: 12px;
  background: #fff;
  color: #0b1d3a;
  padding: 14px 18px;
  font-size: 1rem;
  box-shadow: 0 10px 22px rgba(10, 34, 71, 0.04);
}

.products-search-wrap input:focus {
  outline: 2px solid rgba(242, 119, 34, 0.2);
  border-color: rgba(242, 119, 34, 0.55);
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.product-tab {
  border: 1px solid rgba(0, 18, 51, 0.08);
  background: #f3f6fb;
  color: #1a2c4f;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.product-tab:hover,
.product-tab:focus-visible,
.product-tab.is-active {
  background: linear-gradient(135deg, #f68d2f, #f2781d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px rgba(242, 119, 34, 0.18);
  outline: none;
}

.products-grid-wrap {
  min-width: 0;
  scroll-margin-top: 120px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(0, 18, 51, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 22px rgba(10, 34, 71, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(10, 34, 71, 0.08);
}

.product-card-image {
  background: linear-gradient(135deg, #eef4ff 0%, #f8f6f2 100%);
  height: 220px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  cursor: zoom-in;
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 32px;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-lightbox.is-open {
  opacity: 1;
}

.product-lightbox-content {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 20px;
  width: min(100%, 1360px);
  max-height: 100%;
}

.product-lightbox-view {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.product-lightbox-image {
  display: block;
  width: 100%;
  height: min(76vh, 780px);
  height: min(76dvh, 780px);
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 220ms ease;
}

.product-lightbox.is-open .product-lightbox-image {
  transform: scale(1);
}

.product-lightbox-name {
  max-width: 100%;
  margin: 16px 0 0;
  color: #f9a62f;
  font-family: var(--ztc-family-font1);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  overflow-wrap: anywhere;
}

.product-lightbox-nav {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: var(--ztc-bg-bg-2);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.product-lightbox-nav:hover,
.product-lightbox-nav:focus-visible {
  background: var(--ztc-bg-bg-3);
  transform: scale(1.06);
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.product-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
  background: #f9a62f;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .product-lightbox {
    padding: 56px 10px 20px;
  }

  .product-lightbox-content {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .product-lightbox-image {
    height: min(68vh, 680px);
    height: min(68dvh, 680px);
  }

  .product-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .product-lightbox-name {
    margin-top: 12px;
    font-size: 16px;
  }

  .product-lightbox-close {
    top: 10px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-lightbox,
  .product-lightbox-image {
    transition-duration: 0.01ms;
  }
}

.product-card h3 {
  margin: 0;
  padding: 16px 18px 18px;
  text-align: center;
  color: #0b1d3a;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.product-empty-state {
  grid-column: 1 / -1;
  padding: 36px 20px;
  text-align: center;
  border: 1px dashed rgba(0, 18, 51, 0.18);
  border-radius: 16px;
  background: #f8fafc;
  color: #51617a;
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .products-section {
    padding: 70px 0 50px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-search-wrap {
    max-width: 100%;
  }
}

.catalog-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f2781d;
  font-weight: 700;
}

.product-catalog-toolbar h2 {
  margin: 0;
  color: #0b1d3a;
  font-size: clamp(2rem, 2vw, 2.6rem);
  font-weight: 700;
}

.catalog-results-count {
  margin: 0;
  color: #51617a;
  font-size: 15px;
  font-weight: 600;
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-catalog-card {
  background: #f9fbff;
  border: 1px solid rgba(0, 18, 51, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 34, 71, 0.08);
}

.product-catalog-image {
  background: linear-gradient(135deg, #eef4ff 0%, #f8f6f2 100%);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.product-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 10px 20px rgba(13, 38, 64, 0.12));
}

.product-catalog-card h3 {
  margin: 0;
  padding: 18px 18px 20px;
  color: #0b1d3a;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
}

.product-filter-group {
  margin-bottom: 10px;
}

.product-subfilter-list {
  list-style: none;
  padding: 8px 0 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-subfilter-list button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(0, 18, 51, 0.08);
  background: #ffffff;
  color: #1a2c4f;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-subfilter-list button:hover,
.product-subfilter-list button:focus-visible,
.product-subfilter-list button.is-active {
  background: #fff3ea;
  border-color: rgba(242, 119, 34, 0.45);
  color: #d36518;
  outline: none;
}

.service-detail-showcase {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  padding: 28px;
  border: 1px solid rgba(0, 18, 51, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(10, 34, 71, 0.05);
}

.service-showcase-selectors {
  border-right: 1px solid rgba(0, 18, 51, 0.06);
  padding-right: 20px;
}

.selector-title {
  margin: 0 0 18px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d2d50;
  font-weight: 700;
}

.service-showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-showcase-list button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(0, 18, 51, 0.08);
  background: #f3f6fb;
  color: #1a2c4f;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.35s ease;
  cursor: pointer;
}

.service-showcase-list button:hover,
.service-showcase-list button:focus-visible {
  border-color: rgba(242, 119, 34, 0.5);
  box-shadow: 0 8px 18px rgba(242, 119, 34, 0.12);
  outline: none;
}

.service-showcase-list button.active {
  background: linear-gradient(135deg, #f68d2f, #f2781d);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(242, 119, 34, 0.22);
}

.service-showcase-panel {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.product-stage {
  position: relative;
  background: linear-gradient(135deg, #eef4ff 0%, #f8f6f2 100%);
  border: 1px solid rgba(0, 18, 51, 0.08);
  border-radius: 18px;
  overflow: hidden;
  width: 709px;
  height: 380px;
  display: block;
}

.product-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.product-image.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 10px 25px rgba(13, 38, 64, 0.12));
}

.product-meta {
  margin-top: 28px;
}

.product-meta h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  color: #0b1d3a;
  font-weight: 700;
}

.product-meta p {
  margin: 0;
  line-height: 1.8;
  font-size: 16px;
  color: #51617a;
}

.service-page-cta {
  margin-top: 40px;
  padding: 42px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fdf3eb 0%, #f4f8ff 100%);
  border: 1px solid rgba(0, 18, 51, 0.06);
  text-align: center;
}

.service-page-cta h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  color: #0b1d3a;
}

.service-page-back-button {
  display: table;
  margin: 40px auto 0;
  cursor: pointer;
}

.service-page-back-button i {
  margin: 0 6px 0 0;
  transform: none;
}

@media (max-width: 991px) {
  .product-catalog-shell,
  .service-detail-showcase {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .product-catalog-sidebar,
  .service-showcase-selectors {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 18, 51, 0.06);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .product-filter-list,
  .service-showcase-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .product-filter-list button,
  .service-showcase-list button {
    width: auto;
    min-width: 180px;
  }

  .product-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .service-detail-page {
    padding-top: 48px;
  }

  .product-catalog-shell,
  .service-detail-showcase {
    gap: 20px;
    padding: 18px;
  }

  .product-catalog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 709 / 380;
  }

  .product-image {
    padding: 18px;
  }
  .product-image img {
    height: 100%;
  }

  .product-filter-list button,
  .service-showcase-list button {
    width: 100%;
    min-width: 0;
  }
}
