
/* ---------- Chips ---------- */
.so-chips{display:flex;align-items:center;gap:14px;max-width:1240px;margin:0 auto;padding:18px 20px 4px;box-sizing:border-box;font-family:inherit}
.so-chips__label{flex:0 0 auto;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#98A1AB}
.so-chips__row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px}
.so-chips__row::-webkit-scrollbar{display:none}
.so-chip{flex:0 0 auto;display:inline-flex;align-items:center;padding:8px 16px;border:1px solid #D6DCE2;border-radius:30px;background:#fff;color:#1B2531!important;font-size:14px;letter-spacing:.02em;line-height:1.2;text-decoration:none!important;white-space:nowrap;transition:border-color .2s,background .2s,color .2s}
.so-chip:hover,.so-chip:focus-visible{border-color:#004995;color:#004995!important;background:#EEF3F8;outline:none}
.so-chip--ask{border-color:transparent;background:transparent;color:#004995!important;font-weight:600}
@media (max-width:767px){
  .so-chips{display:block;padding:14px 0 2px}
  .so-chips__label{display:block;padding:0 20px 8px}
  .so-chips__row{padding:2px 20px}
  .so-chip{padding:7px 14px;font-size:13px}
}

/* ---------- Floating button ---------- */
button.so-qfab,button.so-qfab:hover,button.so-qfab:focus,button.so-qfab:active{
  position:fixed!important;right:20px;bottom:20px;z-index:9990;display:inline-flex!important;align-items:center;gap:8px;
  margin:0!important;padding:12px 18px 12px 16px!important;border:0!important;border-radius:40px!important;
  background:#004995!important;background-image:none!important;color:#fff!important;
  font-family:inherit!important;font-size:14px!important;font-weight:600!important;letter-spacing:.02em!important;line-height:1.2!important;text-transform:none!important;
  width:auto!important;height:auto!important;min-height:0!important;cursor:pointer;
  box-shadow:0 8px 24px rgba(0,40,90,.25)!important;
  opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility .25s,background .2s}
button.so-qfab.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
button.so-qfab:hover{background:#3F78AE!important}
button.so-qfab:focus-visible{outline:2px solid #3F78AE!important;outline-offset:3px}
.so-qfab svg{width:20px;height:20px;flex:0 0 20px}
.so-qfab__count{min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#fff;color:#004995;font-size:12px;line-height:22px;text-align:center;box-sizing:border-box}
.so-qfab.is-bump .so-qfab__count{animation:so-qfab-bump .4s ease}
@keyframes so-qfab-bump{40%{transform:scale(1.35)}}
@media (max-width:767px){
  button.so-qfab{right:14px;bottom:14px;padding:11px 12px!important}
  .so-qfab__label{display:none}
}

/* ---------- Quote panel (compact pop-up above the button) ---------- */
.so-qd[hidden]{display:none!important}
.so-qd{position:fixed;inset:0;z-index:100001;font-family:inherit;pointer-events:none}
.so-qd__overlay{position:absolute;inset:0;background:transparent;pointer-events:auto}
.so-qd__panel{position:absolute;right:20px;bottom:80px;width:360px;max-height:min(520px,calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border:1px solid #E7EBEF;border-radius:6px;box-shadow:0 18px 50px rgba(0,30,70,.22);pointer-events:auto;opacity:0;transform:translateY(10px) scale(.98);transform-origin:bottom right;transition:opacity .2s ease,transform .2s cubic-bezier(.22,.61,.36,1)}
.so-qd.is-open .so-qd__panel{opacity:1;transform:translateY(0) scale(1)}
.so-qd__head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 10px 4px 16px}
.so-qd__head h2{margin:0;font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1.3;color:#1B2531}
.so-qd__n{color:#98A1AB;font-weight:400}
.so-qd button.so-qd__close,.so-qd button.so-qd__close:hover,.so-qd button.so-qd__close:focus{
  display:flex!important;align-items:center;justify-content:center;width:30px!important;height:30px!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;
  color:#586674!important;font-size:22px!important;line-height:1!important;cursor:pointer}
.so-qd button.so-qd__close:hover{background:#EEF3F8!important;color:#004995!important}
.so-qd__intro{margin:0;padding:0 16px 10px;font-size:12px;line-height:1.4;color:#98A1AB;border-bottom:1px solid #E7EBEF}
.so-qd__body{flex:1 1 auto;overflow-y:auto;padding:0 16px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.so-qd__loading,.so-qd__empty,.so-qd__error{padding:24px 0;text-align:center;font-size:13px;color:#586674}
.so-qd__empty p{margin:0 0 4px}
.so-qd__empty p:first-child{font-size:14px;color:#1B2531}
.so-qd__error a{color:#004995;text-decoration:underline}
.so-qd__list{margin:0!important;padding:0!important;list-style:none!important}
.so-qd__item{display:flex;gap:12px;align-items:center;margin:0!important;padding:10px 0!important;border-bottom:1px solid #F0F2F5;list-style:none!important}
.so-qd__item::before,.so-qd__item::after{display:none!important}
.so-qd__item:last-child{border-bottom:0}
.so-qd__thumb{flex:0 0 52px;width:52px;height:52px;border-radius:3px;overflow:hidden;background:#F5F7F9}
.so-qd__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.so-qd__info{flex:1 1 auto;min-width:0}
.so-qd__name{display:block;font-size:13px;font-weight:600;line-height:1.3;color:#1B2531!important;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.so-qd__name:hover{color:#004995!important}
.so-qd__meta{margin-top:1px;font-size:11px;line-height:1.35;color:#586674;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.so-qd__row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}
.so-qd__qty{font-size:12px;color:#98A1AB}
.so-qd__step{display:inline-flex;align-items:center;height:26px;border:1px solid #D6DCE2;border-radius:3px;overflow:hidden}
.so-qd .so-qd__step button,.so-qd .so-qd__step button:hover,.so-qd .so-qd__step button:focus{
  display:flex!important;align-items:center;justify-content:center;width:26px!important;height:24px!important;min-height:0!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;
  color:#1B2531!important;font-family:inherit!important;font-size:15px!important;line-height:1!important;cursor:pointer}
.so-qd .so-qd__step button:hover{background:#EEF3F8!important;color:#004995!important}
.so-qd .so-qd__step button[disabled]{color:#D6DCE2!important;cursor:default;background:#fff!important}
.so-qd__step input{width:34px!important;height:24px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid #E7EBEF!important;border-right:1px solid #E7EBEF!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;text-align:center;font-family:inherit;font-size:13px!important;color:#1B2531!important;-moz-appearance:textfield}
.so-qd__step input::-webkit-outer-spin-button,.so-qd__step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.so-qd button.so-qd__remove,.so-qd button.so-qd__remove:hover,.so-qd button.so-qd__remove:focus{
  flex:0 0 auto;margin:0!important;padding:2px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  width:auto!important;height:auto!important;min-height:0!important;text-transform:none!important;letter-spacing:normal!important;
  font-family:inherit!important;font-size:11px!important;color:#98A1AB!important;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.so-qd button.so-qd__remove:hover{color:#b32d2e!important}
.so-qd__item.is-busy{opacity:.5;pointer-events:none}
.so-qd__foot{padding:10px 16px 14px;border-top:1px solid #E7EBEF}
.so-qd__cta{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:3px;background:#004995;color:#fff!important;font-size:14px;font-weight:600;letter-spacing:.02em;text-decoration:none!important;transition:background .2s}
.so-qd__cta:hover{background:#3F78AE}
.so-qd__cta.is-disabled{background:#D6DCE2;pointer-events:none}

/* Phones: bottom sheet */
@media (max-width:767px){
  .so-qd__overlay{background:rgba(0,20,50,.35);opacity:0;transition:opacity .2s ease}
  .so-qd.is-open .so-qd__overlay{opacity:1}
  .so-qd__panel{left:0;right:0;bottom:0;width:auto;max-height:72vh;border-radius:12px 12px 0 0;border:0;transform:translateY(100%);transform-origin:bottom center}
  .so-qd.is-open .so-qd__panel{transform:translateY(0)}
  .so-qd__head{padding-top:14px}
  .so-qd__head::before{content:"";position:absolute;top:6px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:#D6DCE2}
  .so-qd__foot{padding-bottom:calc(14px + env(safe-area-inset-bottom))}
  html.so-qd-lock,html.so-qd-lock body{overflow:hidden!important}
}
/* ---------- Quick "Add to quote" on product cards ---------- */
.so-qa-host{position:relative!important}
button.so-qa,button.so-qa:hover,button.so-qa:focus,button.so-qa:active{
  position:absolute!important;top:10px;right:10px;z-index:6;display:inline-flex!important;align-items:center;gap:6px;
  margin:0!important;padding:8px 12px 8px 10px!important;border:0!important;border-radius:30px!important;
  background:rgba(255,255,255,.96)!important;background-image:none!important;color:#004995!important;
  box-shadow:0 4px 14px rgba(0,30,70,.16)!important;
  font-family:inherit!important;font-size:12px!important;font-weight:600!important;letter-spacing:.02em!important;line-height:1.2!important;text-transform:none!important;
  width:auto!important;height:auto!important;min-height:0!important;cursor:pointer;white-space:nowrap;
  opacity:0;transform:translateY(-4px);transition:opacity .18s ease,transform .18s ease,background .15s,color .15s}
button.so-qa svg{width:15px;height:15px;flex:0 0 15px}
.so-qa-host:hover > button.so-qa,.so-qa-host:focus-within > button.so-qa,button.so-qa.is-done,button.so-qa.is-busy,button.so-qa.is-fail{opacity:1;transform:translateY(0)}
button.so-qa:hover{background:#004995!important;color:#fff!important}
button.so-qa:focus-visible{outline:2px solid #3F78AE!important;outline-offset:2px}
button.so-qa.is-busy{pointer-events:none}
button.so-qa.is-busy svg{animation:so-qa-spin .8s linear infinite}
button.so-qa.is-done{background:#004995!important;color:#fff!important}
button.so-qa.is-fail{background:#fff!important;color:#586674!important}
@keyframes so-qa-spin{to{transform:rotate(360deg)}}
@media (hover:none){
  button.so-qa,button.so-qa:hover{opacity:1;transform:none;padding:0!important;width:34px!important;height:34px!important;justify-content:center;border-radius:50%!important;background:rgba(255,255,255,.96)!important;color:#004995!important}
  button.so-qa .so-qa__label{display:none}
  button.so-qa.is-done{background:#004995!important;color:#fff!important}
}
@media (prefers-reduced-motion:reduce){.so-qd__panel,.so-qd__overlay,button.so-qfab,button.so-qa{transition:none}}
