.catalog-heading{padding-block:50px 32px}.catalog-heading h1{font-size:36px}.catalog-heading>p{margin-top:16px;font-size:15px;line-height:1.9}.catalog-list{padding-bottom:70px}
.catalog-card { display: grid; grid-template-columns: 38% 1fr auto; align-items: center; gap: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
.catalog-cover{display:grid;place-items:center;background:var(--surface-soft);height:100%;min-height:340px}.catalog-cover img{width:100%;height:360px;object-fit:contain}.catalog-product{padding-block:30px}.catalog-brand,.catalog-model{font-size:12px}.catalog-product h2{font-size:29px;margin-top:7px}.catalog-model{margin-top:7px}.catalog-description{font-size:14px;margin:22px 0}.catalog-byline{font-size:12px;margin-top:17px}.catalog-qr{padding:25px 30px 25px 0;text-align:center}.catalog-qr img{width:132px;height:132px;border:1px solid var(--line);border-radius:5px}.catalog-qr strong{display:block;font-size:13px;font-weight:500;margin-top:10px}.catalog-qr p{font-size:12px;margin-top:3px}.catalog-note{font-size:12px;margin-top:18px}.catalog-source{font-size:12px;color:var(--muted);margin-top:12px}.catalog-source summary{cursor:pointer;min-height:44px}.catalog-source p{max-width:760px;line-height:1.9}.catalog-source a{text-decoration:underline}
@media(max-width:1000px){.catalog-card{grid-template-columns:34% 1fr auto;gap:20px}.catalog-qr{padding-right:20px}.catalog-qr img{width:110px;height:110px}.catalog-product h2{font-size:25px}.catalog-description{max-width:240px}.catalog-cover{min-height:320px}}
@media(max-width:760px){.catalog-card{grid-template-columns:1fr 1fr;gap:0 20px}.catalog-cover{grid-column:1/-1;min-height:0;max-height:290px}.catalog-cover img{max-height:290px;object-fit:contain}.catalog-product{padding:25px}.catalog-qr{justify-self:end;padding-right:25px}.catalog-product h2{white-space:nowrap}}
@media(max-width:600px){.catalog-heading{padding-block:30px 24px}.catalog-heading h1{font-size:30px}.catalog-heading>p{font-size:14px}.catalog-heading br{display:none}.catalog-card{grid-template-columns:minmax(0,1fr) 110px;gap:0}.catalog-cover{max-height:240px}.catalog-cover img{max-height:240px}.catalog-product{padding:22px 0 24px 20px}.catalog-product h2{font-size:22px}.catalog-description{font-size:13px;margin:16px 0;max-width:210px}.catalog-qr{padding:0 12px 0 8px}.catalog-qr img{width:90px;height:90px}.catalog-qr strong{font-size:11px}.catalog-qr p{font-size:10px}.catalog-model,.catalog-byline{font-size:11px}.catalog-list{padding-bottom:40px}.catalog-note{font-size:11px}}
@media(max-width:360px){.catalog-card{grid-template-columns:1fr}.catalog-product{padding-right:20px}.catalog-product h2{white-space:normal}.catalog-qr{justify-self:start;display:flex;align-items:center;gap:12px;padding:0 20px 20px}.catalog-qr p{display:none}.catalog-qr strong{margin:0}}
/* A growing collection: compact product cards, market filters and visible category anchors. */

.catalog-toolbar { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.catalog-market-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }

.catalog-market-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; }

.catalog-market-tabs button:hover { background: var(--surface-soft); color: var(--ink); }

.catalog-market-tabs button[aria-pressed="true"] { background: var(--surface-brand); color: var(--brand-strong); font-weight: 600; }

.catalog-market-tabs button span { font-size: 12px; color: inherit; opacity: .78; font-variant-numeric: tabular-nums; }

.catalog-categories { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.catalog-categories a { display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius-control); font-size: 14px; color: var(--muted); }

.catalog-categories a:hover { background: var(--surface-brand); border-color: var(--line-strong); color: var(--brand-strong); }

