/* Product-first catalogue layout, adapted from the approved Eco Gifts browsing model. */
.catalogue-notice{max-width:42rem;margin:0 0 10px;color:var(--muted);font-size:13px}.catalogue-notice[hidden]{display:none}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.catalogue-brief{height:88px}
.catalogue{padding:18px 0 100px;border-top:0}
.catalogue>.shell{width:calc(100vw - 48px);max-width:none}
.catalogue-assist{min-height:76px;margin-bottom:18px;padding:15px 17px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;border:1px solid #d8d0c5;border-radius:2px;background:var(--paper)}
.catalogue-assist h2{margin:0;color:var(--ink);font:600 16px/1.25 var(--body)}
.catalogue-assist p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.catalogue-assist button{min-height:44px;padding:11px 15px;border:1px solid #995638;border-radius:2px;background:#995638;color:#fff;font:600 12px/1.2 var(--body);cursor:pointer}
.catalogue-assist button:hover{border-color:#7f432c;background:#7f432c}
.catalogue-assist button:focus-visible{outline:2px solid #995638;outline-offset:3px}
.bioq-shortlist-brief__form label{color:#536261}
.catalogue-layout{grid-template-columns:minmax(0,1fr) 400px;gap:24px}
.catalogue-status{min-height:42px;align-items:center;justify-content:space-between;margin-bottom:14px;color:var(--muted);font-size:16px}
.catalogue-status strong{color:var(--ink);font-size:19px;font-weight:600}
.catalogue-clear{border:0;background:transparent;color:var(--teal);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-card{position:relative;overflow:hidden;border:1px solid #e7e0d6;border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(10,46,48,.07);transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.product-card:focus-within{box-shadow:0 0 0 2px var(--teal),0 8px 20px rgba(10,46,48,.07)}
.product-card>a{display:block;padding:0;color:inherit;text-decoration:none}
.product-card>a>img{width:100%;height:auto;aspect-ratio:1;background:#fbfaf8;object-fit:contain;transition:transform .4s var(--ease)}
.product-card>a>small{min-height:23px;display:flex;justify-content:space-between;gap:10px;padding:13px 14px 0;color:var(--muted);font-size:9px;font-weight:400;letter-spacing:.06em;text-transform:uppercase}
.product-card>a>h2{display:-webkit-box;min-height:2.12em;max-height:2.12em;margin-top:6px;overflow:hidden;padding:0 14px;color:var(--dark);font-size:clamp(18px,1.45vw,23px);line-height:1.06;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.product-card>a>p{display:block;min-height:1.45em;margin-top:6px;overflow:hidden;padding:0 14px;color:var(--muted);font-size:10px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.product-card>a>strong{min-height:47px;display:block;padding:9px 14px 12px;color:var(--ink);font-size:12px;font-weight:600;white-space:nowrap}
.product-card>a>strong small{color:var(--muted);font-weight:400}
.card-save{position:absolute;top:12px;right:12px;z-index:2;width:40px;min-height:40px;display:grid;place-items:center;border:1px solid rgba(10,46,48,.18);border-radius:12px;background:rgba(255,255,255,.95);box-shadow:0 3px 10px rgba(10,46,48,.08);padding:0;font-size:0;text-decoration:none}
.card-save::after{content:"+";display:block;font-size:27px;font-weight:300;line-height:1;color:var(--ink);transform:translateY(-1px)}
.card-save.selected{border-color:var(--teal);background:var(--teal);color:#fff}.card-save.selected::after{content:"✓";font-size:17px;color:#fff}
.product-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(10,46,48,.12)}
.filter-panel{top:84px;display:flex;max-height:calc(100dvh - 104px);flex-direction:column;overflow:hidden;border:1px solid #e5ddd2;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(10,46,48,.08)}
.filter-panel-head{padding:18px 20px 12px;border-bottom:0}.filter-panel-head h2{font:600 16px/1.2 var(--body)}
.filter-form{flex:1;min-height:0;gap:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.field,.filter-section,.filter-materials{padding:14px 20px;border-bottom:1px solid #eee7de}.field label,.filter-section label,.filter-label{display:block;margin-bottom:8px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.search-field{padding-top:4px}.field input,.filter-section select{height:46px;border:1px solid #e6ded3;border-radius:10px;background:#faf8f5;padding:0 12px;font-size:14px}.filter-section select{width:100%;outline:0}
.kind-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:4px 20px 10px;padding:4px;border-radius:12px;background:#eee9e1}.kind-button,.budget-grid button,.sort-toggle button{min-height:40px;border:0;border-radius:9px;background:transparent;padding:8px;color:var(--ink);font-size:12px;font-weight:600}.kind-button.is-active,.budget-grid button.is-active,.sort-toggle button.is-active{background:var(--ink);color:#fff;box-shadow:0 2px 6px rgba(10,46,48,.12)}
.budget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.budget-grid button{border:1px solid #e5ddd2;background:#faf8f5;color:var(--ink);text-align:left}.budget-grid button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}
.sort-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.sort-toggle button{min-height:38px;border:1px solid #e5ddd2;background:#fff;font-size:10px}.sort-toggle button.is-active{border-color:var(--ink);background:var(--ink);color:#fff}
.filter-materials{display:flex;gap:7px;flex-wrap:wrap}.filter-materials .filter-label{width:100%}.filter-materials a{border:1px solid #e5ddd2;border-radius:999px;padding:5px 8px;color:var(--teal);font-size:11px;font-weight:600;text-decoration:none}.filter-materials a:hover{border-color:var(--teal);background:#f0f7f6}
.filter-actions{position:sticky;bottom:0;padding:14px 20px;background:#fff;border-top:1px solid #eee7de}.filter-reset{border-color:var(--ink);border-radius:10px;background:var(--ink);color:#fff}
@media(max-width:1100px) and (min-width:900px){.catalogue>.shell{width:calc(100vw - 32px)}.catalogue-layout{grid-template-columns:minmax(0,1fr) 320px;gap:16px}.product-grid{gap:12px}.product-card>a>small,.product-card>a>h2,.product-card>a>p,.product-card>a>strong{padding-inline:11px}.product-card>a>h2{font-size:18px}.filter-panel{border-radius:14px}.field,.filter-section,.filter-materials{padding-inline:15px}.kind-toggle{margin-inline:15px}.filter-actions{padding-inline:15px}}
@media(max-width:899px){.catalogue-brief{height:64px}.catalogue{padding-top:16px}.catalogue>.shell{width:var(--shell)}.catalogue-assist{grid-template-columns:1fr;gap:12px;margin-bottom:14px;padding:14px}.catalogue-assist button{width:100%}.catalogue-status{min-height:32px;margin-bottom:11px}.catalogue-status strong{font-size:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.product-card{border-radius:14px}.product-card>a>small{padding:10px 10px 0}.product-card>a>h2{padding-inline:10px;font-size:18px}.product-card>a>p{padding-inline:10px;font-size:9px}.product-card>a>strong{min-height:42px;padding:7px 10px 10px;font-size:11px}.card-save{top:8px;right:8px;width:36px;min-height:36px;border-radius:10px}.card-save::after{font-size:24px}.filter-panel{top:0;height:100dvh;max-height:none;border-radius:0}.kind-toggle{margin-top:0}.filter-materials{padding-bottom:0}}

/* Matches .card-name: the server-rendered cards are what a buyer sees
   before the live catalogue replaces them, and they clipped identically. */
.product-card>a>h2{font-size:17px;line-height:1.18;min-height:3.54em;max-height:3.54em;text-overflow:ellipsis;-webkit-line-clamp:3}
@media(max-width:899px){.product-card>a>h2{font-size:16px}}
