/* Center product-page copy and footer consistently across desktop and mobile. */
.product-story,
.product-story :is(h1, h2, h3, h4, p, li, dt, dd, blockquote, figcaption, label, summary, .eyebrow, .product-lead, .product-order-note) {
  text-align: center !important;
}

.product-story .detail-copy h1,
.product-story .detail-copy p,
.product-story .product-section > h2,
.product-story .product-section > p,
.product-story .section-intro {
  margin-inline: auto !important;
}

.product-story .detail-order,
.product-story .facts,
.product-story .product-card-facts,
.product-story .product-pictograms {
  justify-content: center !important;
}

.product-story .product-section,
.product-story .product-grade > div,
.product-story .product-quality-grid article {
  text-align: center !important;
}

.product-story .product-grade > div {
  align-items: center !important;
}

.product-story .product-grade .btn {
  align-self: center;
}

.product-story ~ .site-footer {
  text-align: center !important;
}

.product-story ~ .site-footer .footer-grid {
  justify-items: center;
  text-align: center !important;
}

.product-story ~ .site-footer .footer-brand,
.product-story ~ .site-footer .footer-col {
  align-items: center !important;
  text-align: center !important;
}

.product-story ~ .site-footer .footer-brand {
  display: flex !important;
  flex-direction: column !important;
}

.product-story ~ .site-footer .footer-brand p {
  margin-inline: auto !important;
}

.product-story ~ .site-footer .footer-brand > img {
  margin-inline: auto;
}

.product-story ~ .site-footer .footer-bottom,
.product-story ~ .site-footer .release-legal,
.product-story ~ .site-footer .company-footer {
  text-align: center !important;
}

.product-story ~ .site-footer .footer-bottom,
.product-story ~ .site-footer .footer-language-nav {
  justify-content: center !important;
}

.product-story ~ .site-footer .release-legal {
  justify-content: center;
}
