/* The landing page, style library and customer transaction pages share these edges and landmarks. */
:root {
  --site-width: 1280px;
  --site-gutter: 40px;
  --site-heading: clamp(36px, 4.5vw, 56px);
}

.site-header {
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
  padding: 24px var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
:is(.site-header, .site-footer) .wordmark {
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -.04em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
:is(.site-header, .site-footer) .brand-lockup > img { height: auto; }
:is(.site-header, .site-footer) nav { display: flex; align-items: center; gap: 32px; }
:is(.site-header, .site-footer) nav a {
  padding: 12px 0;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  text-underline-offset: 5px;
}
:is(.site-header, .site-footer) nav a:hover { text-decoration: underline; }
:is(.site-header, .site-footer) a:focus-visible { outline: 3px solid #147d70; outline-offset: 4px; }

.site-footer {
  width: 100%;
  padding: 32px max(var(--site-gutter), calc((100% - var(--site-width)) / 2 + var(--site-gutter)));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  color: var(--muted);
  background-color: #fff;
  background-image: linear-gradient(#a5b1b833, #a5b1b833), var(--pf-paper-image, none);
  background-size: 512px 512px;
}
.site-footer p { margin: 0; font-size: 14px; }
.site-footer > span { margin-left: auto; font-size: 11px; }
.site-footer .brand-attribution { flex-basis: 100%; font-size: 11px; line-height: 1.5; }

.shop-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.shop-page > main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
  padding: 32px var(--site-gutter) 64px;
}
.shop-page h1 { font-size: var(--site-heading); font-weight: 560; line-height: 1.08; letter-spacing: -.04em; }

@media (max-width: 760px) {
  :root { --site-gutter: 24px; }
  .site-header { padding-block: 16px; }
  .site-header .wordmark { font-size: 25px; }
  :is(.site-header, .site-footer) nav { gap: 20px; }
  :is(.site-header, .site-footer) nav a { font-size: 12px; }
  .site-header nav a:last-child { display: none; }
  .site-footer { padding-block: 24px; gap: 12px 24px; justify-content: space-between; }
  .site-footer .wordmark { font-size: 24px; }
  .site-footer p { font-size: 12px; }
  .site-footer > span { width: 100%; margin-left: 0; font-size: 10px; }
  .shop-page > main { padding-block: 24px 48px; }
}
@media (max-width: 360px) { .site-header nav { gap: 14px; } }
@media (forced-colors: active) { .site-footer { background-image: none; } }
