.page-shop {
  background-image:
    linear-gradient(180deg, rgba(4, 8, 16, .84) 0%, rgba(7, 16, 31, .76) 42%, rgba(7, 16, 31, .9) 100%),
    image-set(url('../images/optimized/witness-page-mobile.webp') type('image/webp'), url('../images/witness%20page.png') type('image/png'));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.shop-hero { border: 0; background: transparent; }
.shop-hero__inner { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.25rem); max-width: 900px; text-align: center; }
.shop-kicker { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .2em; margin: 0 0 .8rem; }
.shop-kicker { display: none; }
.shop-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: .98; letter-spacing: -.06em; margin: 0 0 .65rem; }
.shop-lede { color: #e2f7ff; font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 46ch; margin: 0 auto; }
.shop-intro { color: var(--text-muted); max-width: 64ch; margin: 0 auto; }
.shop-hero__revenue-note { max-width: 70ch; margin: 1rem auto 0; color: #d9edf5; font-size: .84rem; line-height: 1.5; }
.shop-disclosure { max-width: 760px; margin-top: 1.25rem; padding: 0; background: transparent; border: 0; }
.shop-disclosure h2 { color: var(--text-muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; margin: 0 0 .15rem; text-transform: uppercase; }.shop-disclosure p { margin: 0; color: var(--text-muted); font-size: .78rem; line-height: 1.45; }.shop-disclosure__required, .shop-support__required { color: #e8fbff !important; font-weight: 700; margin-top: .25rem !important; }
.shop-purpose, .shop-featured, .shop-catalogue { padding-top: 5rem; }.shop-section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.04em; margin: 0 0 1.4rem; }.shop-section-heading--row { display:flex; justify-content:space-between; align-items:end; gap: 1rem; }.catalogue-count { color: var(--text-muted); font-size: .9rem; }
.shop-current-catalogue { padding-top: 3.75rem; }.shop-category-shelf + .shop-category-shelf { margin-top: 4rem; }.shop-category-shelf__heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; padding-bottom:1rem; margin-bottom:1.25rem; border-bottom:1px solid rgba(255,255,255,.11); }.shop-category-shelf__heading .shop-kicker { margin-bottom:.35rem; }.shop-category-shelf__heading h3 { margin:0; font-size:clamp(1.35rem,2.5vw,2rem); letter-spacing:-.035em; }.shop-category-shelf__heading > p { max-width:40ch; margin:0; color:var(--text-muted); font-size:.9rem; text-align:right; }
.purpose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }.purpose-tile { color: var(--text); text-align: left; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; min-height: 112px; padding: 1.2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.045); cursor: pointer; transition: .2s ease; }.purpose-tile:hover, .purpose-tile:focus-visible { border-color: var(--accent); transform: translateY(-2px); background: rgba(90,212,255,.1); }.purpose-icon { font-size: 1.9rem; color: var(--accent); }.purpose-tile strong, .purpose-tile small { display:block; }.purpose-tile strong { font-size: 1.05rem; }.purpose-tile small { color: var(--text-muted); font-size: .78rem; line-height: 1.35; margin-top: .25rem; }
.shop-controls { display: grid; gap: 1.2rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(4,13,25,.58); margin-bottom: 1.5rem; }.shop-search { display:flex; align-items:center; gap:.65rem; border-bottom: 1px solid var(--input-border); padding: .4rem 0; color: var(--accent); }.shop-search input { width:100%; color:var(--text); border:0; outline:0; background:transparent; }.filter-group { display:flex; flex-wrap:wrap; align-items:center; gap:.7rem; }.filter-label { color:var(--text-muted); width: 5.5rem; font-size: .78rem; text-transform:uppercase; letter-spacing:.1em; }.filter-list { display:flex; flex-wrap:wrap; gap:.45rem; }.filter-button { border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:.38rem .7rem; background:transparent; color:var(--text-muted); cursor:pointer; font-size:.8rem; }.filter-button:hover, .filter-button:focus-visible, .filter-button.is-active { background:var(--accent); color:#06121e; border-color:var(--accent); font-weight:700; }
.product-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1rem; }.product-card { overflow:hidden; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(11,28,43,.9); box-shadow:0 18px 45px rgba(0,0,0,.12); }.product-card__visual { min-height: 150px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.35rem; background: radial-gradient(circle, rgba(90,212,255,.18), transparent 55%), linear-gradient(135deg, #0d2839, #10202f); border-bottom:1px solid rgba(255,255,255,.08); }.product-card__visual span { color:#a9edff; font-size:4rem; line-height:1; }.product-card__visual small { color:rgba(232,251,255,.7); text-transform:uppercase; letter-spacing:.16em; font-size:.63rem; }.product-card__visual--art, .product-card__visual--apparel, .product-card__visual--gifts { background: radial-gradient(circle, rgba(192,147,255,.2), transparent 55%), linear-gradient(135deg, #22203d, #17202d); }.product-card__body { padding:1.1rem; }.product-card__meta { display:flex; justify-content:space-between; gap:.5rem; color:var(--accent); font-size:.66rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.product-card h3 { font-size:1.12rem; line-height:1.25; margin:.55rem 0 .5rem; }.product-card p { color:var(--text-muted); font-size:.88rem; line-height:1.5; margin:.4rem 0; }.product-card details { margin-top:.7rem; border-top:1px solid rgba(255,255,255,.08); padding-top:.6rem; }.product-card summary { color:#d8f7ff; cursor:pointer; font-size:.83rem; }.product-card__caveat { font-size:.76rem !important; font-style:italic; }.product-card__action { margin-top:1rem; display:flex; align-items:center; justify-content:space-between; gap:.6rem; }.product-card__cta { display:inline-flex; gap:.5rem; color:#06121e; background:var(--accent); border-radius:999px; padding:.62rem .85rem; font-weight:700; font-size:.8rem; }.product-card__paid { color:var(--text-muted); font-size:.68rem; }.product-card__pending { color:#f7d58a; border:1px dashed rgba(247,213,138,.45); border-radius:999px; padding:.55rem .75rem; font-size:.75rem; }.empty-state { padding:2rem; text-align:center; color:var(--text-muted); border:1px dashed rgba(255,255,255,.15); }.shop-principles { display:grid; grid-template-columns: 160px 1fr; gap:2rem; align-items:center; margin-top:6rem; padding-top:3rem; padding-bottom:3rem; border-top:1px solid rgba(255,255,255,.1); border-bottom:1px solid rgba(255,255,255,.1); }.shop-principles h2 { margin:.2rem 0 .8rem; }.shop-principles p, .shop-support p { color:var(--text-muted); max-width:70ch; }.principles-reticle { width:140px; height:140px; border:1px solid rgba(90,212,255,.4); border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle, rgba(90,212,255,.2) 1px, transparent 2px); background-size:20px 20px; }.principles-reticle span { width:50%; height:1px; background:var(--accent); position:relative; }.principles-reticle span::after { content:""; position:absolute; width:1px; height:700%; top:-300%; left:50%; background:var(--accent); }.shop-support { padding:3rem 0 5rem; }.shop-support p { margin:.25rem 0; }
@media (max-width: 900px) { .product-grid { grid-template-columns:repeat(2,1fr); }.purpose-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 620px) { .shop-hero__inner { padding-top:3.5rem; }.purpose-grid, .product-grid { grid-template-columns:1fr; }.shop-section-heading--row, .shop-category-shelf__heading { align-items:start; flex-direction:column; gap:0; }.shop-category-shelf__heading > p { text-align:left; margin-top:.3rem; }.shop-principles { grid-template-columns:1fr; }.principles-reticle { width:90px; height:90px; }.filter-label { width:auto; }.filter-group { align-items:flex-start; flex-direction:column; gap:.35rem; }.shop-disclosure { margin-top:1rem; } }

/* Use the UAPRAD mark in the editorial note's circular emblem. */
.principles-reticle { background: radial-gradient(circle, rgba(90,212,255,.2) 1px, transparent 2px), url('../images/UAPRAD%20logo%20transparent.png') center / 76% 76% no-repeat; background-size: 20px 20px, 76% 76%; }
.principles-reticle span { display: none; }

/* Category artwork supplied in the shop placeholder sheet. */
.product-card__visual { background-image: url('../shop%20placeholders.png'); background-repeat: no-repeat; }
.product-card__visual > span { display: none; }
.product-card__visual--observation,
.product-card__visual--astronomy { background-size: 410% 205%; background-position: 0 0; }
.product-card__visual--imaging { background-size: 410% 205%; background-position: 33.33% 0; }
.product-card__visual--electronics { background-size: 410% 205%; background-position: 66.66% 0; }
.product-card__visual--field-essentials { background-size: 410% 205%; background-position: 100% 0; }
.product-card__visual--books { background-size: 307% 205%; background-position: 0 100%; }
.product-card__visual--art { background-size: 307% 205%; background-position: 50% 100%; }
.product-card__visual--gifts { background-size: 307% 205%; background-position: 100% 100%; }

/* Keep the source artwork at its natural aspect ratio and crop it into the card frame. */
.product-grid { gap: 1.5rem; }
.product-card { border: 0; border-radius: 20px; background: rgba(8, 20, 33, .8); box-shadow: 0 18px 42px rgba(0, 0, 0, .2); }
.product-card__visual { min-height: 0; aspect-ratio: 6 / 5; border: 0; background-size: 410% auto !important; background-position-y: 0 !important; }
.product-card__visual--books,
.product-card__visual--art,
.product-card__visual--gifts { background-size: 307% auto !important; background-position-y: 100% !important; }
.product-card__body { padding: 1.2rem 1.25rem 1.3rem; }
.product-card h3 { margin-top: 0; }
.product-card__action { padding-top: .15rem; }

@media (min-width: 1180px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* Each category panel is a separate source image, shown whole within a shared frame. */
.product-card__visual {
  aspect-ratio: 1 / 1;
  padding: 0;
  background: transparent !important;
  background-image: none !important;
}
.product-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

@media (min-width: 900px) {
  .page-shop {
    background-image:
      linear-gradient(180deg, rgba(4, 8, 16, .84) 0%, rgba(7, 16, 31, .76) 42%, rgba(7, 16, 31, .9) 100%),
      image-set(url('../images/optimized/witness-page-desktop.webp') type('image/webp'), url('../images/Witness%20page%202.png') type('image/png'));
  }
}

@media (max-width: 768px) { .page-shop { background-attachment: scroll; } }

.product-card__cost-tier { color:#e5f9ff !important; font-size:.75rem !important; font-weight:700; }
