/* Catalogue: searchable product grid (images, family filter, selling prices). */
.ct-page { max-width: 1240px; }
.ct-bar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.ct-searchwrap { display: flex; align-items: center; gap: 8px; max-width: 420px; height: 40px; padding: 0 12px; border-radius: var(--r-ctl); background: var(--card); box-shadow: var(--hair); color: var(--ink-3); }
.ct-searchwrap:focus-within { box-shadow: 0 0 0 1px var(--teal-1), 0 0 0 4px rgba(0, 117, 155, 0.12); }
.ct-search { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.ct-fams { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.ct-fams::-webkit-scrollbar { display: none; }
.ct-fam { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--hair); font-size: 13px; color: var(--ink-2); cursor: pointer; }
.ct-fam span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.ct-fam:hover { background: var(--surface-2); }
.ct-fam.on { background: var(--ink); color: #fff; box-shadow: none; } .ct-fam.on span { color: #c9c7c0; }
.ct-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 12px; }
.ct-card { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow 160ms var(--ease), transform 160ms var(--ease); animation: rise 360ms var(--ease) backwards; }
.ct-card:hover { box-shadow: 0 0 0 0.5px var(--line-2), 0 10px 28px rgba(0, 0, 0, 0.06); transform: translateY(-1px); }
.ct-skel { height: 300px; padding: 14px; }
.ct-img { height: 150px; display: grid; place-items: center; background: linear-gradient(180deg, #f6f6f4, #efefec); border-bottom: 0.5px solid var(--line-soft); }
.ct-img img { max-width: 78%; max-height: 120px; object-fit: contain; mix-blend-mode: multiply; }
.ct-mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-3); padding: 8px 12px; border-radius: 8px; background: #fff; box-shadow: var(--hair); }
.ct-body { padding: 12px 14px 0; display: grid; gap: 4px; align-content: start; flex: 1; }
.ct-tags { display: flex; align-items: center; gap: 8px; }
.ct-kind { white-space: nowrap; font-size: 10.5px; font-weight: 550; letter-spacing: 0.02em; padding: 2px 7px; border-radius: 6px; }
.ct-kind.own { background: #e3f0f4; color: #005e7d; } .ct-kind.ext { background: var(--surface-2); color: var(--ink-2); } .ct-kind.svc { background: var(--accent-soft); color: #a2420a; }
.ct-name { font-size: 14.5px; font-weight: 550; line-height: 20px; letter-spacing: -0.01em; }
.ct-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 17px; }
.ct-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 12px 14px 14px; }
.ct-price { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.ct-side { display: grid; justify-items: end; gap: 4px; min-width: 0; }
.ct-side .mono { overflow-wrap: anywhere; text-align: right; }
.ct-edit { border: 0; background: none; padding: 2px 0; font-size: 12px; color: var(--teal-1); cursor: pointer; }
.ct-edit:hover { text-decoration: underline; }
.ct-none { grid-column: 1 / -1; }
@media (max-width: 600px) { .ct-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .ct-img { height: 110px; } .ct-desc, .ct-side .mono, .ct-tags .muted { display: none; } .ct-foot { flex-direction: column; align-items: flex-start; } .ct-side { justify-items: start; } .ct-price { font-size: 15px; } }
