/* Single final contract for the product hero. Shared typography and palette.
   Geometry and spacing are not altered according to the number of facts. */
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) {
  gap:var(--pg-gap)!important;
}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content {
  font-family:var(--pg-font);font-size:var(--pg-font-body);line-height:var(--pg-leading);
  gap:var(--pg-gap)!important;
}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content>.px14-product-offer-stack>.px18-buy-panel,
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content>.px18-glance {
  box-sizing:border-box;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
  gap:var(--pg-gap)!important;padding:var(--pg-padding)!important;
  border:1px solid var(--pg-line)!important;background:var(--pg-surface)!important;border-radius:var(--pg-radius)!important;
  box-shadow:none!important;text-align:start;min-width:0;
}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content :is(.px487-buy-info,.px488-glance-content,.px490-extra-metrics,.px487-buy-actions,.px488-glance-links) {
  flex:0 0 auto!important;min-width:0;max-width:none!important;width:auto!important;margin:0!important;order:0!important;overflow:visible!important;
  gap:var(--pg-gap)!important;font-size:var(--pg-font-body)!important;line-height:var(--pg-leading-compact)!important;
}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content :is(.px18-summary-overline,.px18-best-merchant,.px-live-state,.px276-unit-headline,.px488-delivery-unknown,.px488-delivery>div,.px488-metrics>div,.px488-glance-facts dt,.px488-glance-facts dd,.px488-glance-links a,.px492-savings,.px492-savings>strong) {
  font-size:var(--pg-font-body)!important;line-height:var(--pg-leading-compact)!important;
}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content :is(.px488-delivery,.px488-metrics)>div strong {font-size:inherit!important;line-height:inherit!important;font-weight:var(--pg-weight-medium)!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px18-main-price strong {font-size:var(--pg-font-price)!important;line-height:1.2!important;color:var(--pg-ink)!important;font-weight:var(--pg-weight-strong)!important;letter-spacing:-.02em}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px18-main-price span {font-size:var(--pg-font-body)!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px349-glance-title {font-size:var(--pg-font-product-heading)!important;line-height:var(--pg-leading-compact)!important;margin:0!important;padding:0 0 var(--pg-gap)!important;color:var(--pg-ink);font-weight:var(--pg-weight-strong)!important;border-bottom:1px solid var(--pg-line)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-facts>div {padding:var(--pg-gap) 0!important;gap:var(--pg-gap)!important;border-color:var(--pg-line);align-items:start}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-facts dd {display:block!important;overflow:visible!important;overflow-wrap:anywhere;white-space:normal!important;font-weight:var(--pg-weight-medium)!important;color:var(--pg-ink)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-facts dt {color:var(--pg-muted)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-links {padding-top:var(--pg-gap);border-top:1px solid var(--pg-line)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-links:empty {display:none!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-merchant-line {padding:var(--pg-gap) 0!important;gap:var(--pg-gap)!important;border-color:var(--pg-line)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px18-best-merchant>a {display:block!important;overflow:visible!important;overflow-wrap:anywhere}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-delivery small {font-size:var(--pg-font-small)!important;line-height:var(--pg-leading-compact);color:var(--pg-muted)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px487-buy-actions .px18-primary {min-height:var(--pg-cta-height)!important;font-size:var(--pg-font-action)!important;font-family:inherit;font-weight:var(--pg-weight-strong)!important;border-radius:var(--pg-radius)!important;line-height:var(--pg-leading-compact)!important;box-shadow:none!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px487-buy-actions .px18-primary:not(:disabled) {background:var(--pg-primary)!important;border-color:var(--pg-primary)!important;color:var(--pg-on-primary)!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px487-buy-actions .px18-primary:not(:disabled):hover {background:var(--pg-primary-hover)!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-secondary-actions :is(.px298-alert-entry,.px18-secondary) {font-size:var(--pg-font-action)!important;font-family:inherit;min-height:38px!important;line-height:var(--pg-leading-compact)!important;white-space:normal!important}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-content {display:grid;align-content:start}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px490-extra-metrics {padding-top:var(--pg-gap);border-color:var(--pg-line)}
.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px492-savings {color:var(--pg-success);background:var(--pg-success-surface);border-color:var(--pg-line);border-radius:var(--pg-radius)}
/* No independently sized or vertically centered sparse card. Photo determines row. */
@media(min-width:1280px){
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance){grid-template-columns:minmax(0,var(--pg-photo-ratio)) minmax(0,var(--pg-info-ratio))!important}
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content>.px14-product-offer-stack>.px18-buy-panel{justify-content:flex-start!important}
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px487-buy-actions{margin-top:var(--pg-gap)!important;order:0!important}
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px490-extra-metrics{margin-top:var(--pg-gap)!important;order:1!important}
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance) .px490-detail-content .px488-glance-links{margin-top:var(--pg-gap)!important}
 /* If content truly cannot fit at this width, reflow instead of shrinking fonts or clipping. */
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance).pg-content-overflow>.px490-detail-content{contain:none!important;align-self:start!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important}
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance).pg-content-overflow .px490-detail-content>.px14-product-offer-stack>.px18-buy-panel,.public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance).pg-content-overflow .px490-detail-content>.px18-glance{height:auto!important;min-height:0!important;flex:0 0 auto!important}
}
@media(max-width:1279px){
 .public-body.pex13-ui.pex12-route-product .px490-hero:is(.is-rich,.is-compact,.is-compact.is-no-glance)>.px490-detail-content{background:transparent!important;border:0!important;padding:0!important;align-self:start!important}
}
/* Shared section rhythm; preserve the contents, ads and existing chart behaviour. */
.public-body.pex13-ui.pex12-route-product .px18-detail > :is(.px18-section,.px28-history-insights,.px29-shop-history),
.public-body.pex13-ui.pex12-route-product .px18-detail .px18-lower .px18-section {padding:var(--pg-padding)!important;box-sizing:border-box}
.public-body.pex13-ui.pex12-route-product .px18-detail > :is(.px18-section,.px28-history-insights,.px29-shop-history,.px18-lower,.px490-hero) {margin-top:0!important;margin-bottom:var(--pg-gap)!important}
.public-body.pex13-ui.pex12-route-product .px18-detail :is(.px18-section-head,.px29-shop-head) {gap:var(--pg-gap)!important;padding-inline:0!important;margin-inline:0!important}
.public-body.pex13-ui.pex12-route-product .px18-detail .px18-related .px-product-grid {gap:var(--pg-gap)!important}
.public-body.pex13-ui.pex12-route-product .px490-hero .px492-merchant-logo {width:var(--pg-merchant-icon);height:var(--pg-merchant-icon);flex-basis:var(--pg-merchant-icon)}
.public-body.pex13-ui.pex12-route-product .px490-hero .px490-detail-content :is(.px488-merchant-line,.px488-delivery,.px488-delivery-unknown,.px488-metrics,.px488-glance-facts,.px488-glance-links) .icon {width:var(--pg-icon);height:var(--pg-icon);color:var(--pg-primary)}
