.gp-social-proof-root {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(380px, calc(100vw - 48px));
  pointer-events: none;
  font-family: "Geist", "Inter", Arial, sans-serif;
}

.gp-social-proof-toast,
.gp-social-proof-coupon {
  pointer-events: auto;
  color: #101010;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.gp-social-proof-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  animation: gp-social-proof-in 280ms ease both;
}

.gp-social-proof-toast.is-hiding {
  animation: gp-social-proof-out 260ms ease both;
}

.gp-social-proof-toast p {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
}

.gp-social-proof-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: #1fb36a;
  box-shadow: 0 0 0 6px rgba(31, 179, 106, 0.14);
}

.gp-social-proof-toast.is-contact .gp-social-proof-dot {
  background: #f2b705;
  box-shadow: 0 0 0 6px rgba(242, 183, 5, 0.18);
}

.gp-social-proof-coupon {
  position: relative;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  padding: 18px;
  animation: gp-social-proof-in 320ms ease both;
}

.gp-social-proof-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #111;
  background: rgba(0, 0, 0, 0.06);
  font-size: 20px;
  line-height: 1;
}

.gp-social-proof-coupon-media {
  display: grid;
  place-items: center;
  min-height: 124px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #0f172a;
}

.gp-social-proof-coupon-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 124px;
  object-fit: cover;
}

.gp-social-proof-coupon-body {
  min-width: 0;
  padding-right: 14px;
}

.gp-social-proof-kicker,
.gp-social-proof-coupon-body p,
.gp-social-proof-coupon-body h2 {
  margin: 0;
  letter-spacing: 0;
}

.gp-social-proof-kicker {
  margin-bottom: 4px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.gp-social-proof-coupon-body h2 {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.05;
}

.gp-social-proof-coupon-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.35;
}

.gp-social-proof-code {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 12px;
  border: 2px dashed #111;
  border-radius: 8px;
  cursor: pointer;
  color: #111;
  background: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gp-social-proof-coupon-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.gp-social-proof-coupon.is-offer .gp-social-proof-coupon-actions {
  grid-template-columns: 1fr;
}

.gp-social-proof-copy,
.gp-social-proof-unlock,
.gp-social-proof-coupon-actions a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.gp-social-proof-coupon-actions a {
  background: #2f73ff;
}

.gp-social-proof-unlock:disabled {
  cursor: wait;
  opacity: 0.72;
}

.gp-social-proof-error {
  color: #b42318;
  font-weight: 700;
}

.gp-social-proof-coupon-body small {
  display: block;
  color: #666;
  font-size: 12px;
  line-height: 1.3;
}

@keyframes gp-social-proof-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gp-social-proof-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 640px) {
  .gp-social-proof-root {
    left: 10px;
    right: 10px;
    bottom: 72px;
    width: auto;
  }

  .gp-social-proof-coupon {
    grid-template-columns: 80px 1fr;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gp-social-proof-coupon-media {
    min-height: 80px;
    max-height: 80px;
  }

  .gp-social-proof-coupon-media img {
    min-height: 80px;
    max-height: 80px;
    object-fit: cover;
  }

  .gp-social-proof-close {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: 6px;
    right: 6px;
  }
}
