/* Nenápadná připomínka newsletteru při návratu návštěvníka nahoru. */
.lovesilk-newsletter-float {
  position: fixed;
  z-index: 85;
  left: 24px;
  bottom: 28px;
  max-width: calc(100vw - 48px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lovesilk-newsletter-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lovesilk-newsletter-float__action {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 2px;
  background: #a5e0cf;
  color: #24333b;
  box-shadow: 0 7px 20px rgba(34, 51, 59, 0.16);
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.lovesilk-newsletter-float__action:hover,
.lovesilk-newsletter-float__action:focus-visible {
  background: #8fd3c0;
  color: #24333b;
}

.lovesilk-newsletter-float__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.lovesilk-newsletter-float__text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lovesilk-newsletter-float__close {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #d8dddd;
  border-radius: 50%;
  place-items: center;
  background: #fff;
  color: #5f6668;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.lovesilk-newsletter-float__close:hover,
.lovesilk-newsletter-float__close:focus-visible {
  background: #f5f4f2;
}

@media (max-width: 767px) {
  .lovesilk-newsletter-float {
    left: 16px;
    bottom: max(88px, calc(22px + env(safe-area-inset-bottom)));
    font-size: 14px;
  }

  .lovesilk-newsletter-float__action {
    gap: 8px;
    padding: 11px 13px;
  }

  .lovesilk-newsletter-float__icon {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lovesilk-newsletter-float {
    transition: none;
  }
}
