.whynow-share {
  --wns-ink: #111827;
  --wns-muted: #68707d;
  --wns-line: #e7e9ee;
  --wns-paper: #ffffff;
  --wns-accent: #0d1b35;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  margin: 20px 0;
  padding: 13px 14px;
  border: 1px solid var(--wns-line);
  border-radius: 16px;
  background: var(--wns-paper);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.05);
  color: var(--wns-ink);
}

.whynow-share--bottom {
  margin-top: 36px;
  padding: 18px;
  border-color: #dfe3ea;
  background: linear-gradient(135deg, #fbfcfe 0%, #f4f6f9 100%);
}

.whynow-share__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.whynow-share__eyebrow {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  color: #d14b3f;
}

.whynow-share__context {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wns-ink);
}

.whynow-share__actions {
  position: relative;
  flex: 0 0 auto;
}

.whynow-share__primary,
.whynow-share__menu-item {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.whynow-share__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--wns-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(13, 27, 53, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.whynow-share__primary:hover {
  background: #142849;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(13, 27, 53, 0.22);
}

.whynow-share__primary:focus-visible,
.whynow-share__menu-item:focus-visible {
  outline: 3px solid rgba(42, 98, 214, 0.28);
  outline-offset: 2px;
}

.whynow-share__icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.whynow-share__menu {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 9px);
  right: 0;
  min-width: 170px;
  padding: 7px;
  border: 1px solid var(--wns-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.15);
}

.whynow-share__menu[hidden] {
  display: none;
}

.whynow-share__menu-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  background: transparent;
  color: #202632;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

.whynow-share__menu-item:hover {
  background: #f3f5f8;
}

.whynow-share__status {
  position: absolute;
  right: 14px;
  bottom: -25px;
  font-size: 12px;
  font-weight: 700;
  color: #35643f;
}

@media (max-width: 640px) {
  .whynow-share {
    gap: 10px;
    margin: 16px 0;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .whynow-share--bottom {
    margin-top: 30px;
    padding: 15px;
  }

  .whynow-share__context {
    max-width: 175px;
    font-size: 13px;
  }

  .whynow-share__primary {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .whynow-share__menu {
    right: 0;
    min-width: 160px;
  }
}

@media (max-width: 380px) {
  .whynow-share__context {
    max-width: 135px;
  }
}
