.details-page--pixel .pd-gallery__hero {
  position: relative;
}

.details-page--pixel .pd-gallery__hero-button {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  background: transparent;
  cursor: zoom-in;
}

.details-page--pixel .pd-gallery__zoom-trigger {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e6ea;
  border-radius: 999px;
  background: rgb(255 255 255 / 95%);
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
}

.details-page--pixel .pd-gallery__zoom-trigger-symbol {
  font-size: 18px;
  line-height: 1;
}

.details-page--pixel .pd-gallery__thumb {
  transition: border-color .18s ease, box-shadow .18s ease;
}

.details-page--pixel .pd-gallery__thumb-btn {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
  background: transparent;
  cursor: pointer;
}

.details-page--pixel .pd-gallery__thumb.is-active {
  border: 1px solid #2e8a6e;
  box-shadow: 0 0 0 1px #2e8a6e inset;
}

.details-page--pixel .pd-gallery__zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgb(15 23 42 / 82%);
}

.details-page--pixel .pd-gallery__zoom-panel {
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.details-page--pixel .pd-gallery__zoom-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.details-page--pixel .pd-gallery__zoom-control {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  min-height: 38px;
  min-width: 38px;
  padding: 0 12px;
}

.details-page--pixel .pd-gallery__zoom-control:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.details-page--pixel .pd-gallery__zoom-control--close {
  border-color: #ef4444;
  color: #b91c1c;
}

.details-page--pixel .pd-gallery__zoom-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgb(226 230 234 / 24%);
  background: #0b1220;
  display: grid;
  place-items: center;
  padding: 16px;
  cursor: grab;
}

.details-page--pixel .pd-gallery__zoom-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  transform-origin: center center;
  transition: transform .15s ease-out;
  user-select: none;
  pointer-events: none;
}

.details-page--pixel .pd-gallery__hero-button:focus-visible,
.details-page--pixel .pd-gallery__zoom-trigger:focus-visible,
.details-page--pixel .pd-gallery__thumb-btn:focus-visible,
.details-page--pixel .pd-gallery__zoom-control:focus-visible {
  outline: 2px solid #2e8a6e;
  outline-offset: 2px;
}

.details-page--pixel .pd-calc-tabs button {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  font-weight: 700;
  flex: 1;
  font-size: 11px;
  padding: 8px 0;
  border-radius: 7px;
}

.details-page--pixel .pd-calc-tabs button.is-active {
  background: #0f172a;
  color: #fff;
}

.details-page--pixel .pd-trust-card--unverified {
  background: #fff8f1;
  border-color: #fed7aa;
}

.details-page--pixel .pd-trust-card--unverified h2 {
  color: #9a3412;
}

.details-page--pixel .pd-trust-card--unverified p {
  color: #7c2d12;
}

@media (max-width: 768px) {
  .details-page--pixel .pd-gallery__zoom-modal {
    padding: 12px;
  }

  .details-page--pixel .pd-gallery__zoom-panel {
    max-height: calc(100vh - 24px);
  }

  .details-page--pixel .pd-gallery__zoom-control {
    min-height: 34px;
    min-width: 34px;
    font-size: 12px;
    padding: 0 10px;
  }

  .details-page--pixel .pd-gallery__zoom-stage {
    padding: 10px;
  }
}
