/* WordPress/plugin adapters. Original SHIDA styles and motion remain in static/. */
:where(.sd-site) img{max-width:100%}.sd-site .product-gallery-main img{height:100%}
.sd-product-search{margin:0}.sd-product-search button{padding:0;border:0;background:none;color:inherit;width:20px;height:20px;cursor:pointer}.sd-product-search svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.5}
.sd-pagination{justify-content:flex-end!important}.sd-pagination :is(a,span){min-width:42px;min-height:42px;padding:10px 14px;display:grid;place-items:center;border:1px solid #d5dde2;color:#263843;background:#fff;font-size:14px}.sd-pagination .current,.sd-pagination a:hover{color:white;background:var(--brand-blue);border-color:var(--brand-blue)}
.sd-site .product-detail-top:not(:has(.product-gallery)){grid-template-columns:1fr}.product-gallery:not(:has(.product-gallery-rail)){grid-template-columns:1fr}.product-gallery:not(:has(.product-gallery-rail)) .product-gallery-main{grid-column:1}
.sd-site .product-category-detail:not(:has(.product-category-description)){grid-template-columns:1fr}.sd-site .article-hero:not(:has(.article-hero-media)){grid-template-columns:1fr}
.sd-form{min-width:0}.sd-form .fluentform,.sd-form .ff-default{--fluentform-border-radius:0px;margin:0}
.sd-form .fluentform form.frm-fluent-form{display:flex;flex-direction:column;gap:0;margin:0;padding:0;font-family:inherit;color:inherit;font-size:14px;line-height:normal}
.sd-form .fluentform .ff-el-group{margin:0;padding:0;min-width:0}
.sd-form .fluentform .ff-el-input--label{padding:0;margin:0 0 7px;line-height:normal}
.sd-form .fluentform .ff-el-input--label label{display:block;margin:0;padding:0;border:0;color:#5d6871;font-size:14px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;line-height:normal}
.sd-form .fluentform .ff-el-input--label.ff-el-is-required label:after{color:inherit;margin-left:4px}
.sd-form .fluentform :is(input.ff-el-form-control,select.ff-el-form-control,textarea.ff-el-form-control){display:block;width:100%;height:auto;min-height:0;padding:13px 0;margin:0;border:0;border-bottom:1px solid #bfc7ce;border-radius:0;box-shadow:none;background:transparent;color:var(--ink);font:inherit;font-size:14px;line-height:normal;outline:0;transition:border-color .2s ease}
.sd-form .fluentform textarea.ff-el-form-control{resize:vertical}
.sd-form .fluentform :is(input,textarea)::placeholder{color:#79838e;opacity:1}
.sd-form .fluentform :is(input,select,textarea):focus{border-color:var(--brand-blue);box-shadow:none}
.sd-form .fluentform select.ff-el-form-control{appearance:auto;background-image:none}
.sd-form .fluentform select option{color:#111;background:#fff}
.sd-form .fluentform .ff-btn-submit{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0;border:0;border-radius:0;padding:17px 50px;box-shadow:none;background:var(--brand-red);color:white;font-family:inherit;font-size:14px;font-weight:700;line-height:normal;text-transform:uppercase;letter-spacing:.11em;cursor:pointer}
.sd-form .fluentform .ff-btn-submit .icon{position:absolute;right:22px;width:1em;height:1em}
.sd-form .fluentform .ff-btn-submit:hover{background:var(--brand-red);transform:translateY(-2px)}
.sd-form .fluentform .ff-btn-submit:focus-visible{outline:2px solid var(--brand-blue);outline-offset:4px}
.sd-form .fluentform .ff-btn-submit:disabled{opacity:.65;cursor:wait}
.sd-form .fluentform .ff-el-help-message{margin:6px 0 0;color:#7a858d;font-size:14px;line-height:1.4}
.sd-form .fluentform .error{color:#b81916;font-size:13px;line-height:1.5;margin-top:5px}
.sd-form .fluentform .ff-el-is-error :is(input,select,textarea){border-color:#b81916}
.sd-form .fluentform .sd-form-note{display:block;font-size:14px;line-height:1.6}
.sd-form-modal .fluentform form.frm-fluent-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 26px}
.sd-form :is(.sd-field-wide,.ff_submit_btn_wrapper,.sd-form-note){grid-column:1/-1}
.sd-form-contact .fluentform form.frm-fluent-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 28px}
.sd-form-contact .fluentform .ff-el-input--label{margin-bottom:8px}
.sd-form-contact .fluentform .ff-el-input--label label{color:#52606a}
.sd-form-contact .fluentform :is(input.ff-el-form-control,select.ff-el-form-control,textarea.ff-el-form-control){padding:14px 0;border-color:#aebbc4;color:#111820;font-size:16px}
.sd-form-contact .fluentform .ff-btn-submit{padding:18px 54px;letter-spacing:.12em}
.sd-form-contact .sd-form-note{color:#6b7780}
.sd-form-home .fluentform form.frm-fluent-form{gap:20px}
.sd-form-home .fluentform .ff-el-input--label label{color:white;font-weight:400;letter-spacing:.14em}
.sd-form-home .fluentform :is(input.ff-el-form-control,select.ff-el-form-control,textarea.ff-el-form-control){padding:15px 0;border-color:rgba(255,255,255,.34);color:white;font-size:16px}
.sd-form-home .fluentform :is(input,textarea)::placeholder{color:rgba(255,255,255,.72)}
.sd-form-home .fluentform .ff-btn-submit{padding:18px 54px;letter-spacing:.12em}
.sd-form-home .sd-form-note{color:white}
.sd-form-category .fluentform .ff-el-group:not(.ff_submit_btn_wrapper),.sd-form-product .fluentform .ff-el-group:not(.ff_submit_btn_wrapper){padding:15px 0 10px;border-bottom:1px solid rgba(255,255,255,.26)}
.sd-form-category .fluentform .ff-el-input--label label,.sd-form-product .fluentform .ff-el-input--label label{color:var(--brand-on-dark);letter-spacing:.14em}
.sd-form-category .fluentform .ff-el-input--label,.sd-form-product .fluentform .ff-el-input--label{margin-bottom:8px}
.sd-form-category .fluentform :is(input.ff-el-form-control,select.ff-el-form-control,textarea.ff-el-form-control),.sd-form-product .fluentform :is(input.ff-el-form-control,textarea.ff-el-form-control){padding:4px 0;border:0;color:white}
.sd-form-category .fluentform :is(input,textarea)::placeholder{color:#a59bbd}
.sd-form-product .fluentform .ff-el-group:not(.ff_submit_btn_wrapper){padding:14px 0 9px;border-color:rgba(255,255,255,.22)}
.sd-form-product .fluentform .ff-el-input--label label{letter-spacing:.12em}
.sd-form-product .fluentform :is(input,textarea)::placeholder{color:#8294a0}
.sd-form-category .fluentform .ff-btn-submit,.sd-form-product .fluentform .ff-btn-submit{margin-top:24px;justify-content:space-between;padding:0 18px;letter-spacing:.12em}
.sd-form-product .fluentform .ff-btn-submit{min-height:54px}
.sd-form-category .sd-form-note{margin-top:18px;color:#d1dbee}
.sd-form-category .fluentform .error,.sd-form-home .fluentform .error,.sd-form-product .fluentform .error{color:#ffd6d5}
.sd-form .fluentform .ff_upload_btn{position:relative;display:flex;align-items:center;justify-content:flex-end;width:100%;min-height:52px;padding:0 15px;margin:0;border:1px dashed #aebdc6;border-radius:2px;color:var(--brand-blue);background:#f6f9fa;box-shadow:none;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;line-height:1.2}
.sd-form .fluentform .ff_upload_btn:before{content:'No file attached';margin-right:auto;color:#66727c;font-weight:400}
.sd-form .fluentform .ff-uploaded-list{margin:6px 0 0;padding:0;list-style:none}
.sd-form .fluentform .ff-el-progress{margin-top:8px}
.sd-form .fluentform .ff-uploaded-list:empty{display:none}
.sd-form .ff-message-success{padding:20px;font-size:16px;line-height:1.7}
@media(max-width:620px){.sd-form-modal .fluentform form.frm-fluent-form,.sd-form-contact .fluentform form.frm-fluent-form{grid-template-columns:minmax(0,1fr);gap:18px}}
@media(prefers-reduced-motion:reduce){.sd-form .fluentform .ff-btn-submit:hover{transform:none}}

/* Fluent Forms places every field inside one fieldset. Preserve its semantics while using the site grid. */
.sd-form .fluentform form.frm-fluent-form>fieldset{display:contents}
.sd-form .fluentform .ff_screen_reader_title{position:absolute!important}
.sd-form .fluentform .ff_file_upload_holder{display:block;width:100%}
.sd-form .fluentform .ff-el-group:has(.ff-uploaded-list:not(:empty)) .ff_upload_btn:before{content:"File attached"}

.sd-site .sd-form .fluentform .ff_file_upload_holder .ff_upload_btn.ff-btn{display:flex!important;justify-content:flex-end!important;background:#f6f9fa!important;color:#24427e!important;border:1px dashed #aebdc6!important;padding:0 15px!important;min-height:52px;box-shadow:none!important}
.sd-form .fluentform .sd-field-reference_file .ff-el-tooltip{display:none}

.sd-site .sd-form .fluentform .ff-el-input--label.ff-el-is-required label:after{color:inherit!important}

/* A complete inquiry stays in the page flow. Only pin it when it fits below the header. */
.sd-site :is(.product-inquiry-box,.product-detail-inquiry){position:relative;top:auto;max-height:none;overflow:visible}
@media(min-width:901px){.sd-site :is(.product-inquiry-box,.product-detail-inquiry).sd-inquiry-fits{position:sticky;top:var(--sd-inquiry-offset,104px)}}
.sd-form .fluentform select.ff-el-form-control{min-width:0;max-width:100%;text-overflow:ellipsis}
/* Expanded mobile submenus must start at the top instead of centering past the scroll boundary. */
@media(max-width:1100px){.sd-site .site-header.mobile-menu-open #primary-nav{justify-content:flex-start}.sd-site .site-header.mobile-menu-open #primary-nav>*{flex-shrink:0}}
