[data-amazon-es-price][hidden],
.amazon-es-figure[hidden],
.amazon-es-photo[hidden],
.amazon-es-image-file[hidden] {
  display: none !important;
}

.amazon-es-price {
  display: block;
  min-width: 0;
  margin-block: .35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  text-align: start;
}

.amazon-es-price strong { display: block; font-size: 1.04em; }
.amazon-es-price small { display: block; font-size: .76em; }
.amazon-es-price small a { color: inherit; text-decoration: underline; }

.amazon-es-photo { display: block; }
.amazon-es-photo--offer {
  display: block;
  width: min(9rem, 100%);
  margin: .5rem 0;
}

.amazon-es-image-file {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain !important;
  object-position: center;
}

/* Keep the editorial link when a photo without documented permission is withdrawn. */
.amazon-es-withheld { display: none; }
.ed-family__image:has(> .amazon-es-withheld:only-child),
.catalog__media:has(.amazon-es-withheld) { display: none; }

.amazon-es-policy {
  max-width: 72ch;
  margin: 1.25rem auto;
  padding-inline: 1rem;
  font-size: .85rem;
  line-height: 1.45;
}

.amazon-es-policy p { margin-block: .4rem; }
