:root {
  --zs-detail-text: #555;
  --zs-detail-title: #262626;
  --zs-detail-line: #e5e5e5;
  --zs-detail-soft: #f7f7f7;
  --zs-detail-muted: #8d8d8d;
}

.zs-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.zs-detail-main {
  background: #fff;
}

.zs-detail-banner {
  position: relative;
  min-height: 440px;
  overflow: hidden;
}

.zs-detail-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zs-detail-banner__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
}

.zs-detail-banner__inner {
  max-width: 780px;
  color: #fff;
}

.zs-detail-banner__inner h2 {
  margin: 0;
  font-size: clamp(24px, 3.3vw, 32px);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.zs-detail-banner__inner p {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.96);
}

.zs-detail-breadcrumb {
  background: #f3f3f3;
  border-top: 0;
}

.zs-detail-breadcrumb p {
  margin: 0;
  padding: 14px 0;
  color: #7f7f7f;
  font-size: 12px;
  line-height: 1.7;
}

.zs-detail-breadcrumb a,
.zs-detail-breadcrumb strong {
  color: inherit;
}

.zs-detail-breadcrumb span {
  margin: 0 6px;
  color: #b6b6b6;
}

.zs-detail-page {
  padding: 34px 0 60px;
}

.zs-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.zs-detail-content,
.zs-detail-sidebar {
  min-width: 0;
}

.zs-detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.zs-detail-gallery__main {
  position: relative;
  border: 1px solid var(--zs-detail-line);
  background: #fff;
  overflow: hidden;
}

.zs-detail-gallery__main-link {
  position: relative;
  display: block;
  padding: 16px;
  cursor: crosshair;
}

.zs-detail-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.zs-detail-gallery__zoom {
  position: absolute;
  inset: 16px;
  opacity: 0;
  pointer-events: none;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 180%;
  transition: opacity 0.18s ease;
}

.zs-detail-gallery__main-link.is-zooming .zs-detail-gallery__zoom {
  opacity: 1;
}

.zs-detail-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.zs-detail-thumb {
  padding: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s ease, opacity 0.25s ease;
}

.zs-detail-thumb.is-active {
  border-color: var(--zs-green);
}

.zs-detail-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.zs-detail-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

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

.zs-detail-share__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  color: #fff;
}

.zs-detail-share__item svg {
  display: block;
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.zs-detail-share__item.is-facebook {
  background: #4267b2;
}

.zs-detail-share__item.is-twitter {
  background: #000;
}

.zs-detail-share__item.is-line {
  background: #00c300;
}

.zs-detail-share__item.is-wechat {
  background: #25d366;
}

.zs-detail-share__item.is-linkedin {
  background: #0077b5;
}

.zs-detail-title-wrap {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 100%;
}

.zs-detail-info h2 {
  margin: 0;
  color: var(--zs-detail-title);
  font-size: 31px;
  line-height: 1.35;
  font-weight: 600;
}

.zs-detail-title-wrap h2 {
  flex: 0 1 auto;
  min-width: 0;
}

.zs-detail-intro {
  margin-top: 14px;
  color: var(--zs-detail-text);
  font-size: 15px;
  line-height: 1.9;
}

.zs-detail-qr-anchor {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}

.zs-detail-qr-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
}

.zs-detail-qr-trigger svg {
  display: block;
  width: 30px;
  height: 30px;
}

.zs-detail-qr-popup {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 10;
  width: 220px;
  padding: 10px 10px 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  box-shadow: none;
}

.zs-detail-qr-popup img {
  display: block;
  width: 100%;
  height: auto;
}

.zs-detail-qr-popup p {
  margin: 8px 0 0;
  text-align: center;
  color: #222;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}

.zs-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.zs-detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 170px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--zs-green);
  font-size: 15px;
  line-height: 1;
}

.zs-detail-actions__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.zs-detail-actions__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.zs-detail-actions__inquire {
  color: var(--zs-green);
  background: #fff;
}

.zs-detail-actions__basket {
  color: #fff;
  background: var(--zs-green);
}

.zs-detail-actions__basket-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.zs-detail-actions__basket-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.zs-detail-specs {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.zs-detail-specs li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--zs-detail-text);
  font-size: 15px;
  line-height: 1.7;
}

.zs-detail-specs strong {
  color: var(--zs-detail-title);
  font-weight: 600;
}

.zs-detail-description {
  margin-top: 40px;
}

.zs-detail-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 14px;
  margin-bottom: 18px;
  border-top: 1px solid var(--zs-detail-line);
  color: var(--zs-detail-text);
  font-size: 14px;
  line-height: 1.6;
}

.zs-detail-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.zs-detail-meta__item strong {
  color: var(--zs-detail-title);
  font-weight: 600;
}

.zs-detail-description__tabs {
  border-bottom: 0;
}

.zs-detail-description__tabs button {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  background: var(--zs-green);
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  cursor: default;
}

