/* catalog.css — standalone catalog page (product.html/checkout.html-style
   minimal header + the shared .card grid from style.css). */

.catalog-main{ max-width:1180px; }
.catalog-main .section-head{ max-width:640px; margin:0 auto 40px; }
.catalog-main .section-head h1{
  font-size:clamp(2rem, 3.6vw, 2.9rem); margin:14px 0 0;
}
.catalog-sub{ color:var(--ink-muted); margin-top:14px; font-size:0.98rem; line-height:1.7; }

.catalog-pdf-action{ text-align:center; margin:0 auto 40px; }
.catalog-request-all{
  display:block; width:fit-content; margin:0 auto; text-decoration:none;
  background:transparent; cursor:pointer; font-family:var(--font-label); text-transform:uppercase; letter-spacing:0.08em;
}
.catalog-request-all:disabled{ opacity:0.55; cursor:progress; }
.catalog-pdf-status{ margin-top:12px; font-size:0.82rem; color:var(--ink-muted); }
.catalog-pdf-status.is-error{ color:#e2a6a6; }

/* Off-screen surface where the PDF pages are assembled before capture —
   positioned far outside the viewport (not display:none) so html2canvas
   can actually render it, but invisible and non-interactive to visitors. */
.catalog-pdf-render{ position:absolute; top:0; left:-99999px; width:800px; pointer-events:none; }

.catalog-grid{ margin-top:8px; }
.catalog-card{ display:flex; flex-direction:column; }
.catalog-card-link{ display:block; color:inherit; text-decoration:none; }
.catalog-code{
  display:inline-block; font-family:var(--font-label); font-size:0.66rem; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--gold); border:1px solid var(--line); border-radius:14px;
  padding:4px 10px; margin-bottom:10px;
}
.catalog-card-request{
  margin-top:18px; text-align:center; text-decoration:none; font-size:0.8rem;
}

@media(max-width:640px){
  .catalog-request-all{ width:100%; text-align:center; }
}

/* ---------- PDF builder micro-modal (2-step: preference, then name) ---------- */
.pdf-builder-box{ text-align:center; }
.pdf-builder-step.hidden{ display:none; }
.pdf-builder-sub{ margin-top:6px; }
.pdf-builder-options{
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:22px;
}
.pdf-builder-option{
  background:rgba(255,255,255,0.04); border:1px solid var(--line); border-radius:20px;
  padding:10px 20px; color:var(--ink); font-family:var(--font-body); font-size:0.88rem;
  cursor:pointer; transition:border-color .25s ease, background .25s ease, color .25s ease;
}
.pdf-builder-option:hover{ border-color:var(--gold); }
.pdf-builder-option.active{
  border-color:var(--gold); background:rgba(212,175,55,0.14); color:var(--gold-light);
}
.pdf-builder-next{ margin-top:26px; width:100%; }
.pdf-builder-actions{ display:flex; gap:12px; margin-top:20px; }
.pdf-builder-actions .btn{ flex:1; margin-top:0; }
#pdfBuilderStep2 label{ text-align:start; }
#pdfBuilderStep2 input[type="text"]{ text-align:start; }
