/* The Press Co. shop switcher: the bar along the top of every shop.
 * Edit here (the-press-co/shared/bar.css); ./deploy.sh copies it into every site.
 * Everything is fixed size and uses the system font, so the bar is pixel-identical
 * on every site and doesn't move when you switch between them. */
html { scrollbar-gutter: stable; }
.pc-bar { display: block; height: 78px; background: #141414; overflow: hidden;
  font: 500 11px/14px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0; text-transform: none; -webkit-font-smoothing: antialiased; }
.pc-bar * { box-sizing: border-box; margin: 0; padding: 0; }
.pc-bar-in { height: 78px; max-width: 1160px; margin: 0 auto; padding: 0 8px;
  display: flex; justify-content: flex-start; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.pc-bar-in::-webkit-scrollbar { display: none; }
.pc-bar a { flex: 0 0 104px; height: 78px; padding-top: 10px; display: flex; flex-direction: column; align-items: center;
  color: #a39d92; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.pc-bar a:hover { color: #fff; }
.pc-bar a:not([href]) { cursor: default; }
.pc-bar a:not([href]):hover { color: #a39d92; }
.pc-bar a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.pc-bar img { width: 34px; height: 34px; display: block; border-radius: 8px; box-shadow: 0 0 0 1px #2c2a27; }
.pc-bar .pc-name { display: block; margin-top: 6px; }
.pc-bar .pc-soon { display: block; font-size: 9px; line-height: 11px; color: #6f6a61; }
.pc-bar a.pc-off img { opacity: .5; }
.pc-bar a[aria-current] { color: #fff; border-bottom-color: var(--pc-c, #ff5a1f); }
@media (max-width: 520px) {
  .pc-bar-in { justify-content: flex-start; gap: 0; padding: 0 4px; }
  .pc-bar a { flex-basis: 92px; font-size: 10.5px; }
}

/* Message strip + header under the bar: one frame for every shop. Only the logo, the shop colour
 * (--pc-c) and the strip text change, so nothing moves when you switch shops. */
.pc-strip, .pc-head { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0; text-transform: none; -webkit-font-smoothing: antialiased; }
.pc-strip *, .pc-head * { box-sizing: border-box; margin: 0; padding: 0; }
.pc-strip { display: block; height: 36px; overflow: hidden; background: var(--pc-c); color: #fff; }
.pc-strip-in { height: 36px; max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: center;
  gap: 26px; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; }
.pc-strip b { font-weight: 700; color: #fff; }
.pc-head { position: sticky; top: 0; z-index: 50; display: block; height: 72px; background: rgba(244, 238, 227, .95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #ddd3c2; color: #141414; }
.pc-head-in { position: relative; height: 71px; max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
.pc-head-logo { flex: 0 0 290px; display: flex; align-items: center; height: 71px; line-height: 0; }
.pc-head-logo img { display: block; height: 42px; width: auto; max-width: 240px; }
.pc-head-links { display: flex; align-items: center; gap: 28px; }
.pc-head-links a { color: #141414; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; }
.pc-head-links a:hover, .pc-head-links a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: var(--pc-c); }
.pc-head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.pc-cart { flex: 0 0 96px; width: 96px; height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: transparent; border: 1.5px solid #141414; border-radius: 6px; color: #141414; text-decoration: none;
  font: 700 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; cursor: pointer; }
.pc-cart b { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 4px; background: #141414; color: #fff;
  font-size: 12px; line-height: 20px; text-align: center; }
.pc-cart-none { visibility: hidden; }
.pc-cta { flex: 0 0 auto; min-width: 128px; height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--pc-c); color: #fff; border-radius: 6px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; }
.pc-cta:hover { filter: brightness(.92); color: #fff; }
.pc-menu { display: none; height: 40px; padding: 0 12px; background: transparent; border: 1.5px solid #141414; border-radius: 6px;
  font: 700 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #141414; cursor: pointer; }
[data-header] { display: block; height: 186px; }   /* holds the space while beanies draws its top, so the page doesn't jump */
@media (max-width: 900px) { .pc-strip span:nth-child(n+3) { display: none; } }
@media (max-width: 820px) {
  .pc-head-logo { flex-basis: auto; margin-right: 12px; }
  .pc-head-logo img { height: 34px; max-width: 170px; }
  .pc-menu { display: inline-block; }
  .pc-head-links { display: none; position: absolute; top: 71px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #f4eee3; border-bottom: 1px solid #ddd3c2; }
  .pc-head-links.open { display: flex; }
  .pc-head-links a { padding: 16px 20px; border-top: 1px solid #ddd3c2; }
}
@media (max-width: 560px) {
  .pc-strip span:nth-child(n+2) { display: none; }
  .pc-cta { display: none; }
  .pc-cart { flex-basis: 84px; width: 84px; }
}

/* The Press Co. footer: the same on every shop (logo size, columns and spacing are fixed). */
.pc-foot { display: block; margin: 0; padding: 56px 0 26px; background: #141414; color: #c4bdb1; border: 0;
  font: 400 14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0; text-align: left; -webkit-font-smoothing: antialiased; }
.pc-foot * { box-sizing: border-box; margin: 0; padding: 0; }
.pc-foot-in { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.pc-foot-logo { display: inline-block; line-height: 0; }
.pc-foot-logo img { display: block; height: 44px; width: auto; }
.pc-foot-cols { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 32px; min-height: 262px; margin-top: 36px; padding-top: 26px; border-top: 1px solid #2c2a27; }
.pc-foot h4 { font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: #8a847a; margin: 0 0 12px; }
.pc-foot p { max-width: 40ch; color: #c4bdb1; }
.pc-foot ul { list-style: none; }
.pc-foot li { margin: 0 0 7px; color: #c4bdb1; }
.pc-foot a { color: #f4eee3; text-decoration: none; }
.pc-foot a:hover { color: #fff; text-decoration: underline; }
.pc-foot small { display: block; font-size: 11px; line-height: 1.3; color: #6f6a61; }
.pc-foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px;
  border-top: 1px solid #2c2a27; font-size: 12px; color: #8a847a; }
.pc-foot-legal span { display: inline-flex; align-items: center; gap: 10px; }
.pc-foot-legal img { height: 16px; width: auto; display: block; }
@media (max-width: 820px) { .pc-foot-cols { grid-template-columns: 1fr 1fr; min-height: 0; } }
@media (max-width: 520px) { .pc-foot-cols { grid-template-columns: 1fr; } }

/* The Press Co. tab: top right of the bar, only drawn on The Press Co. site itself */
.pc-bar a.pc-home { margin-left: auto; }

/* Optical alignment: the big wordmark of every logo sits on the same line and starts at the same x.
 * Print On Beanies has its small line + hat above a lower, taller-set "beanies", so nudge it up and left
 * (percentages of the logo's own size, so it holds at every logo height). */
.pc-head-logo img.pc-logo-beanies, .pc-foot-logo img.pc-logo-beanies { transform: translate(-1.3%, -18.6%); }

/* Make the shop you're on obvious: a tint of its colour, a thicker underline, a coloured ring
 * round its icon and a bold name. The others dim a little. Sizes don't change, so nothing moves. */
.pc-bar a { border-bottom-width: 4px; }
.pc-bar a:not([aria-current]) img { opacity: .72; }
.pc-bar a:not([aria-current]):hover img { opacity: 1; }
.pc-bar a[aria-current] { background: color-mix(in srgb, var(--pc-c, #ff5a1f) 24%, #141414); font-weight: 700; }
.pc-bar a[aria-current] img { box-shadow: 0 0 0 2px var(--pc-c, #ff5a1f); }
