/* SaloCart V5.2.43 — Shopper social proof toast
   Uses only real aggregate deal activity from the live catalog. */
:root { --sc-layer-social-proof: 10460; }

.social-proof-root {
  position: fixed;
  z-index: var(--sc-layer-social-proof);
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(430px, calc(100vw - 36px));
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.985);
  transform-origin: left bottom;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.85,.25,1);
}
.social-proof-root.is-open { pointer-events: auto; }
.social-proof-root.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }

.social-proof-toast {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0,1fr) 34px;
  gap: .78rem;
  min-height: 112px;
  padding: .72rem;
  border: 1px solid rgba(15, 112, 45, .18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 0%, rgba(250, 191, 55, .18), transparent 40%),
    linear-gradient(138deg, rgba(255,255,255,.99), rgba(247,252,246,.98));
  color: var(--sc-ink, #17261d);
  box-shadow: 0 22px 56px rgba(9, 55, 29, .22), 0 5px 16px rgba(9, 55, 29, .08);
  overflow: hidden;
  isolation: isolate;
}
.social-proof-toast::after {
  content: '';
  position: absolute;
  inset: auto 12px 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f8318, #89c83f, #f6ba34);
  opacity: .9;
}
.social-proof-toast__media {
  position: relative;
  align-self: stretch;
  min-height: 92px;
  overflow: hidden;
  border-radius: 15px;
  background: #eaf5ed;
}
.social-proof-toast__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
}
.social-proof-toast__image--fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e6f4e5, #c9e9cb);
  color: #0f8318;
  font-size: 1.55rem;
}
.social-proof-toast__live {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100% - 12px);
  padding: .22rem .4rem;
  border-radius: 999px;
  background: rgba(9, 34, 20, .8);
  color: #fff;
  font-size: .54rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.social-proof-toast__live .bi { color: #79ef84; font-size: .44rem; }
.social-proof-toast__content { min-width: 0; padding: .06rem 0 .12rem; }
.social-proof-toast__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  margin-bottom: .16rem;
  color: #0c7b28;
  font-size: .61rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.15;
  text-transform: uppercase;
}
.social-proof-toast__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: inherit;
  font-family: var(--font-display, Sora, ui-sans-serif, sans-serif);
  font-size: .94rem;
  font-weight: 900;
  letter-spacing: -.026em;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.social-proof-toast__proof {
  display: grid;
  gap: .08rem;
  margin: .28rem 0 .22rem;
  line-height: 1.25;
}
.social-proof-toast__proof b {
  color: #1c572b;
  font-size: .72rem;
  font-weight: 900;
}
.social-proof-toast__proof span {
  color: var(--sc-muted, #617468);
  font-size: .66rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-proof-toast__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .22rem .55rem;
  margin: 0 0 .42rem;
  color: var(--sc-muted, #617468);
  font-size: .62rem;
  line-height: 1.25;
}
.social-proof-toast__meta span {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: .22rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-proof-toast__meta span .bi { color: #176cc4; }
.social-proof-toast__meta em {
  color: #997111;
  font-size: .61rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}
.social-proof-toast__action {
  min-height: 34px;
  padding: .42rem .7rem;
  border-radius: 11px;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}
.social-proof-toast__close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: start;
  justify-self: end;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--sc-muted, #617468);
  font-size: .78rem;
}
.social-proof-toast__close:hover,
.social-proof-toast__close:focus-visible {
  background: rgba(16, 42, 28, .08);
  color: #0f8318;
  outline: none;
}

html[data-theme="dark"] .social-proof-toast {
  border-color: rgba(147, 241, 153, .15);
  background: radial-gradient(circle at 96% 0%, rgba(246, 186, 52, .16), transparent 43%), linear-gradient(138deg, rgba(17,31,22,.99), rgba(10,22,14,.99));
  color: #f0f8f1;
  box-shadow: 0 22px 56px rgba(0,0,0,.44);
}
html[data-theme="dark"] .social-proof-toast__proof b { color: #94ee9d; }
html[data-theme="dark"] .social-proof-toast__proof span,
html[data-theme="dark"] .social-proof-toast__meta,
html[data-theme="dark"] .social-proof-toast__close { color: rgba(240,248,241,.7); }
html[data-theme="dark"] .social-proof-toast__close:hover,
html[data-theme="dark"] .social-proof-toast__close:focus-visible { background: rgba(255,255,255,.09); color: #fff; }
html[data-theme="dark"] .social-proof-toast__image--fallback { background: linear-gradient(145deg, #143b21, #0a2814); color: #95ee9d; }

@media (max-width: 991.98px) {
  .social-proof-root {
    right: max(11px, env(safe-area-inset-right));
    left: max(11px, env(safe-area-inset-left));
    width: auto;
    bottom: calc(82px + env(safe-area-inset-bottom));
    transform-origin: center bottom;
  }
}

@media (max-width: 460px) {
  .social-proof-toast { grid-template-columns: 70px minmax(0,1fr) 30px; gap: .62rem; min-height: 98px; padding: .62rem; border-radius: 19px; }
  .social-proof-toast__media, .social-proof-toast__image { min-height: 84px; border-radius: 13px; }
  .social-proof-toast__eyebrow { font-size: .56rem; }
  .social-proof-toast__title { font-size: .86rem; }
  .social-proof-toast__proof { margin: .22rem 0 .17rem; }
  .social-proof-toast__proof b { font-size: .67rem; }
  .social-proof-toast__proof span { font-size: .61rem; }
  .social-proof-toast__meta { margin-bottom: .34rem; font-size: .57rem; gap: .18rem .42rem; }
  .social-proof-toast__meta em { font-size: .56rem; }
  .social-proof-toast__action { min-height: 32px; padding: .38rem .58rem; font-size: .64rem; }
  .social-proof-toast__close { width: 30px; height: 30px; border-radius: 10px; font-size: .72rem; }
  .social-proof-toast__live { font-size: .49rem; }
}

@media (max-width: 340px) {
  .social-proof-toast { grid-template-columns: 62px minmax(0,1fr) 28px; gap: .48rem; padding: .52rem; }
  .social-proof-toast__media, .social-proof-toast__image { min-height: 76px; }
  .social-proof-toast__proof span { display: none; }
  .social-proof-toast__meta span { max-width: 100%; }
  .social-proof-toast__meta em { display: none; }
  .social-proof-toast__action { padding-inline: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .social-proof-root { transition: none; }
}