.zs-detail-description__tabs button::after {
  content: none;
}

.zs-detail-description__body {
  padding-top: 26px;
}

.zs-detail-description__body h3 {
  margin: 0 0 18px;
  color: var(--zs-detail-title);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
}

.zs-detail-params {
  overflow-x: auto;
}

.zs-detail-params table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.zs-detail-params th,
.zs-detail-params td {
  padding: 14px 18px;
  border: 1px solid #ddd;
  color: var(--zs-detail-text);
  font-size: 15px;
  line-height: 1.75;
  vertical-align: top;
  text-align: left;
}

.zs-detail-params th {
  width: 215px;
  color: var(--zs-detail-title);
  font-weight: 500;
}

.zs-detail-params > img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 26px;
}

.zs-detail-params > img + img {
  margin-top: 18px;
}

.zs-detail-params > p {
  margin: 0 0 18px;
  color: var(--zs-detail-text);
  font-size: 16px;
  line-height: 1.9;
}

.zs-detail-params > img + p {
  margin-top: 24px;
}

.zs-detail-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.zs-detail-nav > div {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 1 43%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #fafafa;
  color: #8b8b8b;
}

.zs-detail-nav a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}

.zs-detail-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--zs-detail-line);
}

.zs-detail-keywords a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 14px;
  border: 1px solid #c9c9c9;
  border-radius: 999px;
  background: #fff;
  color: #868686;
  font-size: 12px;
  line-height: 1.5;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.zs-detail-keywords a:hover {
  color: var(--zs-green);
  border-color: #b9b9b9;
}

.zs-detail-related {
  margin-top: 46px;
}

.zs-detail-related__head {
  margin-bottom: 18px;
}

.zs-detail-related__head h2 {
  margin: 0;
  color: var(--zs-detail-title);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 600;
}

.zs-detail-related__slider {
  position: relative;
  padding-bottom: 50px;
}

.zs-detail-related__item {
  min-width: 0;
}

.zs-detail-related__media {
  display: block;
  border: 1px solid var(--zs-detail-line);
  background: #fff;
  overflow: hidden;
}

.zs-detail-related__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.zs-detail-related__item h3 {
  margin: 14px 0 0;
  color: var(--zs-detail-text);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.zs-detail-related__item h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zs-detail-related__nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
}

.zs-detail-related__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #707070;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.zs-detail-related__arrow:hover {
  border-color: var(--zs-green);
  background: var(--zs-green);
  color: #fff;
}

.zs-detail-related__arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zs-detail-panel + .zs-detail-panel {
  margin-top: 30px;
}

.zs-detail-panel__title,
.zs-detail-panel__heading {
  margin: 0;
  padding: 14px 18px;
  background: var(--zs-green);
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.zs-detail-panel__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

.zs-detail-panel__toggle-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.zs-detail-panel__toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.zs-detail-panel--inquiry {
  padding: 26px 22px 30px;
  background: #f5f5f5;
}

.zs-detail-panel--inquiry .zs-detail-panel__heading {
  padding: 0;
  margin-bottom: 20px;
  background: transparent;
  color: var(--zs-detail-title);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.zs-detail-panel--news .zs-detail-panel__heading {
  padding: 0 0 14px;
  margin-bottom: 20px;
  background: transparent;
  border-bottom: 1px solid #d9d9d9;
  color: var(--zs-detail-title);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.zs-detail-panel--news {
  padding: 0;
  background: #fff;
}

.zs-detail-category,
.zs-detail-inquiry,
.zs-detail-news {
  margin: 0;
  border: 1px solid #dcdcdc;
  border-top: 0;
  background: #fff;
}

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

.zs-detail-category__item {
  border-bottom: 1px solid #ececec;
}

.zs-detail-category__item:last-child {
  border-bottom: 0;
}

.zs-detail-category__line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  min-width: 0;
}

.zs-detail-category__line a {
  flex: 1 1 auto;
  min-width: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.zs-detail-category__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.zs-detail-category__toggle::before,
.zs-detail-category__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: #8c8c8c;
  transform: translate(-50%, -50%);
}

.zs-detail-category__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.zs-detail-category__item.is-open > .zs-detail-category__line .zs-detail-category__toggle::after {
  opacity: 0;
}

.zs-detail-category__sublist {
  max-height: 320px;
  padding: 0 16px 12px 28px;
  overflow: hidden;
  opacity: 1;
  list-style: none;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease;
}

.zs-detail-category__item:not(.is-open) > .zs-detail-category__sublist {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.zs-detail-category__sublist li + li {
  margin-top: 6px;
}

.zs-detail-category__sublist a {
  color: #8a8a8a;
  font-size: 13px;
  line-height: 1.55;
}

.zs-detail-category__sublist .is-current a {
  color: var(--zs-green);
}

.zs-detail-inquiry {
  padding: 0;
  border: 0;
  background: transparent;
}

.zs-detail-inquiry label {
  display: block;
}

.zs-detail-inquiry label + label {
  margin-top: 12px;
}

.zs-detail-inquiry input,
.zs-detail-inquiry textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  font: inherit;
}

.zs-detail-inquiry textarea {
  min-height: 122px;
  resize: vertical;
}

.zs-detail-inquiry__captcha {
  margin-top: 14px;
}

.zs-detail-inquiry__captcha-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.zs-detail-inquiry__captcha-question {
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.zs-detail-inquiry__captcha-refresh {
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--zs-green);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  cursor: pointer;
}

.zs-detail-inquiry__captcha-refresh:hover {
  background: transparent;
  color: #333;
}

.zs-detail-inquiry button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 46px;
  margin-top: 16px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--zs-green);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
}

