/* Einthoven shop — layered on css/styles.css and css/blog.css.
 * Static pages at real URLs, for the same reason as the blog: a crawler (and a
 * product feed) needs one URL per product, which a hash route cannot give. */

.shop-wrap { max-width: 62rem; width: 100%; box-sizing: border-box; margin: 0 auto; padding: 0 1.1rem; }
.shop-nav-links a { margin-left: 1rem; }
.shop-wrap .post-header { max-width: 46rem; }

.shop-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.shop-card { display: flex; flex-direction: column; margin: 0 !important; }
.shop-card img, .shop-gallery img { width: 100%; height: auto; border-radius: 10px; display: block; border: 1px solid var(--border); }
.shop-card img, .shop-card .gift-art { margin-bottom: 1rem; }
.shop-card h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.shop-card h2 a { color: var(--text); text-decoration: none; }
.shop-card p { color: var(--text-dim); font-size: .95rem; flex: 1; }
.shop-more { display: block; text-align: center; margin-top: .7rem; font-size: .9rem; }
.shop-price { font-size: 2rem; font-weight: 750; line-height: 1.1; margin: .2rem 0 .8rem; }
.shop-fine { font-size: .82rem; color: var(--text-faint); margin: .8rem 0 0; }
.shop-status { margin: .8rem 0 0; }

.shop-bundle { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 1rem; }
.shop-bundle > div:first-child { flex: 1 1 320px; }
.shop-bundle h2 { margin: 0 0 .4rem; font-size: 1.25rem; }
.shop-bundle p { margin: 0; color: var(--text-dim); }
.shop-bundle-buy { flex: 0 1 260px; }

.shop-product { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) 20rem; align-items: start; margin-bottom: 2rem; }
.shop-gallery { display: grid; gap: .8rem; }
.shop-buybox { position: sticky; top: 1rem; }
.shop-buybox hr { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.shop-ticks { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .92rem; color: var(--text-dim); }
.shop-ticks li { padding-left: 1.4rem; position: relative; margin-bottom: .4rem; }
.shop-ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
@media (max-width: 820px) {
  .shop-product { grid-template-columns: 1fr; }
  .shop-buybox { position: static; order: -1; }
}

/* The gift card artwork: drawn in CSS so it prints cleanly and needs no image. */
.gift-art {
  aspect-ratio: 4 / 3; border-radius: 10px; border: 1px solid var(--accent-dim);
  background: linear-gradient(135deg, #10241f, var(--bg-soft) 60%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  text-decoration: none; color: var(--text);
}
.gift-art span { font-size: 2.6rem; color: var(--accent); line-height: 1; }
.gift-art b { letter-spacing: .22em; font-size: 1.05rem; }
.gift-art i { font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-dim); letter-spacing: .08em; font-size: .9rem; }
.gift-art-lg { aspect-ratio: 16 / 9; margin-bottom: 1.4rem; }
.gift-art-lg i { font-size: 1.15rem; color: var(--text); }
.gift-print-text { text-align: center; color: var(--text-dim); }
.gift-actions { gap: .6rem; flex-wrap: wrap; }

@media print {
  body { background: #fff !important; color: #000 !important; }
  body * { visibility: hidden; }
  .gift-print, .gift-print * { visibility: visible; }
  .gift-print { position: absolute; left: 0; top: 0; width: 100%; padding: 2rem; }
  .gift-art { background: #fff; border: 2px solid #000; color: #000; }
  .gift-art span, .gift-art i, .gift-print-text { color: #000; }
}
