.zs-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.zs-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.zs-pagination__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zs-pagination__button,
.zs-pagination__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(31, 36, 48, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--zs-ink);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.zs-pagination__number.is-active {
  background: var(--zs-primary);
  border-color: var(--zs-primary);
  color: #ffffff;
}

.zs-pagination__button:hover,
.zs-pagination__number:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.22);
}

.zs-pagination__button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.zs-product-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  text-align: center;
  color: inherit;
  text-decoration: none;
}

.zs-product-card__thumb {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #fdf8f4, #ffffff);
  border: 1px solid rgba(255, 0, 0, 0.08);
}

.zs-product-card__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.zs-product-card:hover .zs-product-card__thumb img {
  transform: scale(1.04);
}

.zs-product-card h2 {
  font-size: 15px;
  line-height: 1.35;
}

.zs-product-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.zs-product-gallery {
  padding: 24px;
  min-height: 420px;
  background:
    radial-gradient(circle at top, rgba(255, 179, 71, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 243, 239, 0.94));
}

.zs-product-gallery__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.zs-product-gallery__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  justify-content: flex-end;
}

.zs-product-gallery__tab.is-active {
  background: var(--zs-primary);
  border-color: var(--zs-primary);
  color: #ffffff;
}

.zs-product-gallery__panel[hidden] {
  display: none;
}

.zs-product-gallery__stage {
  position: relative;
  min-height: 320px;
  border-radius: var(--zs-radius-xl);
  background: linear-gradient(180deg, #fdf8f4, #ffffff);
  border: 1px solid rgba(255, 0, 0, 0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
  cursor: zoom-in;
}

.zs-product-gallery__stage img {
  width: 100%;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.15s ease;
  transform-origin: center center;
}

.zs-product-gallery__thumbs-wrap {
  --zs-thumb-size: 88px;
  --zs-thumb-gap: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.zs-product-gallery__thumbs-viewport {
  width: min(100%, calc(var(--zs-thumb-size) * 5 + var(--zs-thumb-gap) * 4));
  overflow: hidden;
}

.zs-product-gallery__thumbs {
  display: flex;
  gap: var(--zs-thumb-gap);
  width: max-content;
  transition: transform 0.25s ease, scroll-behavior 0.25s ease;
}

.zs-product-gallery__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(31, 36, 48, 0.1);
  background: rgba(255, 255, 255, 0.98);
  color: var(--zs-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zs-product-gallery__nav:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.22);
  box-shadow: 0 10px 20px rgba(31, 36, 48, 0.08);
}

.zs-product-gallery__thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--zs-thumb-size);
  height: var(--zs-thumb-size);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(31, 36, 48, 0.1);
  background: rgba(255, 255, 255, 0.98);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.zs-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.zs-product-gallery__thumb.is-active {
  border-color: var(--zs-primary);
  box-shadow: 0 12px 24px rgba(255, 0, 0, 0.12);
}

.zs-product-gallery__thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.22);
}

.zs-product-gallery__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.zs-product-gallery__labels span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 36, 48, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.zs-product-summary-card {
  margin-top: 20px;
}

.zs-product-highlights {
  position: relative;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.zs-product-highlights.is-collapsed {
  max-height: 164px;
}

.zs-product-highlights.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
  pointer-events: none;
}

.zs-product-highlights__toggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 36, 48, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: var(--zs-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zs-product-highlights__toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 0, 0.22);
  box-shadow: 0 10px 20px rgba(31, 36, 48, 0.08);
}

.zs-product-detail-copy {
  margin-top: 24px;
  max-width: none;
  width: 100%;
  line-height: 1.8;
}

.zs-pd .zs-card > h2 {
  margin: 6px 0 18px;
  line-height: 1.35;
}

.zs-pd .zs-card > .zs-data-table {
  margin-top: 0;
}

.zs-pd .zs-card > .zs-data-table + h2 {
  margin-top: 24px;
}

.zs-quick-specs-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 245, 0.98));
}

.zs-quick-specs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.zs-quick-spec {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 0, 0, 0.1);
  border-radius: 14px;
  background: #ffffff;
  color: var(--zs-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.zs-quick-spec:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 0, 0, 0.22);
  background: linear-gradient(180deg, #ffffff, #fff3f1);
  color: var(--zs-primary);
  box-shadow: 0 12px 24px rgba(255, 0, 0, 0.08);
}

