/* Detail-only refinements; the catalog layout lives in site.css. */
.detail-page .rich-module p{max-width:72ch;white-space:normal}
.detail-page .rich-module img{display:block;max-width:100%;max-height:480px;object-fit:contain}
.detail-page .detail-related a{min-width:0;color:inherit;text-decoration:none}
.detail-page .detail-related h3,.detail-page .detail-related bdi{overflow-wrap:anywhere}
@media(max-width:767px){.detail-page .detail-related{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
.spec-sample-intro{color:var(--muted);margin:0 0 24px;max-width:72ch}
.spec-sample .sample-drawing{background:#fff;color:#102c4c;min-width:0}
.spec-sample .sample-drawing figcaption{display:grid;gap:6px;color:#526477}
.spec-sample .sample-drawing figcaption strong{color:#102c4c}
.spec-sample .sample-table{width:100%;table-layout:fixed;margin:0 0 20px}
.spec-sample .sample-table th{width:70%;overflow-wrap:anywhere}
.spec-sample .sample-table td{font-variant-numeric:tabular-nums}
.spec-sample .sample-pending{color:var(--muted);font-weight:400}
@media(min-width:768px){.spec-sample.has-drawing{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
.detail-gallery{position:relative;min-width:0}
.detail-page .identity-list{background:transparent;border:0;border-radius:0;margin:24px 0}
.detail-page .identity-list>div{background:transparent;border-bottom:1px solid var(--border);padding:14px 0}
.detail-page .identity-list dt{color:var(--muted);font-weight:400}
.detail-page .identity-list dd{font-weight:600}
.core-summary{padding:20px 0;border-top:1px solid var(--border);margin:0 0 20px}
.core-summary-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:15px;color:var(--ink);font-weight:600}
.core-summary a{color:var(--primary);font-size:13px;font-weight:400}
.core-dimensions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr);gap:18px;margin:20px 0 0}
.core-dimensions>div{min-width:0}
.core-dimensions dt{font-size:15px;line-height:1.5;color:var(--muted);font-weight:500;margin-bottom:6px}
.core-dimensions dd{margin:0;font-size:21px;line-height:1.5;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.number-values{overflow-wrap:anywhere;min-width:0;text-align:start}
.number-table table{width:100%;table-layout:fixed}
.number-table th:first-child{width:24%;min-width:0}
.application-subheading{font-size:17px;margin:28px 0 14px;color:var(--ink)}
@media(max-width:767px){.core-dimensions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.core-dimensions>div:last-child{grid-column:1/-1}.core-dimensions dd{font-size:20px}.number-table th:first-child{width:34%}}
.stage-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:40px;height:48px;border:1px solid var(--border);border-radius:6px;background:rgba(255,255,255,.94);color:#102c4c;cursor:pointer;display:grid;place-items:center}
.stage-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7}
.stage-prev{left:12px}.stage-next{right:12px}
@media (hover:hover) and (pointer:fine){.stage-arrow:hover{background:#edf4ff;color:#075bc7}}
.gallery-count{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);z-index:4;background:#fff;color:#526477;padding:4px 10px;border-radius:4px;font-size:12px;pointer-events:none}
.zoom-lens{position:absolute;border:1px solid #075bc7;background:rgba(7,91,199,.08);pointer-events:none;z-index:3}
.gallery-zoom-panel{position:absolute;inset-inline-start:calc(100% + 28px);top:0;width:100%;aspect-ratio:4/3;z-index:12;border:1px solid var(--border);background-color:#fff;background-repeat:no-repeat;pointer-events:none}
.gallery-zoom-panel[hidden],.zoom-lens[hidden]{display:none}
@media(hover:hover) and (pointer:fine) and (min-width:1024px){.detail-page .gallery-open{display:none}.gallery-stage>img{cursor:crosshair}}
@media(max-width:1023px){.gallery-zoom-panel,.zoom-lens{display:none!important}}

/* One continuous specification table, aligned with the adjacent drawing. */
.spec-sample .compact-spec-table{margin:0;border-collapse:collapse;font-size:16px}
.spec-sample .compact-spec-table .spec-group-column{width:20%}
.spec-sample .compact-spec-table .spec-name-column{width:53%}
.spec-sample .compact-spec-table .spec-value-column{width:27%}
.spec-sample .compact-spec-table th,.spec-sample .compact-spec-table td{width:auto;padding:8px 14px;border:1px solid var(--border);line-height:1.5;vertical-align:middle}
.spec-sample .compact-spec-table thead th{background:var(--canvas);font-weight:600;text-align:start}
.spec-sample .compact-spec-table .spec-group-cell{background:var(--canvas);font-weight:600;text-align:center}
.spec-sample .sample-drawing{margin-top:0}

.gallery-lightbox{padding:48px 16px 12px;background:#fff;color:#102c4c}
.lightbox-stage{position:relative}
.lightbox-arrow,.lightbox-close{display:grid;place-items:center;position:absolute;width:48px;height:48px;border:0;background:rgba(255,255,255,.9);color:#102c4c;cursor:pointer;z-index:2;border-radius:4px}
.lightbox-arrow{top:50%;transform:translateY(-50%)}
.lightbox-prev{left:4px}.lightbox-next{right:4px}
.lightbox-close{right:8px;top:0}
.lightbox-arrow svg{width:32px;height:32px}.lightbox-close svg{width:24px;height:24px}
.lightbox-arrow svg,.lightbox-close svg{fill:none;stroke:currentColor;stroke-width:1.7}
@media (hover:hover) and (pointer:fine){.lightbox-arrow:hover, .lightbox-close:hover{background:#edf4ff;color:#075bc7}}
.lightbox-arrow[hidden]{display:none}
.gallery-lightbox>p{text-align:center;margin:12px 0 0;font-size:13px}

.drawing-view-labels{display:grid;grid-template-columns:2fr 1fr;gap:16px;direction:ltr;margin:0 0 14px;color:#526477;font-size:11px;text-align:center;overflow-wrap:anywhere}
[dir="rtl"] .drawing-view-labels span{direction:rtl}

.spec-layout.has-drawing{direction:ltr}
[dir="rtl"] .spec-layout.has-drawing>figure,[dir="rtl"] .spec-layout.has-drawing>.spec-values{direction:rtl}

@media(max-width:767px){.spec-sample .compact-spec-table{font-size:15px}.spec-sample .compact-spec-table th,.spec-sample .compact-spec-table td{padding:7px 6px;hyphens:auto}.spec-sample .compact-spec-table .spec-group-column{width:22%}.spec-sample .compact-spec-table .spec-name-column{width:52%}.spec-sample .compact-spec-table .spec-value-column{width:26%}.spec-sample .dimension-key{width:18px;height:18px;margin-inline-end:4px;font-size:11px}}

/* The directory stays beside the product; compact screens keep an anchor strip. */
.detail-content{min-width:0}
.detail-content [id]{scroll-margin-top:var(--detail-section-offset,96px)}
.detail-directory{display:none}
.detail-page [data-detail-navigation] a[aria-current="location"]{color:var(--primary);background:var(--primary-soft)}
.detail-page .detail-mobile-nav{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain}
.detail-mobile-nav a{white-space:nowrap;flex-shrink:0}
@media(min-width:1100px){
 .detail-page{padding-bottom:0}
 .detail-layout{display:grid;grid-template-columns:152px minmax(0,1fr);gap:32px;direction:ltr;align-items:start}
 .detail-content{padding-bottom:var(--detail-directory-tail,96px)}
 .detail-directory{display:block;position:sticky;top:var(--detail-directory-top,96px);align-self:start;max-height:calc(100dvh - var(--detail-directory-top,96px) - 24px);overflow-y:auto;border-right:1px solid var(--border);padding-right:16px}
 .detail-directory nav{display:flex;flex-direction:column;gap:4px}
 .directory-title{margin:0 0 12px;padding:0 12px;color:var(--muted);font-size:13px;font-weight:600}
 .detail-directory a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:6px;color:var(--text);font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
 @media (hover:hover) and (pointer:fine){.detail-directory a:hover{color:var(--primary);background:var(--primary-soft)}}
 .detail-page .detail-mobile-nav{display:none}
 [dir="rtl"] .detail-directory,[dir="rtl"] .detail-content{direction:rtl}
}
@media(min-width:1100px) and (max-width:1319px){.detail-layout{gap:24px;grid-template-columns:140px minmax(0,1fr)}}
@media print{.detail-directory,.detail-mobile-nav{display:none!important}.detail-layout{display:block}}
