.product-pdf {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
}

.product-pdf__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 12px;
  background: transparent;
  color: #263c27;
  font-size: 1rem;
}

.product-pdf__actions a {
  color: inherit;
  text-decoration: underline;
}

.node .product-pdf__actions a:hover,
.node .product-pdf__actions a:focus {
  color: #000;
  font-weight: normal;
}

.product-pdf__viewer {
  display: block;
  width: 100%;
  height: 780px;
  height: min(780px, 80vh);
  min-height: 320px;
  background: #fff;
  color: #263c27;
}
.product-pdf-container {
  width: 100%;
  min-width: 0;
}

@media (min-width: 769px) {
  .product-pdf__viewer {
    /* A4 at 600px wide (849px tall), plus the native PDF toolbar. */
    height: 910px;
  }
}

