/* ====================================================================
   Added October 2026: styles for shop-ward-7.html only. Reuses the
   colour, font and spacing tokens from styles.css; adds nothing to the
   home page. Mobile first: one card per row, two from 640px, three from
   960px. No animation.
   ==================================================================== */

/* The home page's wide-screen left padding exists to make room for its
   progress rail; this page has no rail, so centre the content instead. */
@media (min-width:1300px){
  body.shop .inset{padding-left:clamp(20px,5vw,64px)}
}
/* The home page reserves space for its fixed mobile action bar; this page
   has no bar. */
@media (max-width:720px){body.shop{padding-bottom:0}}

/* Header band: same plum, grain and wordmark as the home page hero */
.shop-hero{position:relative;background:var(--plum-700);color:rgba(255,255,255,.88);overflow:hidden;padding-top:clamp(64px,8vw,110px);padding-bottom:clamp(48px,6vw,80px)}
.shop-hero > .content{position:relative}
.shop-hero .wordmark{text-decoration:none;justify-items:start}
.shop-hero h1{color:#fff;font-size:clamp(2.4rem,5vw,4rem);margin:36px 0 0;text-wrap:balance}

/* Body */
.shop-body{background:var(--paper)}
.shop-intro p{max-width:66ch}
.shop-intro .lead{color:var(--ink-700);font-size:1.25rem;font-weight:450}

/* Filter row: four plain text buttons */
.shop-filters{display:flex;flex-wrap:wrap;gap:4px 28px;margin:40px 0 24px;padding-bottom:12px;border-bottom:1px solid var(--rule-light)}
.shop-filter{background:none;border:0;border-bottom:2px solid transparent;padding:8px 0;font-family:"Source Sans 3",-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;font-size:.8125rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--plum-600);cursor:pointer}
.shop-filter:hover{color:var(--plum-800)}
.shop-filter[aria-pressed="true"]{color:var(--ink-900);border-bottom-color:var(--gold-500)}

/* Community groups: a heading, then the card grid. Hidden groups are
   filtered out by shop.js. */
.shop-group + .shop-group{margin-top:40px}
.shop-group[hidden]{display:none}
.shop-group-title{font-family:"Playfair Display",Georgia,serif;font-size:1.5rem;font-weight:800;line-height:1.2;color:var(--ink-900);margin:0 0 16px}
.shop-group-note{max-width:66ch;margin:0}
.shop-grid:not(:empty) + .shop-group-note{margin-top:16px}

/* Card grid */
.shop-grid{display:grid;grid-template-columns:1fr;gap:16px}
.shop-grid:empty{display:none}
@media (min-width:640px){.shop-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.shop-grid{grid-template-columns:repeat(3,1fr)}}
.shop-card{display:grid;gap:6px;align-content:start}
.shop-card[hidden]{display:none}
.shop-card h3{font-family:"Playfair Display",Georgia,serif;font-size:1.25rem;font-weight:800;line-height:1.25;color:var(--ink-900);margin:0}
.shop-card .shop-community{font-size:.75rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--plum-600)}
.shop-card p{font-size:1rem;line-height:1.6;margin:0}
.shop-card a{color:var(--plum-600);word-break:break-word}
/* Visually hidden, read by screen readers */
.shop-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shop-empty{color:var(--ink-500)}

