/* The lifting catalogue: every product on one document, flowing onto as many A4 pages as it needs. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20B9, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/assets/fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@page { size: A4; margin: 12mm 12mm 14mm; }

:root {
  --ink: #1A1820;
  --muted: #5E5B66;
  --rule: #D9D4CB;
  --deep: #621CAD;
  --tint: #F1ECFF;
  --paper: #F6F4EF;
  --violet: #8A16F5;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Archivo", ui-sans-serif, system-ui, sans-serif; background: #E9E6E0; color: var(--ink); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, dl, dd { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.cs-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: #1A1820; color: #F4F2EE; }
.cs-back { color: inherit; font-size: 15px; text-decoration: none; }
.cs-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.cs-actions { display: flex; gap: 8px; }
.cs-print, .cs-csv { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; }
.cs-print { background: var(--violet); color: #FFFFFF; }
.cs-csv { background: transparent; color: #F4F2EE; box-shadow: inset 0 0 0 1.5px rgba(244, 242, 238, .5); }

.cs { width: 100%; max-width: 900px; margin: 0 auto; padding: 12px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 860px) { .cs { padding: 32px 0; gap: 28px; } }

.cs-cover, .cs-cat { background: #FFFFFF; border-radius: 4px; box-shadow: 0 18px 40px -24px rgba(20, 16, 30, .45); }
.cs-cover { position: relative; overflow: hidden; padding: 28px 20px 24px; display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 640px) { .cs-cover { padding: 48px 48px 36px; gap: 22px; } }
.cs-band { position: absolute; inset: 0 0 auto; height: 8px; background: linear-gradient(90deg, #8A16F5 0%, #B831D2 55%, #F958A1 100%); }
.cs-word { height: 30px; width: auto; }
.cs-cover h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1; font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.cs-issue { font-size: 14px; color: var(--muted); }
.cs-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .cs-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cs-logo { display: flex; align-items: center; justify-content: center; height: 64px; padding: 10px; border-radius: 12px; border: 1px solid var(--rule); }
.cs-logo .logo { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.cs-toc { display: grid; gap: 0 28px; }
@media (min-width: 640px) { .cs-toc { grid-template-columns: 1fr 1fr; } }
.cs-toc a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 14.5px; }
.cs-toc-name { flex: 1; min-width: 0; }
.cs-code { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--tint); color: var(--deep); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.cs-n { flex: none; font-size: 12.5px; color: var(--muted); }
.cs-small { font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.cs-cat { padding: 20px 16px; display: flex; flex-direction: column; }
@media (min-width: 640px) { .cs-cat { padding: 36px 40px; } }
.cs-cat h2 { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--deep); font-size: 22px; font-weight: 800; font-stretch: 108%; color: var(--deep); }
.cs-cat-name { flex: 1; min-width: 0; }
.cs-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }
@media (min-width: 640px) { .cs-item { grid-template-columns: 112px minmax(0, 1fr); } }
.cs-photo { width: 100%; aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--rule); background: #FFFFFF; overflow: hidden; }
.cs-photo img { width: 100%; height: 100%; object-fit: contain; }
.cs-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cs-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cs-blogo { display: flex; align-items: center; height: 24px; }
.cs-blogo .logo { height: 100%; width: auto; max-width: 110px; object-fit: contain; object-position: left center; }
.cs-doc { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); }
.cs-item h3 { font-size: 17px; line-height: 1.25; font-weight: 750; }
.cs-item h3 a { text-decoration: none; }
.cs-item h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cs-body p { font-size: 13px; line-height: 1.5; color: #46434D; }
.cs-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.cs-specs div { min-width: 0; }
.cs-specs dt { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.cs-specs dd { font-size: 13px; overflow-wrap: anywhere; }
.cs-sizes { grid-column: 1 / -1; }
.cs-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cs-table thead th { padding: 5px 8px; text-align: left; background: var(--paper); font-size: 11px; font-weight: 700; color: var(--muted); }
.cs-table td { padding: 4px 8px; border-top: 1px solid #ECE8E1; overflow-wrap: anywhere; }
.cs-table td.code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); }

@media print {
  body { background: #FFFFFF; }
  .cs-bar { display: none; }
  .cs { max-width: none; padding: 0; gap: 0; }
  .cs-cover, .cs-cat { box-shadow: none; border-radius: 0; padding: 0; }
  .cs-cover { min-height: 260mm; justify-content: center; break-after: page; }
  .cs-cat { break-before: page; }
  .cs-cat h2 { break-after: avoid; }
  .cs-item { grid-template-columns: 30mm minmax(0, 1fr); }
  .cs-table tr { break-inside: avoid; }
  a { text-decoration: none; }
}
