/* Scotplus public storefront helper - shared site widget */
.sp-helper-tools{--sp-h-green:var(--sp-brand-primary,#178044);--sp-h-deep:var(--sp-brand-deep,#103e67);--sp-h-border:#d9e6dc;position:relative;z-index:2140000000;font-family:inherit;color:#103e67}
.sp-helper-tools *{box-sizing:border-box}
.sp-helper-launch,.sp-helper-top{position:fixed;right:20px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.32);cursor:pointer;box-shadow:0 10px 30px rgba(15,46,27,.18);transition:transform .18s,background .18s;z-index:2140000001}
.sp-helper-launch:hover,.sp-helper-top:hover{transform:translateY(-2px)}
.sp-helper-launch{bottom:22px;height:54px;padding:0 17px;gap:8px;border-radius:27px;background:var(--sp-h-green);color:#fff;font-size:14px;font-weight:700;letter-spacing:.01em}
.sp-helper-top{bottom:89px;width:46px;height:46px;border-radius:50%;background:#fff;color:var(--sp-h-deep);border-color:var(--sp-h-border)}
.sp-helper-top[hidden],.sp-helper-dialog[hidden]{display:none!important}
.sp-helper-dialog{position:fixed;right:20px;bottom:90px;width:min(380px,calc(100vw - 32px));height:min(545px,calc(100dvh - 118px));min-height:310px;display:flex;flex-direction:column;background:#fff;color:var(--sp-brand-deep,#103e67);border:1px solid var(--sp-h-border);border-radius:20px;box-shadow:0 22px 65px rgba(12,41,25,.25);overflow:hidden;z-index:2140000002;font-size:14px;line-height:1.5}
.sp-helper-head{background:linear-gradient(120deg,var(--sp-brand-deep,#103e67),var(--sp-brand-primary,#178044));color:#fff;min-height:76px;padding:15px;display:flex;align-items:center;gap:11px;flex-shrink:0}
.sp-helper-headmark{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:rgba(255,255,255,.13);font-size:24px}
.sp-helper-headcopy{flex:1;min-width:0;display:grid;gap:1px}.sp-helper-headcopy strong{color:#fff;font-size:15px;font-weight:750}.sp-helper-headcopy small{color:#d6f4df;font-size:11px}
.sp-helper-close{color:#fff;border:0;background:transparent;font-size:27px;width:33px;height:35px;border-radius:10px;cursor:pointer}
.sp-helper-close:hover{background:rgba(255,255,255,.15)}
.sp-helper-messages{flex:1;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:18px 15px;background:#f6faf7}
.sp-helper-bubble{max-width:92%;align-self:flex-start;padding:11px 13px;border-radius:14px 14px 14px 3px;border:1px solid #e1e9e2;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:var(--sp-brand-deep,#103e67)}
.sp-helper-bubble.is-user{align-self:flex-end;background:var(--sp-brand-primary,#178044);color:#fff;border-color:var(--sp-brand-primary,#178044);border-radius:14px 14px 3px 14px}
.sp-helper-result{display:flex;flex-direction:column;gap:5px;padding-top:9px;margin-top:9px;border-top:1px solid #e4ece6}
.sp-helper-result a{font-weight:750;color:var(--sp-brand-primary,#178044);text-decoration:underline;text-underline-offset:2px}
.sp-helper-result span{font-size:12px;color:var(--sp-brand-deep,#103e67)}
.sp-helper-quick{padding:10px 12px 6px;display:flex;flex-wrap:wrap;gap:6px;background:#fff}
#spHelperTools .sp-helper-dialog .sp-helper-quick button{border:1px solid #0e517f!important;background:#105c91!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;border-radius:40px;font-size:11px;font-weight:700;padding:7px 10px;cursor:pointer;opacity:1!important;text-shadow:none!important}
#spHelperTools .sp-helper-dialog .sp-helper-quick button:hover,#spHelperTools .sp-helper-dialog .sp-helper-quick button:focus-visible{background:#0b426c!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;border-color:#0b426c!important}
#spHelperTools .sp-helper-dialog .sp-helper-quick button:focus-visible{outline:2px solid #84d4ff;outline-offset:2px}
.sp-helper-form{display:flex;align-items:center;gap:7px;padding:10px 12px 7px;background:#fff}
.sp-helper-form input{flex:1;min-width:0;border:1px solid #d6e5da;border-radius:12px;padding:11px 12px;min-height:44px;background:#fff;color:var(--sp-brand-deep,#103e67);font-size:13px;outline:none}
.sp-helper-form input:focus{border-color:var(--sp-brand-primary,#178044);box-shadow:0 0 0 3px rgba(24,125,61,.12)}
.sp-helper-form button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:12px;background:var(--sp-brand-primary,#178044);color:#fff;cursor:pointer;flex-shrink:0}
.sp-helper-disclaimer{font-size:10px!important;line-height:1.4!important;text-align:center;color:#6e8174!important;background:#fff;margin:0!important;padding:0 15px 11px!important}
.sp-helper-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:640px){.sp-helper-launch{right:14px;bottom:16px;height:48px;padding:0 14px}.sp-helper-top{right:15px;bottom:77px;width:44px;height:44px}.sp-helper-dialog{right:12px;bottom:76px;width:calc(100vw - 24px);height:min(535px,calc(100dvh - 100px));border-radius:17px}.sp-helper-head{min-height:68px}}
@media(prefers-reduced-motion:reduce){.sp-helper-launch,.sp-helper-top{transition:none!important}}

/* Persistent language picker; separate from commerce actions. */
.sp-language-widget{position:fixed;right:18px;top:48%;transform:translateY(-50%);z-index:2140000010;font-family:inherit}
.sp-language-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:55px;min-height:55px;padding:7px 9px;background:#fff;color:var(--sp-brand-deep,#103e67);border:1px solid #d2e4d7;box-shadow:0 9px 25px rgba(9,45,24,.16);border-radius:16px;font-size:21px;cursor:pointer}
.sp-language-toggle span{font-size:11px;font-weight:750}
.sp-language-toggle:hover{background:#edf8ef}
.sp-language-menu{position:fixed;left:50%;top:50%;right:auto;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 32px));padding:24px;border-radius:22px;background:#fff;border:1px solid #d6e8d9;box-shadow:0 22px 80px rgba(8,36,22,.25);color:var(--sp-brand-deep,#103e67);max-height:80dvh;overflow:auto;z-index:2140000050}
.sp-language-menu[hidden]{display:none!important}
.sp-language-caption{font-weight:750;font-size:12px;padding:8px 10px;border-bottom:1px solid #e4eee6}
.sp-language-menu button{border:0;background:transparent;color:var(--sp-brand-deep,#103e67);text-align:left;padding:10px 11px;width:100%;border-radius:9px;font-size:14px;cursor:pointer;display:block}
.sp-language-menu button:hover,.sp-language-menu button[aria-current=true]{background:#e8f5e9;color:var(--sp-brand-primary,#178044)}
.sp-language-close{position:absolute;right:12px;top:8px;width:36px!important;height:36px;border:0!important;border-radius:50%;background:#f2f7f3!important;color:var(--sp-brand-deep,#103e67)!important;font-size:25px!important;text-align:center!important;padding:0!important;cursor:pointer}
.sp-language-backdrop{position:fixed;inset:0;background:rgba(6,23,14,.55);z-index:2140000040;backdrop-filter:blur(3px)}
.sp-language-menu p{color:#6c8073;font-size:10px;line-height:1.4;padding:2px 10px 4px;margin:0}
.sp-hidden-translate{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(100%)!important}
/* Google Translate's classic toolbar must not cover the sticky header. */
body>.skiptranslate,body>iframe.goog-te-banner-frame,.goog-te-banner-frame,.goog-te-balloon-frame,#goog-gt-tt{display:none!important;visibility:hidden!important}
html.translated-ltr body,html.translated-rtl body{top:0!important}
/* Commerce notification sits ABOVE floating support and back-to-top instead of overlapping them. */
html body #hsToast.hs-toast{left:auto!important;right:20px!important;top:auto!important;bottom:calc(159px + env(safe-area-inset-bottom,0px))!important;z-index:2141000000!important;max-width:min(380px,calc(100vw - 32px))!important}
.sp-helper-tools .sp-helper-launch{z-index:2140000002}
.sp-helper-tools .sp-helper-top{z-index:2140000002}
.sp-helper-result{display:grid;grid-template-columns:52px 1fr;align-items:center;column-gap:10px;row-gap:3px;padding:9px;margin:9px 0 0;border:1px solid #e4ece6;border-radius:12px;background:#fff}
.sp-helper-product-image{width:50px;height:54px;object-fit:contain;grid-row:span 2;border-radius:8px;background:#f3f8f4}
.sp-helper-result a{font-size:12px;text-decoration:none;overflow-wrap:anywhere}
.sp-helper-result span{font-size:11px}
@media(max-width:640px){
 .sp-language-widget{right:9px;top:46%}
 .sp-language-toggle{min-width:43px;min-height:45px;padding:4px 5px;font-size:17px;border-radius:12px}
 .sp-language-toggle span{font-size:10px}
 .sp-language-menu{left:50%;right:auto;top:50%;transform:translate(-50%,-50%);width:min(390px,calc(100vw - 28px));padding:20px}
 html body #hsToast.hs-toast{right:14px!important;bottom:calc(142px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 28px)!important}
}

/* Widget isolation: overrides broad theme selectors without touching storefront pages. */
#spHelperTools .sp-helper-dialog{box-sizing:border-box;isolation:isolate;max-width:calc(100vw - 24px);margin:0;padding:0;text-align:left;transform:none;opacity:1;visibility:visible}
#spHelperTools .sp-helper-dialog[hidden]{display:none!important}
#spHelperTools .sp-helper-head{position:relative;box-sizing:border-box;margin:0;width:100%;min-height:76px;border:0;border-radius:0}
#spHelperTools .sp-helper-messages{min-height:0;max-width:100%;margin:0}
#spHelperTools .sp-helper-form{box-sizing:border-box;width:100%;margin:0}
#spHelperTools .sp-helper-form input{box-sizing:border-box;width:100%;max-width:100%;margin:0;line-height:normal;appearance:none}
#spHelperTools .sp-helper-quick button,#spHelperTools .sp-helper-form button,#spHelperTools .sp-helper-close{line-height:1.2;min-width:0;appearance:none}
#spHelperTools .sp-helper-launch{box-sizing:border-box;max-width:calc(100vw - 28px)}
#spHelperTools .sp-helper-dialog a{color:var(--sp-h-deep,#103e67)}
#spHelperTools .sp-helper-dialog .sp-helper-result a{color:var(--sp-h-green,#178044)}
@media(max-width:640px){#spHelperTools .sp-helper-dialog{left:auto;right:12px;bottom:76px;width:calc(100vw - 24px);max-width:420px;height:min(535px,calc(100dvh - 100px))}}

/* Widget-only restoration: no global page layout rules. */
#spHelperTools .sp-helper-launch{position:fixed;right:20px;bottom:22px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:0 17px;border-radius:28px;background:#1268a5;color:#fff;font-weight:700;z-index:2140000002}
#spHelperTools .sp-helper-launch svg,#spHelperTools .sp-helper-top svg{display:block;width:20px;height:20px}
#spHelperTools .sp-helper-top{position:fixed;right:24px;bottom:89px;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#fff;color:#103e67;z-index:2140000002}
#spHelperTools .sp-language-widget{position:fixed;right:16px;top:50%;z-index:2140000003}
#spHelperTools .sp-language-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:52px;min-height:54px;padding:6px;border:1px solid #d9e6dc;border-radius:14px;background:#fff;color:#103e67;box-shadow:0 8px 20px #15382222}
#spHelperTools .sp-helper-quick button{background:#105c91!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#105c91!important}
#spHelperTools .sp-helper-quick button:hover,#spHelperTools .sp-helper-quick button:focus-visible{background:#0b4773!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
@media(max-width:640px){#spHelperTools .sp-helper-launch{right:12px;bottom:16px}#spHelperTools .sp-helper-top{right:18px;bottom:83px}#spHelperTools .sp-language-widget{right:9px}}