.zs-feature-table {
  table-layout: fixed;
  border: 1px solid rgba(255, 0, 0, 0.08);
  border-radius: var(--zs-radius-md);
  overflow: hidden;
  background: #ffffff;
}

.zs-feature-table td {
  width: 50%;
  vertical-align: top;
  padding: 10px 12px;
  background: #fff8f7;
  border-right: 1px solid rgba(31, 36, 48, 0.08);
}

.zs-feature-table tr td:last-child {
  border-right: 0;
}

.zs-feature-cell {
  padding: 12px 14px;
}

.zs-feature-cell.is-empty {
  background: transparent;
}

.zs-feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(255, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.zs-feature-cell__label {
  padding: 14px 16px 12px;
  margin-bottom: 0;
  color: var(--zs-ink);
  font-weight: 700;
  line-height: 1.45;
  background: rgba(255, 0, 0, 0.04);
  border-bottom: 1px solid rgba(255, 0, 0, 0.08);
}

.zs-feature-cell__value {
  flex: 1;
  padding: 14px 16px 16px;
  color: #4f566b;
  line-height: 1.7;
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.zs-product-detail-tags {
  margin-top: 18px;
}

.zs-product-detail-tags .zs-chip {
  text-decoration: none;
}

.zs-product-detail-content {
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.zs-product-detail-content table {
  width: max-content !important;
  min-width: 100%;
  text-align: center;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: auto;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #cfd8e3 !important;
  outline: 1px solid #cfd8e3;
  outline-offset: -1px;
  border-radius: 8px;
  overflow: hidden;
}

.zs-product-detail-content th,
.zs-product-detail-content td {
  padding: 10px 12px !important;
  border: 1px solid rgba(31, 36, 48, 0.1) !important;
  /* vertical-align: top; */
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.zs-product-detail-content th {
  white-space: nowrap;
  font-weight: 700;
  background: rgba(255, 0, 0, 0.04);
}

.zs-product-detail-content form {
  display: grid;
  gap: 12px;
}

.zs-product-detail-content input,
.zs-product-detail-content select,
.zs-product-detail-content textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 36, 48, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--zs-ink);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zs-product-detail-content textarea {
  min-height: 120px;
  resize: vertical;
}

.zs-product-detail-content input:focus,
.zs-product-detail-content select:focus,
.zs-product-detail-content textarea:focus {
  border-color: rgba(255, 0, 0, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.08);
  outline: none;
}

.zs-product-detail-content button,
.zs-product-detail-content input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--zs-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 992px) and (max-width: 1366px) {
  .zs-product-detail-content {
    
  }

  .zs-product-detail-content table {
    width: 100% !important;
    min-width: 0;
    table-layout: fixed;
  }

  .zs-product-detail-content th,
  .zs-product-detail-content td {
    padding: 8px 10px !important;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .zs-product-detail-content th {
    white-space: normal;
  }
}

@media (max-width: 991px) {
  .zs-quick-specs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .zs-quick-specs {
    grid-template-columns: 1fr;
  }

  .zs-quick-spec {
    min-height: 60px;
    font-size: 16px;
  }

  .zs-feature-table td {
    width: 100%;
  }

  .zs-feature-table tr td:last-child {
    border-right: 1px solid rgba(31, 36, 48, 0.08);
  }

  .zs-feature-cell {
    padding: 10px 12px;
  }
}

.zs-product-detail-nav {
  justify-content: space-between;
}

.zs-product-detail-link {
  gap: 6px;
}

.zs-product-detail-link a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .zs-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-product-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .zs-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zs-product-gallery {
    min-height: auto;
    padding: 24px;
  }

  .zs-product-gallery__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .zs-product-gallery__tabs {
    justify-content: flex-start;
  }

  .zs-product-gallery__thumbs-wrap {
    --zs-thumb-size: 72px;
  }

  .zs-product-gallery__nav {
    width: 36px;
    height: 36px;
  }

  .zs-product-detail-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .zs-product-grid {
    grid-template-columns: 1fr;
  }

  .zs-product-card {
    padding: 14px;
  }

  .zs-product-gallery__stage {
    min-height: 240px;
    padding: 10px;
  }

  .zs-product-gallery__thumbs-wrap {
    --zs-thumb-size: 60px;
    gap: 8px;
  }

  .zs-product-gallery__thumbs-viewport {
    width: min(100%, calc(var(--zs-thumb-size) * 4 + var(--zs-thumb-gap) * 3));
  }

  .zs-product-detail-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
