.product-top .retailer-options:has(.retailer-primary) {
  margin-top: 1rem;
}

.photo-shopping-action {
  justify-self: center;
  margin: .4rem 0;
  color: #763a22;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.photo-paid-note {
  margin: 0 0 .4rem;
  font-size: .875rem;
}

.photo-paid-note a,
.product-story-links a {
  color: #763a22;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.product-description .product-shopping-followup {
  width: fit-content;
  max-width: 100%;
  margin: 1.5rem 0 0;
  padding: .75rem 1rem;
}

.retailer-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: #763a22;
  font-weight: 700;
  text-underline-offset: .18em;
}

.product-story-links {
  margin-top: 2rem;
}

.product-story-links h2 {
  margin-bottom: .5rem;
  font-size: 1.25rem;
}

.product-story-links ul {
  margin-top: 0;
  padding-left: 1.25rem;
}

@media (max-width: 650px) {
  .product-top:has(.retailer-primary) {
    margin-bottom: 1.25rem;
  }

  .product-top .product-details h1 {
    margin-bottom: .6rem;
  }
}

a.product-detail-image-link[data-affiliate-placement="main_product_image"],
a.product-detail-image-link[data-affiliate-placement="main_product_image"] img {
  cursor: pointer;
}

a.product-detail-image-link[data-affiliate-placement="main_product_image"]:hover {
  border-color: #ad895f;
}

.photo-shopping-action {
  display: inline-flex;
  align-items: center;
  padding: .5rem .85rem;
  border: 1px solid #9f7155;
  border-radius: .3rem;
  background: #fbf4e8;
}

.photo-shopping-context {
  max-width: 100%;
  margin: 0 0 .4rem;
  text-align: center;
  font-size: .875rem;
}

.photo-fallback-link {
  width: 100%;
}

.photo-fallback-link .product-media-local {
  height: auto;
  min-height: 0;
  max-height: 420px;
  object-fit: contain;
}

.has-remote-product-image > .photo-fallback-link {
  visibility: hidden;
}

.has-remote-product-image > .photo-fallback-link .photo-shopping-action,
.photo-shopping-fallback:has(.has-remote-product-image) > :is(.photo-paid-note, .photo-shopping-context) {
  display: none;
}
