/* Compact catalogue navigation and document viewer on smaller screens. */
@media (max-width:900px) {
  .top .nav { height:auto; min-height:64px; gap:12px; padding:8px 16px; }
  .top .logocrop { width:clamp(140px,52vw,220px); height:auto; aspect-ratio:250/62; flex:0 1 auto; min-width:0; }
  .top .logocrop img { width:100%; top:50%; left:0; transform:translateY(-50%); }
  .top .menu { display:flex; align-items:center; justify-content:flex-end; flex:0 1 96px; min-width:0; min-height:44px; line-height:1.25; text-align:right; }
}
@media (max-width:760px), (max-height:500px) {
  #viewer { width:calc(100% - 16px); height:calc(100vh - 16px); height:calc(100dvh - 16px); max-height:calc(100dvh - 16px); }
  #viewer .viewer-header { padding:12px; gap:8px; }
  #viewer .viewer-header h2 { font-size:18px; line-height:1.25; margin:0; flex:1 1 100%; overflow-wrap:anywhere; }
  #viewer .controls { gap:8px; flex-wrap:nowrap; }
  #viewer .controls button { font-size:14px; min-height:44px; padding:8px 12px; }
  #viewer .viewport { padding:8px; }
  #viewer .hint { font-size:12px; line-height:1.4; padding:6px 12px 8px; }
}
@media (max-height:500px) and (orientation:landscape) {
  .top { position:static; }
  .top .nav { min-height:52px; padding-top:4px; padding-bottom:4px; }
  .top .logocrop { width:180px; height:auto; aspect-ratio:250/62; }
  .top .logocrop img { width:100%; top:50%; transform:translateY(-50%); }
  #viewer .viewer-header { padding:8px 12px; }
  #viewer .viewer-header h2 { flex:1 1 220px; font-size:16px; }
  #viewer .hint { padding-top:4px; padding-bottom:4px; }
}

/* Product overview: purchase first, optional details below. */
.product-page .subhero{padding:32px 0 24px}
.product-page .subhero h1{font-size:clamp(30px,4vw,48px);margin:12px 0;line-height:1.12}
.product-page .subhero p{font-size:17px;line-height:1.45;margin:12px 0}
.product-purchase{margin-top:18px}
.product-purchase>.wrap{padding:0;max-width:none}
.product-purchase .mini{font-size:13px;line-height:1.4;max-width:660px}
.product-details{padding:20px 0 40px}
.product-details details{background:white;border:1px solid #dce6f1;border-radius:12px;overflow:hidden}
.product-details summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:18px 20px;min-height:56px;cursor:pointer;font-weight:800;color:#0f2742}
.product-details summary::-webkit-details-marker{display:none}
.product-details summary:after{content:'';width:9px;height:9px;border-right:2px solid #2563eb;border-bottom:2px solid #2563eb;transform:rotate(45deg);flex:none;margin:0 4px 5px}
.product-details details[open]>summary:after{transform:rotate(225deg);margin-bottom:0}
.product-details summary:focus-visible{outline:3px solid #2563eb;outline-offset:-4px}
.product-detail-content{padding:0 20px 22px;border-top:1px solid #dce6f1}
.product-detail-content .doc-grid,.product-detail-content .catalogue-grid{margin-top:22px}
.product-detail-content .callout{padding:12px 16px}
@media(max-width:600px){.product-page .subhero{padding:22px 0 18px}.product-page .subhero h1{font-size:30px}.product-page .subhero p{font-size:16px}.product-purchase{margin-top:14px}.product-details{padding:16px 0 28px}.product-details summary{padding:15px 16px}.product-detail-content{padding:0 16px 18px}}
