/*!
 * American Peptides — collections + search (shop agent). Values copied from the source CSS
 * (source-cdp/css/merged.css: .coll-head, .coll-count, .search-*, .pdp-bundles, .article__related).
 * Loaded only on collection archives and /search/ (body.ap-shop).
 */

/* Collection / search head */
.ap-shop .coll-head{padding:34px 0 26px}
.ap-shop .coll-head .breadcrumb{font-size:.82rem;color:var(--muted);margin-bottom:14px}
.ap-shop .coll-head .breadcrumb a:hover{color:var(--red)}
.ap-shop .coll-head h1{font-family:var(--serif);font-size:clamp(1.9rem,4vw,2.7rem);font-weight:700;color:var(--ink);margin-bottom:10px}
.ap-shop .coll-head p{color:var(--muted);max-width:44rem;margin:0 0 12px;font-size:1.02rem}
.ap-shop .coll-count{display:inline-block;font-size:.78rem;font-weight:700;color:var(--navy-3);background:#eef2f8;border-radius:999px;padding:4px 12px}
.ap-shop .coll-empty{color:var(--muted);padding:0 0 60px}

/* Collection link sections (source reuses the PDP .pdp-bundles block) */
.ap-shop .pdp-bundles{padding:10px 0 14px}
.ap-shop .pdp-bundles .section-head h2{font-variation-settings:"opsz" 80}
.ap-shop .article__related{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.ap-shop .article__related a{padding:8px 14px;background:#fff;color:var(--navy);border-radius:8px;font-weight:600;font-size:.86rem;text-decoration:none}
.ap-shop .article__related a:hover{background:var(--red);color:#fff}

/* Search */
.ap-shop .search-wrap{padding-bottom:60px}
.ap-shop .search-box{margin-bottom:12px}
.ap-shop .search-box input{width:100%;font:inherit;font-size:1.02rem;padding:16px 20px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink);outline:none;transition:border-color .14s,box-shadow .14s}
.ap-shop .search-box input:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(218,48,61,.08)}
.ap-shop .search-meta{font-size:.85rem;color:var(--muted);margin-bottom:18px}
.ap-shop .search-empty{text-align:center;color:var(--muted);padding:50px 20px}
.ap-shop .search-results{display:grid;grid-gap:10px;gap:10px}
.ap-shop .search-row{display:grid;grid-template-columns:54px 1fr auto;grid-gap:14px;gap:14px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;transition:border-color .14s,transform .14s}
.ap-shop .search-row:hover{border-color:var(--red);transform:translateX(2px)}
.ap-shop .search-row__thumb{width:54px;height:54px;border-radius:9px;background:var(--cream-2);display:grid;place-items:center;padding:5px}
.ap-shop .search-row__thumb img{mix-blend-mode:multiply;object-fit:contain}
.ap-shop .search-row__title{font-weight:700;color:var(--ink);font-size:.98rem}
.ap-shop .search-row__cat{font-size:.8rem;color:var(--muted);text-transform:capitalize}
.ap-shop .search-row__price{font-weight:800;color:var(--ink);font-size:.94rem}
/* display:grid would otherwise defeat the hidden attribute used by the live filter */
.ap-shop .search-row[hidden],.ap-shop .search-results[hidden],.ap-shop .search-empty[hidden]{display:none}
