/* shop.css — shop, product category and product search pages (plan 02). Plan 05 appends its "05 404" and
   "05 search results" blocks after this one. Mobile-first; tokens only. Grid columns live in components.css. */
.pc-shop{padding-top:var(--pc-sp-8);padding-bottom:var(--pc-sp-10)}
/* Head compact like Direct Peptides' (Kian, 2026-10-28; measured): a 32 px title on every width, the lead, the search 16
   px below, the grid 24 px below that, so the top of the second row of products shows on a laptop screen. */
.pc-shop__head{display:flex;flex-direction:column;gap:var(--pc-sp-2);margin-bottom:var(--pc-sp-6)}
.pc-shop__title{font-size:var(--pc-fs-h1);line-height:var(--pc-lh-tight)}
.pc-shop__lead{color:var(--pc-muted);font-size:var(--pc-fs-md);line-height:var(--pc-lh-body)}
/* Shop search = Direct Peptides' (measured 2026-10-28): full width, 51 px, white, a 1 px #F3F4F6 edge, 12 px corners, no
   shadow, a 16 px icon and placeholder in ink at 50%, 16 px text; focus drops the edge for a 2 px brand outline. */
.pc-shop__filter{position:relative;max-width:none;margin-top:var(--pc-sp-2)}
.pc-shop__filter-icon{position:absolute;top:50%;left:16px;display:grid;place-items:center;color:var(--pc-search-hint);transform:translateY(-50%);pointer-events:none}
.pc-shop__filter-icon .pc-icon{width:16px;height:16px}
.pc-shop__filter .pc-input{width:100%;min-height:var(--pc-search-h);padding:13px 16px 13px 42px;border:1px solid var(--pc-search-edge);border-radius:var(--pc-search-r);background:var(--pc-surface);box-shadow:none;font-size:16px;letter-spacing:-0.28px}
.pc-shop__filter .pc-input::placeholder{color:var(--pc-search-hint)}
.pc-shop__filter .pc-input:focus-visible{border-color:transparent;outline:2px solid var(--pc-brand);outline-offset:0}
/* Pulse until used (Kian, 2026-10-28): site.js adds .is-pulsing to the products page's search on load and removes it for
   good (this visit) once the field is clicked or focused. A soft brand-blue ring breathes out from the field; none with
   reduced motion. */
@keyframes pc-search-pulse{0%{box-shadow:0 0 0 0 rgb(var(--pc-brand-rgb)/.28)}70%{box-shadow:0 0 0 9px rgb(var(--pc-brand-rgb)/0)}100%{box-shadow:0 0 0 0 rgb(var(--pc-brand-rgb)/0)}}
.pc-shop__filter.is-pulsing .pc-input{border-color:rgb(var(--pc-brand-rgb)/.45);animation:pc-search-pulse 2.2s var(--pc-ease-out) infinite}
@media (prefers-reduced-motion:reduce){.pc-shop__filter.is-pulsing .pc-input{animation:none}}
.pc-shop__lead{color:var(--pc-ink-2)}
.pc-shop__empty{margin-top:var(--pc-sp-5);padding:var(--pc-sp-4);border-radius:var(--pc-r-md);background:var(--pc-surface-alt);color:var(--pc-muted);font-size:var(--pc-fs-body)}
.pc-shop .woocommerce-no-products-found{margin-top:var(--pc-sp-5)}
.pc-shop__after{display:flex;flex-direction:column;gap:var(--pc-sp-6);margin-top:var(--pc-sp-9)}
@media (min-width:810px){
	.pc-shop__after{gap:var(--pc-sp-8);margin-top:var(--pc-sp-10)}
}

/* == 05 404 == 404.php (.pc-404) and the plain product search form (.pc-searchform, searchform.php); plan 05.
   pc-shop is the page sheet inc/assets.php loads on the 404. A centered stack, then the rail (inside the margins, rail.css). */
.pc-404{padding-bottom:var(--pc-sp-10)}
.pc-404__intro{display:flex;flex-direction:column;align-items:center;gap:var(--pc-sp-4);padding-top:var(--pc-sp-10);padding-bottom:var(--pc-sp-8);text-align:center}
.pc-404__eyebrow{color:var(--pc-ink-2);font-size:var(--pc-fs-meta);font-weight:var(--pc-fw-semibold);letter-spacing:var(--pc-track-eyebrow);text-transform:uppercase}
.pc-404__title{font-size:var(--pc-fs-hero);line-height:var(--pc-lh-tight)}
.pc-404__lead{max-width:560px;color:var(--pc-muted);font-size:var(--pc-fs-md);line-height:var(--pc-lh-loose)}
.pc-404__intro .pc-searchform{width:100%;max-width:560px}
.pc-404__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--pc-sp-3)}
.pc-searchform{display:flex;gap:var(--pc-sp-2)}
.pc-searchform__input{flex:1 1 auto;min-width:0;height:48px;border-color:var(--pc-hairline);background-color:var(--pc-row)}
.pc-searchform__submit{flex:none;min-height:48px}
@media (min-width:810px){
	.pc-404__intro{gap:var(--pc-sp-5);padding-top:calc(var(--pc-sp-10) + var(--pc-sp-8));padding-bottom:var(--pc-sp-9)}
}

/* == 05 search results == the product search (?s=…&post_type=product) on archive-product.php; WordPress puts
   .search on body. Long queries wrap inside the gutters; the field holding the query is outlined in brand. plan 05. */
body.search .pc-shop__title{overflow-wrap:anywhere}
body.search .pc-shop__filter .pc-input{border-color:var(--pc-brand);background-color:var(--pc-surface)}
.pc-shop__none-actions{margin-top:var(--pc-sp-4)}