.catalog-categories span { color: var(--text-subtle); font-size: 12px; font-variant-numeric: tabular-nums; }
.catalog-group{scroll-margin-top:20px;margin-bottom:40px}.catalog-group>h2{font-size:23px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:20px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.catalog-grid .catalog-card{display:flex;flex-direction:column;gap:0;align-items:stretch}.catalog-grid .catalog-cover{height:210px;min-height:0;max-height:none;position:relative}.catalog-grid .catalog-cover img{height:210px;max-height:none;object-fit:contain}
.catalog-kind { position: absolute; top: 12px; left: 12px; font-size: 12px; color: var(--muted); background: var(--white); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.catalog-kind.is-placeholder { border-style: dashed; border-color: var(--line-strong); color: var(--text-subtle); }
.catalog-card.is-placeholder { background: var(--paper); border-style: dashed; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.catalog-badges { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.catalog-market-tag { font-size: 11px; color: var(--brand-strong); background: var(--surface-brand); padding: 2px 8px; border-radius: 6px; font-weight: 550; }
.catalog-lang-tag { font-size: 11px; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line-strong); padding: 1px 7px; border-radius: 6px; font-weight: 600; }
.catalog-lang-tag:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--surface-brand); }

.catalog-grid .catalog-product { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.catalog-product h3{font-size:21px;margin-top:7px;letter-spacing:-.025em}
.catalog-grid .catalog-description { max-width: none; margin: 16px 0 24px; font-size: 14px; line-height: 1.8; min-height: 50px; }
.catalog-access{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.catalog-access .button { min-height: 44px; padding: 10px 16px; gap: 12px; font-size: 14px; }
.catalog-grid .catalog-qr{padding:0;display:block;text-align:center;flex-shrink:0}.catalog-grid .catalog-qr img{width:78px;height:78px}.catalog-qr span{display:block;font-size:10px;color:var(--muted);margin-top:4px}
.catalog-grid .catalog-byline { font-size: 12px; margin-top: 12px; }

.catalog-grid .catalog-model { font-size: 12px; min-height: 20px; }

@media(max-width:1050px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.catalog-grid{grid-template-columns:1fr;gap:20px}.catalog-grid .catalog-cover,.catalog-grid .catalog-cover img{height:210px}.catalog-grid .catalog-product{padding:20px}.catalog-product h3{font-size:22px}.catalog-grid .catalog-description{min-height:0}.catalog-group>h2{font-size:21px}.catalog-grid .catalog-qr img{width:90px;height:90px}.catalog-heading{padding-bottom:30px}.catalog-market-tabs{width:100%}.catalog-market-tabs button{flex:1 1 auto;justify-content:center;padding-inline:12px;font-size:13px}}
.catalog-card:hover, .catalog-card:focus-within { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.catalog-product h3 a:hover { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 4px; }
/* The homepage shows one action; the complete reader opens from its own link. */

.hero-preview { min-width: 0; width: 100%; align-self: center; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); box-shadow: none; }


.hero-preview-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 8px 12px; background: var(--white); border-radius: var(--radius-card) var(--radius-card) 0 0; }


.hero-preview-tabs button { min-height: 44px; border: 0; border-radius: var(--radius-control); background: transparent; color: var(--muted); font-size: 14px; }


.hero-preview-tabs button:hover { background: var(--neutral-100); color: var(--ink); }


.hero-preview-tabs button[aria-pressed="true"] { background: var(--surface-brand); color: var(--brand-strong); box-shadow: none; font-weight: 600; }

.hero-preview-tabs button:focus-visible { outline-offset: -3px; }
.hero-preview-tabs button[aria-pressed="true"]:focus-visible { outline-color: var(--focus-ring); }

.hero-preview-stage { position: relative; height: clamp(260px, 23vw, 336px); overflow: hidden; border: 0; background: var(--surface-soft); }

.hero-preview-stage > img, .hero-preview-stage > [data-preview-scene] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-preview-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.hero-preview-stage canvas:active { cursor: grabbing; }
.hero-preview-stage :is(.foot-callouts, .assembly-labels) { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-preview-stage :is(.foot-callouts, .assembly-labels) path, .hero-preview-stage :is(.foot-callouts, .assembly-labels) line { fill: none; stroke: var(--brand); stroke-width: 1.4; }
.hero-preview-stage :is(.foot-callouts, .assembly-labels) circle { fill: var(--brand); }
.hero-preview-stage :is(.foot-callouts, .assembly-labels) rect { fill: var(--white); stroke: var(--line-strong); }
.hero-preview-stage :is(.foot-callouts, .assembly-labels) text { fill: var(--brand); font-size: 12px; }

.hero-preview-caption { padding: 16px 20px 0; color: var(--ink); font-size: 16px; font-weight: 600; }


.hero-preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 4px 12px 12px; font-size: 13px; }


.hero-preview-actions button, .hero-preview-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 8px; border-radius: 6px; color: var(--muted); font-weight: 500; }

.hero-preview-actions button { min-width: 44px; border: 0; background: none; }
.hero-preview-actions > span { font-size: 12px; color: var(--muted); }
.hero-preview-actions a { gap: 6px; margin-left: auto; color: var(--brand); font-weight: 550; }
.hero-preview-actions :is(a, button):hover { background: var(--surface-soft); color: var(--brand-strong); }
.hero-preview-actions :is(a, button):active { background: var(--surface-active); }
.hero-preview-actions svg { width: 16px; height: 16px; }
@media (max-width: 800px) {
  .hero-preview-stage { height: clamp(200px, 53vw, 315px); }
}
@media (max-width: 600px) {
  .hero-preview-tabs { padding: 4px; }
  .hero-preview-tabs button { font-size: 13px; }
  .hero-preview-actions { gap: 0 4px; padding: 4px 4px 8px; }
  .hero-preview-caption { padding: 12px 12px 0; font-size: 16px; }
}
