/* Product detail redesign — scoped under .pd-page */
.pd-page {
  --pd-bg: #000000;
  --pd-bg-raised: #0c0c0c;
  --pd-line: #2a2a2a;
  --pd-line-soft: #1c1c1c;
  --pd-white: #ffffff;
  --pd-grey-100: #e6e6e6;
  --pd-grey-300: #c2c2c2;
  --pd-grey-500: #8a8a8a;
  --pd-grey-700: #aba9a9;
  --pd-maxw: 1360px;
  color: var(--pd-white);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.pd-page a {
  color: inherit;
  text-decoration: none;
}

.pd-page img {
  max-width: 100%;
  display: block;
}

.pd-page .pd-wrap {
  max-width: var(--pd-maxw);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- breadcrumb ---------- */
.pd-page .pd-breadcrumb {
  padding: 28px 0 0; /* tight under sticky header — matches mockup */
}

.pd-page .pd-breadcrumb .pd-wrap {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-grey-700);
}

.pd-page .pd-breadcrumb a:hover {
  color: var(--pd-grey-300);
}

/* ---------- product section ---------- */
.pd-page .pd-product-section {
  padding: 48px 0 120px;
}

.pd-page .pd-product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: stretch;
}

/* gallery */
.pd-page .pd-gallery {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.pd-page .pd-main-stage {
  flex: 1 1 auto;
  position: relative;
  border: none;
  overflow: hidden;
  background-color: #1a1816;
  background-image:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 30% 20%, rgba(120, 100, 80, 0.18), transparent 55%);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1020px;
  width: 100%;
}

.pd-page .pd-main-stage.pd-bandedge-stage {
  min-height: 420px;
}

.pd-page .pd-main-stage img {
  width: 100%;
  height: 1020px;
  max-height: none;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.pd-page .pd-main-stage.pd-bandedge-stage img {
  object-fit: contain;
  max-height: 520px;
  width: auto;
  height: auto;
}

.pd-page .pd-main-stage:hover img {
  transform: scale(1.02);
}

.pd-page .pd-main-stage.pd-bandedge-stage:hover img {
  transform: none;
}

.pd-page .pd-stage-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-grey-300);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--pd-line);
  padding: 6px 12px;
  z-index: 1;
}

.pd-page .pd-stage-zoom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pd-line);
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pd-grey-300);
  z-index: 1;
  pointer-events: none;
}

.pd-page .pd-stage-zoom svg {
  width: 16px;
  height: 16px;
}

/* info column */
.pd-page .pd-info-col {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  min-height: 1020px;
}

.pd-page .pd-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-grey-500);
  margin-bottom: 18px;
}

.pd-page h1.pd-product-title {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 32px;
  color: var(--pd-white);
  line-height: 1.15;
}

.pd-page .pd-spec-table {
  border-top: 1px solid var(--pd-line);
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 24px;
  align-items: center;
}

.pd-page .pd-spec-row {
  display: contents;
}

.pd-page .pd-spec-row .pd-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-grey-700);
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--pd-line);
}

.pd-page .pd-spec-row .pd-value {
  font-size: 16px;
  font-weight: 400;
  color: var(--pd-grey-100);
  text-align: left;
  justify-self: stretch;
  padding: 18px 0;
  border-bottom: 1px solid var(--pd-line);
}

.pd-page .pd-matching-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--pd-white);
}

.pd-page .pd-matching-inline .pd-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid var(--pd-grey-700);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.pd-page .pd-matching-inline:hover .pd-arrow {
  background: var(--pd-white);
  border-color: var(--pd-white);
  transform: translateX(3px);
}

.pd-page .pd-matching-inline .pd-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--pd-grey-300);
  transition: stroke 0.2s ease;
}

.pd-page .pd-matching-inline:hover .pd-arrow svg {
  stroke: #000;
}

/* certification grid */
.pd-page .pd-cert-block {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.pd-page .pd-cert-block .pd-cert-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pd-grey-500);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pd-line);
  flex-shrink: 0;
}

.pd-page .pd-cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 0;
  flex: 1 1 auto;
  min-height: 220px;
}

.pd-page .pd-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 22px 10px;
  border-right: 1px solid var(--pd-line-soft);
  border-bottom: 1px solid var(--pd-line-soft);
}

.pd-page .pd-cert-item:nth-child(3n) {
  border-right: none;
}

.pd-page .pd-cert-item:nth-child(n + 4) {
  border-bottom: none;
}

.pd-page .pd-cert-icon {
  width: 100px;
  height: 100px;
  border: 1px solid var(--pd-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pd-grey-300);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pd-page .pd-cert-item:hover .pd-cert-icon {
  border-color: var(--pd-white);
  color: var(--pd-white);
}

.pd-page .pd-cert-icon svg {
  width: 50px;
  height: 50px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
}

.pd-page .pd-cert-label {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #dddddd;
  line-height: 1.4;
}

/* ---------- related products ---------- */
.pd-page .pd-related-section {
  padding: 0 0 120px;
}

.pd-page .pd-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--pd-line);
  padding-top: 36px;
  margin-bottom: 32px;
  gap: 16px;
}

