.store-promo-ad {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 6;
  width: min(320px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.09);
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  backdrop-filter: blur(14px);
}

.store-promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.store-promo-header > span {
  color: #777777;
  font-size: 0.61rem;
  font-weight: 700;
}

.store-promo-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.store-promo-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-promo-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #777777;
}

.store-promo-close:hover {
  background: rgba(17, 17, 17, 0.06);
  color: #111111;
}

.store-promo-close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.store-promo-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7c7c7;
  cursor: pointer;
}

.store-promo-dots button[aria-current='true'] {
  background: #ef2925;
}

.store-promo-dots button:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.store-promo-body {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 106px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  animation: store-promo-enter 280ms ease-out both;
}

.store-promo-body:hover {
  background: rgba(17, 17, 17, 0.025);
}

.store-promo-body-static {
  grid-template-columns: 52px minmax(0, 1fr);
}

.store-promo-body-social {
  grid-template-columns: 52px minmax(0, 1fr) 24px;
}

.store-promo-logo {
  display: grid;
  width: 52px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: #f3f3f3;
  color: #222222;
}

.store-promo-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-promo-copy,
.store-promo-copy strong,
.store-promo-copy small,
.store-promo-copy > span {
  display: block;
  min-width: 0;
}

.store-promo-copy strong {
  overflow: hidden;
  margin-bottom: 3px;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-promo-copy small {
  margin-bottom: 7px;
  color: #5e5e5e;
  font-size: 0.68rem;
  font-weight: 700;
}

.store-promo-copy > span {
  color: #777777;
  font-size: 0.67rem;
  line-height: 1.45;
}

.store-promo-link-icon {
  color: #777777;
}

.store-promo-socials {
  display: grid;
  gap: 7px;
  justify-items: center;
}

.store-promo-socials a {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.store-promo-socials a:hover {
  border-color: rgba(17, 17, 17, 0.22);
  background: #ffffff;
  transform: translateY(-1px);
}

.store-promo-socials img {
  display: block;
  width: 16px;
  height: 16px;
}

@keyframes store-promo-enter {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .store-promo-ad {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-promo-body {
    animation: none;
  }
  .store-promo-socials a {
    transition: none;
  }
}