.zs-detail-inquiry__status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.zs-detail-inquiry__status.is-error {
  color: #c43838;
}

.zs-detail-inquiry__status.is-success {
  color: var(--zs-green);
}

.zs-detail-news {
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.zs-detail-news li + li {
  margin-top: 22px;
  padding-top: 0;
  border-top: 0;
}

.zs-detail-news__media {
  display: block;
  overflow: hidden;
}

.zs-detail-news__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.74;
  object-fit: cover;
}

.zs-detail-news h3 {
  margin: 12px 0 0;
  color: #7d7d7d;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
}

.zs-detail-news h3 a {
  color: inherit;
}

@media (max-width: 1260px) {
  .zs-detail-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }

  .zs-detail-summary {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 990px) {
  .zs-detail-banner {
    min-height: 320px;
  }

  .zs-detail-banner__content {
    min-height: 320px;
  }

  .zs-detail-banner__inner h2 {
    font-size: clamp(26px, 6.4vw, 38px);
  }

  .zs-detail-banner__inner p {
    font-size: 17px;
    line-height: 1.55;
  }

  .zs-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .zs-detail-sidebar {
    order: 2;
  }

  .zs-detail-content {
    order: 1;
  }

  .zs-detail-panel__toggle {
    cursor: pointer;
    padding-right: 20px;
  }

  .zs-detail-panel__toggle-icon {
    display: block;
  }

  .zs-detail-panel.is-collapsed .zs-detail-panel__toggle-icon svg {
    transform: rotate(-90deg);
  }

  .zs-detail-panel__title {
    padding-right: 0;
  }

  .zs-detail-panel.is-collapsed .zs-detail-category {
    display: none;
  }
}

@media (max-width: 768px) {
  .zs-detail-page {
    padding: 26px 0 48px;
  }

  .zs-detail-breadcrumb p {
    padding: 10px 0;
  }

  .zs-detail-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zs-detail-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .zs-detail-info h2 {
    font-size: 25px;
  }

  .zs-detail-qr-popup {
    width: 180px;
  }

  .zs-detail-actions a {
    min-width: 150px;
  }

  .zs-detail-nav {
    flex-direction: column;
  }

  .zs-detail-nav > div {
    flex-basis: auto;
  }

  .zs-detail-related__slider {
    padding-bottom: 58px;
  }
}

@media (max-width: 640px) {
  .zs-detail-banner {
    min-height: 280px;
  }

  .zs-detail-banner__content {
    min-height: 280px;
    align-items: center;
  }

  .zs-detail-banner__inner {
    max-width: 100%;
    padding-bottom: 0;
  }

  .zs-detail-banner__inner h2 {
    font-size: 22px;
    line-height: 1.28;
  }

  .zs-detail-banner__inner p {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
  }

  .zs-detail-summary {
    gap: 26px;
  }

  .zs-detail-gallery__main-link {
    padding: 12px;
  }

  .zs-detail-gallery__zoom {
    display: none;
  }

  .zs-detail-gallery__thumbs {
    gap: 8px;
  }

  .zs-detail-thumb {
    padding: 6px;
  }

  .zs-detail-actions {
    gap: 10px;
  }

  .zs-detail-title-wrap {
    gap: 5px;
  }

  .zs-detail-qr-trigger {
    width: 17px;
    height: 17px;
  }

  .zs-detail-qr-popup {
    right: 0;
    width: min(180px, calc(100vw - 40px));
  }

  .zs-detail-actions a {
    flex: 1 1 100%;
    min-width: 0;
  }

  .zs-detail-description__body {
    padding-top: 20px;
  }

  .zs-detail-meta {
    gap: 18px;
    font-size: 13px;
  }

  .zs-detail-description__body h3 {
    font-size: 18px;
  }

  .zs-detail-params > p {
    font-size: 15px;
    line-height: 1.8;
  }

  .zs-detail-related__head h2 {
    font-size: 22px;
  }

  .zs-detail-related__nav {
    left: 0;
    right: 0;
    justify-content: flex-start;
  }

  .zs-detail-panel--inquiry {
    padding: 20px 16px 24px;
  }

  .zs-detail-news {
    padding: 16px;
  }
}
