/* Official store badges (2 Dec 2026). A LIVE store link is drawn as the store's own badge artwork (Apple, Google Play, Amazon Appstore),
   picked by where the link goes, so the pages and their generators keep their plain markup:
     <a class="store" href="https://apps.apple.com/..."><small>Download on the</small><b>App Store</b></a>
   The words stay in the page for screen readers and search engines; only the look changes. A store that is not live yet keeps its
   "Coming soon" tile (the stores do not allow their badge on an app that is not available), now the same height as the badges.
   Artwork: /assets/site/badges/ (apple.svg, google.png, amazon.png, as published by each store). Badges are 48px high; Apple's minimum is 40.
   pipandpollen.com carries a copy of this file and the artwork (its buttons use the class "soon"). */
a.store[href*="apps.apple.com"], a.store[href*="play.google.com/store"], a.store[href*="amazon.com/dp/"],
a.soon[href*="apps.apple.com"], a.soon[href*="play.google.com/store"], a.soon[href*="amazon.com/dp/"],
a.btn[href*="apps.apple.com"] {
  display: inline-block; box-sizing: border-box; flex: 0 0 auto; min-width: 0; height: 48px; padding: 0; margin-top: 0; margin-bottom: 0;
  border: 0; border-radius: 8px; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: 100% 100%;
  box-shadow: none; font-size: 0; line-height: 0; letter-spacing: 0; color: transparent; overflow: hidden; vertical-align: middle; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
a.store[href*="apps.apple.com"], a.soon[href*="apps.apple.com"], a.btn[href*="apps.apple.com"] { width: 144px; background-image: url(badges/apple.svg); }
a.store[href*="play.google.com/store"], a.soon[href*="play.google.com/store"] { width: 161px; background-image: url(badges/google.png); }
a.store[href*="amazon.com/dp/"], a.soon[href*="amazon.com/dp/"] { width: 163px; background-image: url(badges/amazon.png); }
a.store[href*="apps.apple.com"]:hover, a.store[href*="play.google.com/store"]:hover, a.store[href*="amazon.com/dp/"]:hover,
a.soon[href*="apps.apple.com"]:hover, a.soon[href*="play.google.com/store"]:hover, a.soon[href*="amazon.com/dp/"]:hover,
a.btn[href*="apps.apple.com"]:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55); background-color: transparent; }
a.store[href*="apps.apple.com"]::before, a.store[href*="apps.apple.com"]::after, a.btn[href*="apps.apple.com"]::before, a.btn[href*="apps.apple.com"]::after { content: none; }
/* "Coming soon" tiles (and Pip's "Join the test"): same height as a badge, words never clipped */
span.store.soon, .stores > span.soon, .stores > a.soon:not([href*="apps.apple.com"]):not([href*="play.google.com/store"]):not([href*="amazon.com/dp/"]) {
  box-sizing: border-box; flex: 0 0 auto; min-width: 0; height: 48px; padding: 0 14px; display: inline-flex; flex-direction: column; justify-content: center;
  border-radius: 8px; font-size: 15px; line-height: 1.15; white-space: nowrap;
}
span.store.soon small, .stores > span.soon small, .stores > a.soon:not([href*="apps.apple.com"]):not([href*="play.google.com/store"]):not([href*="amazon.com/dp/"]) small { font-size: 10.5px; }
span.store.soon b { font-size: 15px; }
.stores { align-items: center; }
