/* Buying support: one transparent, fixed-position launcher on both stores. */
#boss-buying-help {
  /* Match Walmart's observed 60px launcher across desktop and tablet.
     Keep that same clear, usable size on narrower phones. */
  --boss-smile-size: 60px;
  --boss-support-safe-bottom: env(safe-area-inset-bottom, 0px);
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(var(--boss-support-launcher-bottom, 16px), calc(env(safe-area-inset-bottom, 0px) + 12px)) !important;
  width: var(--boss-smile-size) !important;
  min-width: var(--boss-smile-size);
  max-width: var(--boss-smile-size);
  height: var(--boss-smile-size);
  background: transparent !important;
  border: 0;
  box-shadow: none !important;
  transform: none !important;
}
#boss-buying-help .boss-buying-help__pill {
  box-sizing: border-box;
  display: grid !important;
  place-items: center;
  width: var(--boss-smile-size) !important;
  min-width: var(--boss-smile-size) !important;
  height: var(--boss-smile-size) !important;
  min-height: var(--boss-smile-size) !important;
  margin: 0;
  padding: 0 !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#boss-buying-help .boss-buying-help__pill::before,
#boss-buying-help .boss-buying-help__pill::after { content: none !important; }
#boss-buying-help.boss-buying-help--expanded .boss-buying-help__pill,
#boss-buying-help.boss-buying-help--dialog-open .boss-buying-help__pill,
#boss-buying-help .boss-buying-help__pill[hidden] { display: none !important; }
#boss-buying-help .boss-support-smile__visual {
  position: relative;
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  transform: none;
  transform-origin: center;
  pointer-events: none;
}
#boss-buying-help .boss-support-smile__visual > canvas,
#boss-buying-help .boss-support-smile__visual > svg,
#boss-buying-help .boss-support-smile__fallback,
#boss-buying-help .boss-support-smile__fallback img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain;
  pointer-events: none;
}
#boss-buying-help .boss-support-smile__visual > [hidden] { display: none !important; }
#boss-buying-help .boss-buying-help__pill:focus,
#boss-buying-help .boss-buying-help__pill:focus-visible,
#boss-buying-help .boss-buying-help__close:focus,
#boss-buying-help .boss-buying-help__close:focus-visible,
.boss-callback-overlay[data-callback-overlay] .boss-callback-dialog__close:focus,
.boss-callback-overlay[data-callback-overlay] .boss-callback-dialog__close:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
#boss-buying-help .boss-buying-help__pill:focus-visible .boss-support-smile__visual {
  filter: brightness(1.12);
}
#boss-buying-help .boss-buying-help__close:focus-visible,
.boss-callback-overlay[data-callback-overlay] .boss-callback-dialog__close:focus-visible {
  color: #111827;
}
#boss-buying-help .boss-buying-help__card {
  box-sizing: border-box;
  position: fixed;
  top: auto;
  left: auto;
  right: max(var(--boss-support-right, 16px), env(safe-area-inset-right, 0px));
  bottom: max(var(--boss-support-bottom, 16px), env(safe-area-inset-bottom, 0px));
  width: min(340px, calc(var(--boss-support-viewport-width, 100vw) - 32px));
  max-width: calc(var(--boss-support-viewport-width, 100vw) - 32px);
  max-height: var(--boss-support-max-height, calc(100dvh - 160px));
  min-height: 0;
  margin: 0;
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scroll-padding: 12px;
  border: 1px solid #e1e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .14);
}
#boss-buying-help .boss-buying-help__card h2 { padding-right: 22px; }
#boss-buying-help .boss-buying-help__card[hidden] { display: none !important; }
body.boss-support-compact-open .boss-product-subnav,
body.boss-support-compact-open:not(.boss-callback-modal-open) #boss-mobile-buy-bar {
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-height: 500px) {
  #boss-buying-help .boss-buying-help__card { padding: 16px; }
}
/* Keep the native form centered even during its entrance. */
.boss-callback-dialog { animation-name: boss-support-dialog-fade; }
@keyframes boss-support-dialog-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #boss-buying-help *, .boss-callback-overlay[data-callback-overlay] { animation: none !important; transition: none !important; }
}
