/* cw-catalog.css — Catalog vitrina (/shop/) by macket catalog.html, gated body.cwnew.
   Tiles .cat-show > .cshow; page-head; crumbs; cta band. Relies on cw-tokens vars. */

body.cwnew .cwnew-catalog{display:block;}
body.cwnew .cwnew-catalog .container{max-width:1720px;margin:0 auto;padding:0 clamp(24px,5vw,80px);}
@media (min-width:1680px){body.cwnew .cwnew-catalog .container{max-width:1860px;}}

/* P31 Task1: легаси-крошки .breadcrumb-nsv БОЛЬШЕ НЕ выводятся под ?cwnew (show_breadcrumb.php
   отбрасывает легаси-разметку через ob и рендерит единый cw_crumbs) — старый CSS-костыль скрытия удалён. */

/* crumbs + page head */
body.cwnew .cwnew-catalog .crumbs{font-family:"PT Mono",monospace;font-size:12px;color:var(--ink-60);display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:26px;}
body.cwnew .cwnew-catalog .crumbs a{color:var(--violet);text-decoration:none;}
body.cwnew .cwnew-catalog .crumbs a:hover{text-decoration:underline;}
body.cwnew .cwnew-catalog .crumbs .sep{color:var(--ink-40);}
body.cwnew .cwnew-catalog .crumbs .cur{color:var(--ink-60);}
body.cwnew .cwnew-catalog .page-head{padding-top:22px;padding-bottom:10px;}
body.cwnew .cwnew-catalog .page-head .eyebrow{font-family:"PT Mono",monospace;font-size:12px;letter-spacing:0.06em;text-transform:uppercase;color:var(--violet);margin-bottom:14px;display:flex;align-items:center;gap:10px;}
body.cwnew .cwnew-catalog .page-head .eyebrow::before{content:"";width:40px;height:2px;background:var(--violet);}
body.cwnew .cwnew-catalog .page-head h1{font-family:"Inter Tight",sans-serif;font-weight:800;font-size:clamp(27px,3.6vw,42px);line-height:1.05;letter-spacing:-0.02em;max-width:26ch;color:var(--ink);}
body.cwnew .cwnew-catalog .page-head .sub{margin-top:15px;font-size:17px;line-height:1.5;color:var(--ink-60);max-width:64ch;}

/* placeholder image tile */
body.cwnew .cwnew-catalog .ph-img{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:var(--paper);border:1px solid var(--line);color:var(--ink-40);}
body.cwnew .cwnew-catalog .ph-img img{width:100%;height:100%;object-fit:cover;display:block;}
body.cwnew .cwnew-catalog .ph-img .cap{font-family:"PT Mono",monospace;font-size:11px;letter-spacing:0.04em;}

/* tiles */
body.cwnew .cwnew-catalog .cat-show{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 0;}
body.cwnew .cwnew-catalog .cshow{background:var(--paper);text-decoration:none;color:inherit;display:flex;flex-direction:column;padding:18px;border:1px solid var(--line);border-radius:3px;transition:background .15s,border-color .15s,transform .15s,box-shadow .15s;min-width:0;}
body.cwnew .cwnew-catalog .cshow:hover{background:var(--violet-tint);border-color:var(--violet);transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,18,16,.08);}
body.cwnew .cwnew-catalog .cshow .ph-img{aspect-ratio:16/9;margin-bottom:14px;}
body.cwnew .cwnew-catalog .cshow .idx{font-family:"PT Mono",monospace;font-size:11px;color:var(--ink-40);margin-bottom:6px;letter-spacing:0.03em;}
body.cwnew .cwnew-catalog .cshow h2{font-family:"Inter Tight",sans-serif;font-weight:700;font-size:18px;letter-spacing:-0.01em;margin:0;color:var(--ink);}
body.cwnew .cwnew-catalog .cshow p{font-size:13.5px;line-height:1.45;color:var(--ink-60);margin:8px 0 12px;flex:1 1 auto;}
body.cwnew .cwnew-catalog .cshow .foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--line);margin-top:auto;}
body.cwnew .cwnew-catalog .cshow .cnt{font-family:"PT Mono",monospace;font-size:12px;color:var(--ink-40);}
body.cwnew .cwnew-catalog .cshow .more{font-family:"PT Mono",monospace;font-size:12px;color:var(--violet);}
@media (max-width:900px){body.cwnew .cwnew-catalog .cat-show{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){body.cwnew .cwnew-catalog .cat-show{grid-template-columns:1fr;}}

/* CTA band */
body.cwnew .cwnew-catalog .cta-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--alt);margin-top:56px;}
body.cwnew .cwnew-catalog .cta-band .inner{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:clamp(32px,5vh,56px) 0;}
body.cwnew .cwnew-catalog .cta-band h2{font-family:"Inter Tight",sans-serif;font-weight:800;font-size:clamp(22px,2.4vw,30px);line-height:1.1;color:var(--ink);margin:0;max-width:24ch;}
body.cwnew .cwnew-catalog .cta-band .acts{display:flex;gap:14px;flex-wrap:wrap;}
body.cwnew .cwnew-catalog .cta-band .btn{display:inline-flex;align-items:center;justify-content:center;font-family:"Inter Tight",sans-serif;font-weight:700;font-size:14px;text-decoration:none;padding:13px 24px;border:1px solid var(--violet);background:var(--violet);color:#fff;transition:background .15s,box-shadow .15s;}
body.cwnew .cwnew-catalog .cta-band .btn:hover{background:#4a3b85;border-color:#4a3b85;}
body.cwnew .cwnew-catalog .cta-band .btn.ghost{background:transparent;color:var(--violet);}
body.cwnew .cwnew-catalog .cta-band .btn.ghost:hover{background:var(--violet);color:#fff;}
