/* The shop's product cards (.shop-grid, .shop-card, drawn by assets/shop-tile.js): the shop home's
   downloads, the product page's "You might also like" and the home page's "From Our Shop" row
   (index.html). Linked by those pages before their own stylesheet (on the shop pages, before
   shop.css, where these rules were, so the cascade is the same); kept out of shop.css so the home
   page can draw the cards without the shop's styles. */
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(290px,100%),1fr));gap:18px}
.shop-grid:empty{display:none}
.shop-card{position:relative;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01));border:1px solid rgba(255,255,255,.08);transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.shop-card:hover{border-color:rgba(100,181,246,.4);box-shadow:0 18px 40px -22px rgba(100,181,246,.35)}
.shop-card[hidden]{display:none}
.shop-media{display:block;aspect-ratio:16/10;background:radial-gradient(420px 220px at 85% 0%,rgba(100,181,246,.2),transparent 70%),#0b1424;border-bottom:1px solid rgba(255,255,255,.06);overflow:hidden}
.shop-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.shop-card:hover .shop-media img{transform:scale(1.03)}
.shop-media .shop-art{margin:28px}
.shop-art{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#64b5f6,#3b8fd9);color:#06101f;font-weight:700;font-size:18px;letter-spacing:.02em}
.shop-badge{position:absolute;top:14px;right:14px;padding:5px 11px;border-radius:999px;background:rgba(7,13,24,.82);border:1px solid rgba(100,181,246,.45);color:#cfe6fb;font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.shop-badge.is-free{background:#64b5f6;border-color:#64b5f6;color:#06101f;font-weight:600}
.shop-body{display:flex;flex-direction:column;gap:12px;padding:22px 24px 24px;flex:1}
.shop-card h2,.shop-card h3{font-size:21px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.shop-name{color:#e8edf5}
.shop-name:hover{color:#9fd0fa}
.shop-desc{font-size:15px;line-height:1.6;color:rgba(232,237,245,.72)}
.shop-pricebox{margin-top:auto;padding-top:4px}
.shop-price{display:flex;align-items:baseline;gap:6px;font-size:26px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.shop-price small{font-size:14px;font-weight:400;color:rgba(232,237,245,.6)}
.shop-price-sub{margin-top:2px;font-size:14px;color:rgba(232,237,245,.62)}
.shop-actions{display:flex;flex-wrap:wrap;gap:10px}
.shop-actions .btn{padding:12px 20px;font-size:15px;min-height:44px}
.shop-media img.shop-art-img{width:56px;height:56px;object-fit:cover;padding:0;background:none}
.shop-media img.shop-art-img{margin:28px;transform:none}
@media (max-width:640px){.shop-actions .btn{flex:1 1 auto}}
/* An app as a card (ShopTile.appTile, the home page's): its preview (assets/card-preview.css) on
   the shop's stage glow. .is-lazy: the page loads card-preview.css later (assets/home-shop.js) and
   adds .is-ready; until then the preview's place holds the card's shape, so nothing moves. */
.shop-media.shop-stage{position:relative;display:grid;place-items:center;background:radial-gradient(closest-side at 50% 55%,rgba(100,181,246,.22),transparent 78%),#0b1424}
.shop-stage .hc,.shop-stage .ov{width:min(58%,260px)}
.shop-stage .hc-logo{width:auto;height:8cqw;transition:none}
.shop-stage .hc-av{width:20cqw;height:20cqw;transition:none}
.shop-card:hover .shop-stage img{transform:none}
.shop-stage.is-lazy:not(.is-ready) .hc,.shop-stage.is-lazy:not(.is-ready) .ov{display:none}
.shop-stage.is-lazy:not(.is-ready)::before{content:"";width:min(58%,260px);aspect-ratio:1000/571;border-radius:4.4%/7.7%;background:linear-gradient(45deg,#3a2370,#0d1226);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);transform:rotateZ(-3deg)}
