.technical-content{padding:60px 5%;max-width:1600px;margin:auto;display:flex;flex-direction:column;gap:26px}
.technical-content h2{font-size:clamp(28px,3vw,44px);margin:24px 0 0}.technical-content h3,.technical-content h4{font-size:25px;margin:15px 0 0}.technical-content p{margin:0 0 14px}.technical-content a:not(.button):hover{color:var(--pulltech-yellow)}
.technical-prose{color:var(--text-secondary);line-height:1.8;overflow-wrap:anywhere}.technical-prose ul{padding-left:24px}.technical-prose li{margin-bottom:10px}.technical-prose a{color:var(--pulltech-yellow);text-decoration:underline}.technical-prose img{max-width:100%;height:auto}
.technical-gallery{display:flex;flex-wrap:wrap;gap:22px;justify-content:center;padding:24px;background:#26324a;border:1px solid var(--surface-border)}
.technical-gallery a{display:flex;align-items:center;justify-content:center;flex:1 1 280px;max-width:100%;min-width:0}.technical-gallery img{display:block;max-width:100%;width:auto;max-height:520px;height:auto;object-fit:contain}
.technical-button{align-self:flex-start;max-width:100%;text-align:center}.technical-prose table{width:100%;border-collapse:collapse;font-size:15px}.technical-prose td,.technical-prose th{padding:12px;border:1px solid var(--surface-border)}.technical-prose th{background:#333399;color:#fff}.technical-prose:has(table){overflow-x:auto}
.model-catalog{margin:12px 0 32px}.catalog-controls{display:flex;align-items:end;gap:24px;flex-wrap:wrap;margin-bottom:28px;padding:24px;background:var(--surface-card);border-top:3px solid var(--pulltech-yellow)}
.catalog-controls label{display:flex;flex-direction:column;gap:8px;flex:1;min-width:190px}.catalog-controls input,.catalog-controls select{padding:12px;border:1px solid #64728d;background:var(--surface-deep);color:var(--text-primary,#fff);min-height:48px;width:100%}.catalog-controls input:focus,.catalog-controls select:focus{outline:2px solid var(--pulltech-yellow)}.catalog-controls p{margin:0;padding-bottom:12px;color:var(--text-secondary)}
.model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.model-card{display:flex;flex-direction:column;gap:15px;padding:20px;background:var(--surface-card);border:1px solid var(--surface-border);min-width:0}.model-card[hidden]{display:none}.model-card h2,.model-card h3,.model-card h4{font-size:24px;margin:0;color:var(--pulltech-yellow)}.model-card .technical-gallery{padding:8px;border:0;height:235px;background:#2d3851}.model-card .technical-gallery a{flex-basis:100%;height:100%}.model-card .technical-gallery img{max-height:215px;width:100%;height:100%;object-fit:contain}.model-card .technical-gallery a:not(:first-child){display:none}.model-card .technical-button{align-self:stretch;font-size:13px;min-height:44px;margin:0}.model-card .technical-button:first-of-type{margin-top:auto}.model-card .technical-prose{font-size:14px}.model-card .technical-prose h3{font-size:18px;color:var(--text-secondary)}.model-empty{padding:30px;border:1px solid var(--surface-border)}
@media(max-width:1200px){.model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.technical-content{padding:35px 5%}.model-grid{grid-template-columns:1fr}.technical-gallery{padding:12px}.catalog-controls{padding:18px}.catalog-controls label{min-width:100%}}
.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.family-card{display:flex;flex-direction:column;gap:22px;padding:28px;border:1px solid var(--surface-border);background:var(--surface-card)}.family-card .technical-gallery{height:300px;padding:10px}.family-card .technical-gallery a{height:100%}.family-card .technical-gallery img{height:100%;max-height:280px}.family-card .technical-button{margin-top:auto}.family-card h2{font-size:28px;margin:0}.technical-content>.technical-gallery:first-child a{flex:1 1 220px}.technical-content>.technical-gallery:first-child img{max-height:370px}@media(max-width:750px){.family-grid{grid-template-columns:1fr}.family-card{padding:22px}}
.model-card>h1,.model-card>h2,.model-card>h3,.model-card>h4,.model-card>h5,.model-card>h6{font-family:'Russo One',Kanit,sans-serif;font-size:25px;line-height:1.2;margin:0;color:var(--pulltech-yellow)}
.model-card>.technical-gallery+ :is(h1,h2,h3,h4,h5,h6)+.technical-prose{background:#2d3851;padding:14px;text-align:center}
.model-card>.technical-button~.technical-button{background:transparent;border:1px solid #64728d;color:#f5f5fa}

/* One responsive category entry, with compact, uncropped product thumbnails. */
.winch-family-grid{display:grid;grid-template-columns:1fr;gap:28px;width:100%}
.winch-family-card{display:grid;grid-template-columns:240px minmax(0,1fr);align-items:start;gap:32px;padding:28px;background:var(--surface-card);border:1px solid var(--surface-border);min-width:0}
.winch-thumbnail{display:flex;align-items:center;justify-content:center;width:100%;height:220px}
.winch-thumbnail img{display:block;width:100%;height:100%;max-width:240px;max-height:220px;object-fit:contain}
.winch-family-copy{min-width:0}.winch-family-copy h2{font-size:28px;margin:0 0 20px}.winch-family-copy h2 a{color:var(--text-primary);text-decoration:none}.winch-family-copy p{color:var(--text-secondary);line-height:1.8}.winch-family-copy .button{display:inline-flex;margin-top:10px}
.winch-content .model-card .technical-gallery{height:190px}.winch-content .model-card .technical-gallery img{max-height:170px;max-width:220px}
@media(max-width:700px){.winch-family-card{grid-template-columns:1fr;gap:20px;padding:22px}.winch-thumbnail{max-width:220px;height:190px;margin:auto}.winch-family-copy h2{font-size:24px}.winch-family-copy .button{font-size:14px}}

/* Product codes share centered alignment across all catalog cards. */
.model-card > .technical-gallery + :is(h1,h2,h3,h4,h5,h6){text-align:center;width:100%}

/* Center incomplete rows while keeping the model cards at their standard width. */
.model-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch}
.model-grid>.model-card{flex:0 0 calc((100% - 72px)/4)}
@media(max-width:1200px){.model-grid>.model-card{flex-basis:calc((100% - 48px)/3)}}
@media(max-width:900px){.model-grid>.model-card{flex-basis:calc((100% - 24px)/2)}}
@media(max-width:600px){.model-grid>.model-card{flex-basis:100%}}
.winch-family-card>.compact-family-image{width:240px;max-width:100%;height:220px;padding:0;border:0;background:transparent}
.winch-family-card>.compact-family-image a{height:100%;flex:1 1 100%}
.winch-family-card>.compact-family-image img{width:100%;height:100%;max-height:220px;object-fit:contain}
@media(max-width:700px){.winch-family-card>.compact-family-image{margin:auto}}

/* Product category introductions: image, description and catalog download. */
.catalog-intro{display:grid;grid-template-columns:220px minmax(0,1fr) minmax(220px,.65fr);align-items:center;gap:32px;padding:28px;background:var(--surface-card);border:1px solid var(--surface-border)}
.catalog-intro>.technical-gallery{width:100%;height:240px;max-width:240px;margin:auto;padding:0;border:0;background:transparent}
.catalog-intro>.technical-gallery a{flex:1 1 100%;height:100%}
.catalog-intro>.technical-gallery img{width:100%;height:100%;max-height:240px;object-fit:contain}
.catalog-intro-description{min-width:0}.catalog-intro-description p:last-child{margin-bottom:0}
.catalog-intro-download{min-width:0;padding:28px 22px;text-align:center;background:#333399;border-top:3px solid var(--pulltech-yellow)}
.catalog-intro-download h3{font-size:24px;margin:0 0 18px;text-transform:uppercase;color:var(--text-primary,#fff)}
.catalog-intro-download .technical-prose{color:#f5f5ff}.catalog-intro-download .button{margin-top:12px}
.model-code-link{position:relative;display:inline-block;text-decoration:none;padding-bottom:5px}
.model-code-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:currentColor;transform:scaleX(0);transform-origin:center;transition:transform .25s ease}
.model-code-link:hover::after,.model-code-link:focus-visible::after{transform:scaleX(1)}
@media(max-width:1100px) and (min-width:801px){.catalog-intro{grid-template-columns:170px minmax(0,1fr) 210px;gap:22px;padding:22px}.catalog-intro-download{padding:24px 16px}.catalog-intro-download h3{font-size:21px}}
@media(max-width:800px){.catalog-intro{grid-template-columns:1fr;padding:22px;gap:24px}.catalog-intro>.technical-gallery{height:220px}.catalog-intro-download{width:100%}}
@media(prefers-reduced-motion:reduce){.model-code-link::after{transition:none}}

/* Keep capacity and rope storage together in catalog cards. */
.model-card .model-specifications{background:#2d3851;padding:18px 14px;text-align:center;font-family:Kanit,Arial,sans-serif;font-size:14px;line-height:1.6}
.model-card .model-specifications p,.model-card .model-storage-value{font-family:inherit;font-size:inherit;color:inherit;line-height:inherit}
.model-card .model-specifications .model-capacity-value{font-size:20px;font-weight:700;margin:6px 0 16px;line-height:1.4}
.model-card .model-specifications .model-storage-label{margin:0 0 6px;font-weight:400;text-transform:none}
.model-card .model-storage-value p{margin:0}

/* Product code anatomy: highlighted tokens and a semantic definition list. */
.code-breakdown{padding:28px;background:var(--surface-card);border:1px solid var(--surface-border);border-top:3px solid var(--pulltech-yellow)}
.technical-content .code-caption{display:block;margin:0 0 12px;color:var(--text-secondary);font-size:15px;font-weight:400}
.code-complete{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:26px;font-family:Kanit,Arial,sans-serif;font-size:clamp(24px,3vw,36px);font-weight:700;line-height:1.5}
.code-token{color:var(--pulltech-yellow);padding:2px 6px;background:var(--surface-deep)}
.code-separator{color:var(--text-secondary)}
.code-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:0}
.code-field{padding:18px;background:var(--surface-deep);border-left:3px solid var(--pulltech-yellow);min-width:0}
.code-field dt{font-family:Kanit,Arial,sans-serif;font-size:23px;font-weight:700;color:var(--pulltech-yellow);margin-bottom:8px;overflow-wrap:anywhere}
.code-field dd{margin:0;color:var(--text-secondary);font-size:16px;line-height:1.6}
.code-example{padding:24px;border:1px solid var(--surface-border);background:var(--surface-card)}
.code-example-value{display:block;color:var(--pulltech-yellow);font-size:clamp(20px,2vw,28px);font-weight:700;overflow-wrap:anywhere}
@media(max-width:600px){.code-breakdown{padding:20px}.code-fields{grid-template-columns:1fr}.code-field{display:grid;grid-template-columns:85px 1fr;gap:14px;align-items:center;padding:14px}.code-field dt{margin:0}.code-example{padding:18px}}

/* Shared product actions align with the technical content above. */
.product-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px;width:100%;margin:6px 0}
.product-actions>.button.technical-button{flex:1 1 200px;max-width:340px;align-self:stretch;margin:0;min-height:54px;padding:14px 20px;display:flex;align-items:center;justify-content:center;text-align:center}
@media(max-width:600px){.product-actions{gap:14px}.product-actions>.button.technical-button{flex-basis:100%;max-width:none}}

/* Special projects use a centered, swipeable gallery on every screen size. */
.technical-content>.special-project-carousel{width:100%;max-width:900px;margin:0 auto 18px;min-width:0}
.special-project-carousel>.technical-gallery{display:flex;flex-direction:row;flex-wrap:nowrap;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0;border:0;background:var(--surface-card)}
.special-project-carousel>.technical-gallery>a{flex:0 0 100%;width:100%;min-width:100%;height:420px;scroll-snap-align:start;padding:24px}
.special-project-carousel>.technical-gallery img{width:100%;height:100%;max-height:372px;object-fit:contain}
.special-project-carousel>.gallery-controls{display:flex;justify-content:center;align-items:center;gap:22px;margin-top:14px}
@media(max-width:600px){.special-project-carousel>.technical-gallery>a{height:280px;padding:16px}.special-project-carousel>.technical-gallery img{max-height:248px}}
.technical-content>.supplementary-gallery{gap:16px}.technical-content>.supplementary-gallery a{flex:1 1 140px;height:180px}.technical-content>.supplementary-gallery img{height:100%;max-height:180px;object-fit:contain}