.pd-page .pd-related-head h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
  color: var(--pd-white);
}

.pd-page .pd-related-head h3 span {
  color: var(--pd-grey-500);
  font-weight: 300;
}

.pd-page .pd-related-head .pd-view-all {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pd-grey-500);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pd-page .pd-related-head .pd-view-all:hover {
  color: var(--pd-white);
}

.pd-page .pd-related-head .pd-view-all svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.pd-page .pd-related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.pd-page .pd-related-card {
  display: block;
}

.pd-page .pd-related-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--pd-line-soft);
  margin-bottom: 16px;
  position: relative;
  background: var(--pd-bg-raised);
}

.pd-page .pd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pd-page .pd-related-card:hover .pd-related-thumb img {
  transform: scale(1.06);
}

.pd-page .pd-related-thumb .pd-related-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--pd-line);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}

.pd-page .pd-related-card:hover .pd-related-arrow {
  opacity: 1;
  transform: translateY(0);
  background: var(--pd-white);
  border-color: var(--pd-white);
}

.pd-page .pd-related-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--pd-grey-300);
  transition: stroke 0.2s ease;
}

.pd-page .pd-related-card:hover .pd-related-arrow svg {
  stroke: #000;
}

.pd-page .pd-related-code {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pd-grey-700);
  margin-bottom: 6px;
}

.pd-page .pd-related-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--pd-grey-100);
}

.pd-page .pd-related-card:hover .pd-related-name {
  color: var(--pd-white);
}

@media (max-width: 992px) {
  .pd-page .pd-product-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pd-page .pd-main-stage {
    min-height: 0;
  }

  .pd-page .pd-main-stage img {
    height: auto;
    max-height: 70vh;
  }

  .pd-page .pd-info-col {
    min-height: 0;
  }

  .pd-page .pd-cert-block {
    margin-top: 40px;
    flex: none;
  }

  .pd-page .pd-cert-grid {
    flex: none;
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .pd-page .pd-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .pd-page .pd-wrap {
    padding: 0 20px;
  }

  .pd-page .pd-gallery {
    flex-direction: column;
  }

  .pd-page h1.pd-product-title {
    font-size: 30px;
  }

  .pd-page .pd-spec-table {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .pd-page .pd-spec-row .pd-label {
    padding-bottom: 6px;
    border-bottom: none;
  }

  .pd-page .pd-spec-row .pd-value {
    padding-top: 0;
    margin-bottom: 0;
  }

  .pd-page .pd-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-page .pd-cert-item:nth-child(3n) {
    border-right: 1px solid var(--pd-line-soft);
  }

  .pd-page .pd-cert-item:nth-child(2n) {
    border-right: none;
  }

  .pd-page .pd-cert-item:nth-child(n + 4) {
    border-bottom: 1px solid var(--pd-line-soft);
  }

  .pd-page .pd-cert-item:nth-child(n + 5) {
    border-bottom: none;
  }

  .pd-page .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pd-page .pd-main-stage.pd-bandedge-stage {
    min-height: 280px;
  }
}

/* ---------- lightbox: side-by-side + zoom ---------- */
.pd-lightbox .pd-lightbox-content {
  background: rgba(0, 0, 0, 0.92);
  border: none;
  border-radius: 0;
}

.pd-lightbox .pd-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}

.pd-lightbox .pd-lightbox-zoom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-lightbox .pd-zoom-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #e6e6e6;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pd-lightbox .pd-zoom-btn:hover {
  border-color: #fff;
  color: #fff;
}

.pd-lightbox .pd-zoom-btn.pd-zoom-reset {
  width: auto;
  padding: 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-lightbox .pd-zoom-level {
  min-width: 52px;
  text-align: center;
  font-size: 13px;
  color: #8a8a8a;
  letter-spacing: 0.04em;
}

.pd-lightbox .pd-lightbox-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 20px 24px;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.pd-lightbox .pd-lightbox-body:has(> .pd-lightbox-pane:only-child) {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.pd-lightbox .pd-lightbox-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid #1c1c1c;
  background: #0a0a0a;
}

.pd-lightbox .pd-lightbox-label {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8a8a;
  padding: 12px 16px;
  border-bottom: 1px solid #1c1c1c;
}

.pd-lightbox .pd-lightbox-viewport {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  cursor: grab;
}

.pd-lightbox .pd-lightbox-viewport:active {
  cursor: grabbing;
}

.pd-lightbox .pd-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform-origin: center top;
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 768px) {
  .pd-lightbox .pd-lightbox-body {
    grid-template-columns: 1fr;
    height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .pd-lightbox .pd-lightbox-pane {
    min-height: 55vh;
  }

  .pd-lightbox .pd-lightbox-img {
    max-height: 50vh;
  }
}
