/* =========================================================================
   Sundal RFQ — site-wide UI. Loaded on every front-end page because a
   "Get a Quote" button can appear anywhere in the catalogue, so this file is
   kept small and every class is namespaced sq- to survive an unknown theme.
   ========================================================================= */

/* ---- toast ---- */
#sq-toast{
  position:fixed; z-index:99999; left:50%; bottom:26px; transform:translate(-50%,14px);
  max-width:min(420px,calc(100vw - 32px)); padding:13px 20px; border-radius:10px;
  background:#0E2532; color:#fff; border:1px solid rgba(255,255,255,.12);
  font-family:'Ubuntu',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:14px; line-height:1.45; text-align:center;
  box-shadow:0 12px 32px rgba(14,37,50,.28);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .22s ease, transform .22s ease, visibility .22s;
}
#sq-toast.is-on{opacity:1; visibility:visible; transform:translate(-50%,0)}
#sq-toast.is-error{background:#8A1C2B; border-color:rgba(255,255,255,.16)}
@media (prefers-reduced-motion: reduce){
  #sq-toast{transition:none}
}

/* ---- header count badge (mirrors the existing wishlist badge) ---- */
.sq-hql{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:10px; border:1px solid #DCE7EE;
  background:#fff; color:#0E2532; flex:none;
  transition:color .15s ease, border-color .15s ease, transform .15s ease;
}
.sq-hql:hover{color:#0481BB; border-color:#9FCDE6; transform:translateY(-1px)}
.sq-hql svg{width:19px; height:19px}
.sq-count{
  display:none; position:absolute; top:-5px; right:-5px; min-width:20px; height:20px;
  padding:0 5px; box-sizing:border-box; border-radius:100px; background:#0481BB; color:#fff;
  font-family:'Ubuntu',sans-serif; font-size:11px; font-weight:700; line-height:1;
  align-items:center; justify-content:center; border:2px solid #fff;
}
.sq-hql.has-items .sq-count{display:inline-flex}
@media (max-width:600px){ .sq-hql{width:42px; height:42px} }

/* ---- a quote button mid-request, outside the quote page ---- */
.sq-add.is-busy{opacity:.55; pointer-events:none}
