/* Own product media and form content within the accepted gates composition. */
.bl-fasteners-route .fasteners-illustration-stage .hsb-action-poster { display:block; }
.bl-fasteners-route .hsb-media-footer { min-height:48px; }
.bl-fasteners-route .hsb-action .hsb-media-caption { font-size:.98cqw; letter-spacing:.07em; }
.bl-fasteners-route [data-fasteners-form] { scroll-margin-top:var(--hs-main-header-offset,224px); }
.bl-fasteners-route .hsb-calculation .fasteners-form fieldset { border:0; min-width:0; padding:0; margin:0; }
.bl-fasteners-route .hsb-calculation .fasteners-form .hsb-field { min-width:0; }
.bl-fasteners-route .hsb-calculation .fasteners-form textarea { width:100%; min-height:3.6cqw; padding:.65cqw 1.3cqw; border:0; border-radius:1.15cqw; background:#eff1f4; color:#112137; font:inherit; font-size:1.03cqw; line-height:1.4; box-shadow:inset 0 0 0 1px #dce2e98c; resize:vertical; }
.bl-fasteners-route .hsb-calculation .fasteners-form .hsb-form-row { align-items:start; }
.bl-fasteners-route .hsb-field-error:empty { display:none; }
.bl-fasteners-route .hsb-field-error { display:block; }
.bl-fasteners-route .hsb-calculation .hsb-calculation-scene { height:100%; overflow:hidden; }
.bl-fasteners-route .hsb-calculation-scene img { height:auto !important; object-fit:initial; object-position:center top; }
@media(min-width:1400px) {
 .bl-fasteners-route .hsb-calculation-art { height:37.2cqw; }
}
.bl-fasteners-route .hsb-calculation .hsb-cost-factors .hsb-notes { gap:2cqw; }
.bl-fasteners-route .hsb-calculation .hsb-cost-factors .hsb-notes li:not(:last-child)::after { right:-1.1cqw; }
.bl-fasteners-route .fasteners-prepared { max-width:1050px; margin:28px auto 0; padding:30px; border-radius:24px; background:#fff; color:#162233; box-shadow:0 12px 32px #23394c14; }
.bl-fasteners-route .fasteners-prepared > p:first-child { font-size:20px; font-weight:600; margin-bottom:20px; }
.bl-fasteners-route .fasteners-prepared label { display:block; font-size:15px; margin-bottom:8px; }
.bl-fasteners-route .fasteners-prepared textarea { width:100%; padding:18px; border:0; border-radius:16px; background:#eff1f4; color:#162233; font:inherit; font-size:16px; resize:vertical; }
.bl-fasteners-route .fasteners-prepared-actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; margin-top:20px; }
.bl-fasteners-route .fasteners-prepared-actions button { background:transparent; border:0; }
.bl-fasteners-route .fasteners-prepared [data-fasteners-copy-status] { margin-top:16px; }
.bl-fasteners-route .hsb-quick-photo img { position:absolute; inset:0; width:100%; height:100% !important; object-fit:contain; transform:none; }
.bl-fasteners-route .hsb-quick-specs :is(th,td) { overflow-wrap:anywhere; }
.bl-fasteners-route [data-fasteners-usage], .bl-fasteners-route [data-fasteners-equipment-description] { white-space:pre-line; }
.bl-fasteners-route .hsb-quick-tabs { flex:none; }
.bl-fasteners-route .hsb-quick-intro h2 { font-size:32px; overflow-wrap:normal; }
.bl-fasteners-route .hsb-support-footer > a { overflow-wrap:anywhere; }
/* Existing styled select component reused for every form select. */
.bl-fasteners-route .hsb-condition-select { position:relative; min-width:0; }
.bl-fasteners-route .hsb-condition-trigger { min-width:0; }
.bl-fasteners-route .hsb-condition-trigger > span:first-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bl-fasteners-route .hsb-condition-menu { position:absolute; z-index:20; top:calc(100% + 7px); left:0; right:0; max-height:260px; overflow:auto; padding:7px; border-radius:16px; background:#fff; box-shadow:0 16px 40px #172e3c30,0 0 0 1px #dae2df; }
.bl-fasteners-route .hsb-condition-menu button { display:block; width:100%; padding:11px 12px; border:0; border-radius:10px; text-align:left; font:inherit; font-size:15px; line-height:1.4; color:#203a30; background:transparent; overflow-wrap:anywhere; }
.bl-fasteners-route .hsb-condition-menu button:hover, .bl-fasteners-route .hsb-condition-menu button:focus-visible { background:#e8f4ec; outline:2px solid #087a43; outline-offset:-2px; }
.bl-fasteners-route .hsb-condition-menu button[aria-selected="true"] { color:#05653a; background:#e5f4e9; font-weight:650; }
.bl-fasteners-route .hsb-condition-select select { display:none; }
/* Photo-only adaptation of the accepted gates gallery drawer. */
.fasteners-gallery-dialog { position:fixed; inset:0 0 0 auto; width:clamp(760px,66vw,1280px); max-width:100%!important; height:100dvh; max-height:100dvh; margin:0; padding:0; border:0; border-radius:0; background:#fff; color:#0e1930; overflow:hidden; box-shadow:-18px 0 60px #13233321; font:16px/1.4 "Segoe UI",system-ui,sans-serif; box-sizing:border-box; }
.fasteners-gallery-dialog::backdrop { background:#162233a6; }
.fasteners-gallery-dialog[open] { animation:fasteners-gallery-enter .34s cubic-bezier(.2,.7,.2,1) both; }
.fasteners-gallery-dialog.is-closing { animation:fasteners-gallery-exit .3s ease both; }
@keyframes fasteners-gallery-enter { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes fasteners-gallery-exit { from { transform:translateX(0); } to { transform:translateX(100%); } }
html:has(.fasteners-gallery-dialog[open], .hsb-quick-detail[open], .hsb-support-drawer[open], #hsb-calculator-dialog[open]) { overflow:hidden; }
.fasteners-gallery-shell { height:100%; display:flex; flex-direction:column; min-height:0; }
.fasteners-gallery-header { position:relative; flex:none; display:grid; gap:12px; padding:34px 76px 22px 52px; }
.fasteners-gallery-eyebrow { margin:0; color:#8c8999; font-size:11px; letter-spacing:.32em; font-weight:700; text-transform:uppercase; }
.fasteners-gallery-header h2 { margin:0; font-size:clamp(32px,2.85vw,50px); line-height:1.12; letter-spacing:-.04em; font-weight:700; }
.fasteners-gallery-close { position:absolute; top:25px; right:24px; width:44px; height:44px; padding:10px; border:0; background:transparent; cursor:pointer; }
.fasteners-gallery-close img { display:block; width:24px; height:24px; }
.fasteners-gallery-content { flex:1; min-height:0; overflow:hidden; }
.fasteners-gallery-dialog [hidden] { display:none!important; }
.fasteners-gallery-rail { height:100%; display:flex; gap:32px; padding:4px 52px; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-left:52px; scrollbar-width:none; }
.fasteners-gallery-rail::-webkit-scrollbar { display:none; }
.fasteners-gallery-rail::after { content:""; flex:0 0 calc(28% - 32px); }
.fasteners-gallery-slide { flex:0 0 72%; height:100%; margin:0; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; }
.fasteners-gallery-frame { height:100%; width:100%; background:#f4f5f3; overflow:hidden; border-radius:3px; }
.fasteners-gallery-frame > img { display:block; width:100%; height:100%!important; max-width:none!important; object-fit:contain; }
.fasteners-gallery-footer { flex:none; display:grid; grid-template-columns:48px minmax(0,1fr) 48px auto; align-items:center; gap:24px; padding:24px 52px 32px; }
.fasteners-gallery-arrow { display:grid; place-items:center; width:48px; height:48px; border:1px solid #cfddd3; padding:8px; border-radius:50%; color:#087a43; background:#edf4ef; cursor:pointer; }
.fasteners-gallery-arrow img { display:block; width:24px; height:24px; }
.fasteners-gallery-arrow:disabled { opacity:.35; cursor:default; }
.fasteners-gallery-arrow:not(:disabled):hover { background:#dfece4; }
.fasteners-gallery-arrow[data-fasteners-next]:not(:disabled) { background:linear-gradient(135deg,#159861,#056338); border-color:#087a43; }
.fasteners-gallery-arrow[data-fasteners-next]:not(:disabled) img { filter:brightness(0) invert(1); }
.fasteners-gallery-caption { min-width:0; }
.fasteners-gallery-caption p { margin:0 0 5px; font-size:18px; font-weight:600; line-height:1.35; }
.fasteners-gallery-caption span { font-size:17px; color:#8490a5; font-variant-numeric:tabular-nums; }
.fasteners-gallery-all { display:flex; align-items:center; justify-content:center; gap:16px; min-height:48px; padding:8px 0 8px 32px; border:0; border-left:1px solid #dce1e7; background:transparent; color:#087a43; font:600 18px/1.4 "Segoe UI",system-ui,sans-serif; cursor:pointer; white-space:nowrap; }
.fasteners-gallery-all img { width:26px; height:26px; filter:invert(31%) sepia(99%) saturate(610%) hue-rotate(108deg) brightness(85%) contrast(96%); }
.fasteners-gallery-overview { height:100%; overflow:auto; overscroll-behavior:contain; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-content:start; padding:4px 52px 24px; }
.fasteners-gallery-overview button { display:flex; flex-direction:column; gap:12px; padding:0; border:0; background:transparent; text-align:left; font:inherit; color:#0e1930; cursor:pointer; }
.fasteners-gallery-overview img { display:block; width:100%; height:220px!important; object-fit:contain; background:#f4f5f3; border-radius:3px; }
.fasteners-gallery-overview span { font-size:15px; line-height:1.4; }
.fasteners-gallery-dialog :focus-visible { outline:2px solid #087a43; outline-offset:3px; }
.fasteners-gallery-rail:focus-visible { outline-offset:-3px; }
@media(max-width:900px) {
 .fasteners-gallery-dialog { width:100%; }
 .fasteners-gallery-header { padding:28px 76px 20px 28px; }
 .fasteners-gallery-header h2 { font-size:36px; }
 .fasteners-gallery-rail { padding-left:28px; padding-right:28px; scroll-padding-left:28px; gap:24px; }
 .fasteners-gallery-footer { padding:20px 28px 24px; gap:16px; }
 .fasteners-gallery-overview { padding:4px 28px 20px; gap:20px; }
}
@media(max-width:600px) {
 .fasteners-gallery-header { padding:24px 60px 16px 20px; gap:14px; }
 .fasteners-gallery-header h2 { font-size:30px; }
 .fasteners-gallery-close { top:12px; right:10px; }
 .fasteners-gallery-eyebrow { font-size:10px; letter-spacing:.22em; }
 .fasteners-gallery-rail { padding-left:20px; padding-right:20px; scroll-padding-left:20px; gap:16px; }
 .fasteners-gallery-slide { flex-basis:88%; }
 .fasteners-gallery-rail::after { flex-basis:calc(12% - 16px); }
 .fasteners-gallery-footer { grid-template-columns:44px minmax(0,1fr) 44px; gap:8px 12px; padding:16px 20px 20px; }
 .fasteners-gallery-arrow { width:44px; height:44px; }
 .fasteners-gallery-caption p { font-size:14px; }
 .fasteners-gallery-caption span { font-size:14px; }
 .fasteners-gallery-all { grid-column:1/-1; border:0; padding:6px 0 0; min-height:40px; font-size:16px; }
 .fasteners-gallery-overview { grid-template-columns:repeat(2,minmax(0,1fr)); padding:4px 20px 20px; gap:20px 16px; }
 .fasteners-gallery-overview img { height:180px!important; }
 .fasteners-gallery-overview span { font-size:13px; }
}
@media(max-height:600px) and (min-width:601px) {
 .fasteners-gallery-header { padding:12px 60px 12px 20px; gap:6px; }
 .fasteners-gallery-header h2 { font-size:26px; }
 .fasteners-gallery-eyebrow { display:none; }
 .fasteners-gallery-close { top:5px; right:8px; }
 .fasteners-gallery-footer { grid-template-columns:44px minmax(0,1fr) 44px auto; padding:8px 20px max(8px,env(safe-area-inset-bottom)); gap:12px; }
 .fasteners-gallery-caption p { font-size:14px; }
 .fasteners-gallery-caption span { font-size:12px; }
 .fasteners-gallery-all { min-height:44px; padding:4px 8px; font-size:13px; border:0; }
 .fasteners-gallery-slide { flex-basis:64%; }
}
@media(prefers-reduced-motion:reduce) {
 .fasteners-gallery-dialog[open], .fasteners-gallery-dialog.is-closing { animation:none!important; }
}
@media(max-width:1399px) {
 .bl-fasteners-route .hsb-calculation-art > img { top:calc(-24% - 24px); }
 .bl-fasteners-route .hsb-calculation .hsb-dimension-width { bottom:0; }
 .bl-fasteners-route .hsb-calculation .fasteners-form textarea { min-height:70px; padding:12px 15px; border-radius:16px; font-size:16px; }
}
@media(max-width:1199px) {
 .bl-fasteners-route .hsb-action .hsb-media-caption { font-size:14px; }
}
@media(max-width:767px) {
 .bl-fasteners-route .hsb-media-footer { min-height:0; }
 .bl-fasteners-route .hsb-action .hsb-media-caption { font-size:13px; }
 .bl-fasteners-route .hsb-quick-intro h2 { font-size:22px; }
 .bl-fasteners-route .hsb-condition-menu { max-height:230px; }
 .bl-fasteners-route .hsb-condition-menu button { font-size:15px; }
 .bl-fasteners-route .fasteners-prepared { margin:20px 0 0; padding:22px; border-radius:20px; }
 .bl-fasteners-route .fasteners-prepared > p:first-child { font-size:18px; }
 .bl-fasteners-route .fasteners-prepared-actions { gap:18px; }
 .bl-fasteners-route .fasteners-prepared-actions .hsb-button { width:100%; }

}

