/* Public Store pages (/store). Loaded after site.css. */
.site > main:has(> .store) { display: flex; flex-direction: column; }
.store { flex: 1 0 auto; padding-block: var(--space-4) var(--space-6); background: var(--bg, #faf7f2); }
.store__wrap { max-width: 1100px; margin-inline: auto; padding-inline: var(--gutter); }
.store h1 { margin: 0 0 var(--space-1); }
.store__lead { color: var(--text-muted); margin: 0 0 var(--space-3); }
.store__filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: var(--space-3); }
.store__filters a { padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--secondary); text-decoration: none; font-size: 0.9rem; }
.store__filters a.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary, #fff); }
.store__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--space-3); }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.15s, transform 0.15s; }
.product:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product__img { display: block; aspect-ratio: 4 / 3; background: #efe8dc; }
.product__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__body { display: flex; flex-direction: column; gap: 0.3rem; padding: var(--space-2); flex: 1; }
.product__kind { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.product__name { color: var(--secondary); font-size: 1.05rem; }
.product__summary { font-size: 0.9rem; color: var(--text-muted); }
.product__price { margin-top: auto; padding-top: 0.4rem; font-weight: 700; color: var(--primary-text); }
.product__price s, .detail__price s { color: #767676; font-weight: 400; margin-right: 0.3rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-4); align-items: start; }
.detail__img { background: #efe8dc; border-radius: var(--radius); overflow: hidden; min-height: 200px; }
.detail__img img { width: 100%; display: block; }
.detail__price { font-size: 1.6rem; font-weight: 700; color: var(--primary-text); margin: 0 0 var(--space-2); }
.detail__price small { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.detail__text { margin-top: var(--space-3); line-height: 1.7; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } }
