/* /site/shop.css: the printables from the Etsy shop, shown beside the site's own tools, printables and games
   (SHOP-CARDS; the words and the cards come from scripts/shop/products.mjs).
   A card has the listing's first picture, the product's name, one line on what it is, three plain facts and one
   button to its Etsy listing. It has the app cards' shape (get-app.css): rounded, a fine edge, the same type, so the
   shop reads as part of the same family and never as an advert dropped in. It is white, so it stands off the cream
   band. One card sits picture beside words when there is room; three sit side by side on a wide screen. Text is 18px
   or more and the button is 56px tall. Nothing of it
   prints: a printed puzzle or calendar page carries only what it is for.
   No flex gap and no min()/max()/clamp() here, for older browsers. */
.sv-shop { color: #13243b; }
.sv-shop .sv-shop-lead { max-width: 44rem; margin: .5rem 0 0; color: #4a5363; font-size: 1.125rem; line-height: 1.45; }
.sv-shop ul.sv-shop-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.sv-shop .sv-shop-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  max-width: none;
  margin: 0;
  padding: 1.25rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(19, 36, 59, .08), 0 18px 40px -30px rgba(19, 36, 59, .45);
}
.sv-shop .sv-shop-picture {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #f6f1e8;
}
.sv-shop .sv-shop-body { min-width: 0; padding: 1.25rem .25rem .25rem; }
.sv-shop h3.sv-shop-name {
  margin: 0;
  font: 600 1.5rem/1.2 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: #13243b;
}
.sv-shop .sv-shop-line { max-width: none; margin: .5rem 0 0; font-size: 1.125rem; line-height: 1.45; }
.sv-shop ul.sv-shop-ticks { margin: 1rem 0 0; padding: 0; list-style: none; }
.sv-shop .sv-shop-ticks li {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0 0 0 2.1rem;
  font-size: 1.125rem;
  line-height: 1.4;
}
.sv-shop .sv-shop-ticks li + li { margin-top: .5rem; }
.sv-shop-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .08em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #245447 url("/site/get-app-tick.svg") center / 62% no-repeat;
}
.sv-shop a.sv-shop-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 1.25rem;
  padding: .5rem 1.5rem;
  border: 2px solid #245447;
  border-radius: 999px;
  background: #fff;
  color: #245447;
  font: 600 1.125rem/1.2 "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  text-decoration: none;
  box-sizing: border-box;
}
.sv-shop a.sv-shop-go svg { flex: none; margin-left: .6rem; }
.sv-shop a.sv-shop-go:hover { background: #245447; color: #fff; }
.sv-shop a.sv-shop-go:focus-visible { outline: 3px solid #8a6420; outline-offset: 3px; }

/* Picture beside words: one card on a tablet or computer, and each of three on a tablet. */
@media (min-width: 720px) {
  .sv-shop .sv-shop-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 1.5rem; }
  .sv-shop .sv-shop-body { padding: 0 .5rem 0 2rem; }
}
/* Three side by side on a wide screen, each picture above its words, the buttons on one line. */
@media (min-width: 1040px) {
  .sv-shop ul.sv-shop-cards-many { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sv-shop .sv-shop-cards-many .sv-shop-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; }
  .sv-shop .sv-shop-cards-many .sv-shop-body { display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem .25rem .25rem; }
  .sv-shop .sv-shop-cards-many .sv-shop-go { margin-top: auto; }
  .sv-shop .sv-shop-cards-many .sv-shop-ticks { margin-bottom: 1.25rem; }
}
@media print {
  .sv-band-shop { display: none !important; }
}
