.sds-storefront-support {
  --contact-height: 46px;
  pointer-events: none;
  position: fixed;
  right: max(15px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sds-storefront-support__btn {
  box-sizing: border-box;
  pointer-events: auto;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  width: 144px;
  max-width: calc(100vw - 30px);
  height: var(--contact-height);
  padding: 9px 11px 9px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 5px 16px rgba(2, 6, 23, .23), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.sds-storefront-support__btn--support {
  background: linear-gradient(115deg, #139e64, #087550);
}

.sds-storefront-support__btn--channel {
  background: linear-gradient(115deg, #2877d7, #2947a7);
}

.sds-storefront-support__icon {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 32px;
  height: 24px;
  flex: 0 0 32px;
  padding-right: 9px;
  border-right: 1px solid rgba(255, 255, 255, .23);
  line-height: 1;
}

.sds-storefront-support__icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.sds-storefront-support__icon--wa svg { width: 23px; height: 23px; }
.sds-storefront-support__copy { flex: 1; min-width: 0; }
.sds-storefront-support__copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: .01em;
  white-space: nowrap;
}
.sds-storefront-support__chevron { width: 12px; height: 12px; flex: 0 0 12px; opacity: .85; }
/* Preserve a clean transition for pages still holding the previous markup. */
.sds-storefront-support__copy small,
.sds-storefront-support__pulse { display: none; }

@media (hover: hover) {
  .sds-storefront-support__btn:hover {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow: 0 7px 20px rgba(2, 6, 23, .28);
  }
}
.sds-storefront-support__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sds-storefront-support__btn:active { transform: scale(.98); }

/* Let the last product row scroll clear of the fixed contact widget. */
body:has(.sds-storefront-support) { padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
body:has(.sds-storefront-support > a:only-child) { padding-bottom: calc(77px + env(safe-area-inset-bottom, 0px)); }
html:has(.sds-storefront-support) { scroll-padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }

@media (prefers-reduced-motion: reduce) {
  .sds-storefront-support__btn,
  .sds-storefront-support__btn:hover,
  .sds-storefront-support__btn:active { transition: none; transform: none; }
}
