/* VARNOO Newsletter Popup - isolated styles */
#varno-newsletter-popup,
#varno-newsletter-popup * { box-sizing: border-box; }

#varno-newsletter-popup {
  --vnp-bg: #111111;
  --vnp-bg2: #181818;
  --vnp-text: #ffffff;
  --vnp-muted: #bdbdbd;
  --vnp-accent: #fee600;
  position: fixed;
  left: 50%;
  bottom: 20px;
  width: min(480px, calc(100vw - 32px));
  z-index: 2147483000;
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .35s ease;
}

#varno-newsletter-popup.vnp-show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#varno-newsletter-popup .vnp-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 26px;
  background: linear-gradient(145deg, var(--vnp-bg), var(--vnp-bg2));
  color: var(--vnp-text);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

#varno-newsletter-popup .vnp-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--vnp-accent);
}

#varno-newsletter-popup .vnp-close {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  font: 400 24px/28px Arial, sans-serif;
  cursor: pointer;
}

#varno-newsletter-popup .vnp-close:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

#varno-newsletter-popup .vnp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

#varno-newsletter-popup .vnp-brand img {
  display: block;
  width: auto;
  max-width: 92px;
  height: 30px;
  object-fit: contain;
}

#varno-newsletter-popup .vnp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vnp-accent);
}

#varno-newsletter-popup .vnp-kicker {
  margin: 0 0 8px;
  color: var(--vnp-accent);
  font-size: 12px;
  line-height: 1.8;
  font-weight: 700;
}

#varno-newsletter-popup .vnp-title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.55;
  font-weight: 700;
}

#varno-newsletter-popup .vnp-text {
  margin: 10px 0 20px;
  color: var(--vnp-muted);
  font-size: 13px;
  line-height: 2;
}

#varno-newsletter-popup .vnp-form {
  display: flex;
  gap: 8px;
  margin: 0;
}

#varno-newsletter-popup .vnp-input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 4px;
  outline: 0;
  background: rgba(255,255,255,.06);
  color: #fff;
  direction: ltr;
  text-align: right;
  font: 13px Tahoma, Arial, sans-serif;
}

#varno-newsletter-popup .vnp-input::placeholder { color: #888; }

#varno-newsletter-popup .vnp-input:focus {
  border-color: var(--vnp-accent);
  background: rgba(255,255,255,.09);
}

#varno-newsletter-popup .vnp-button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: var(--vnp-accent);
  color: #111;
  cursor: pointer;
  font: 700 13px Tahoma, Arial, sans-serif;
  white-space: nowrap;
}

#varno-newsletter-popup .vnp-button:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

#varno-newsletter-popup .vnp-note {
  margin: 10px 2px 0;
  color: #777;
  font-size: 10px;
  line-height: 1.8;
}

#varno-newsletter-popup .vnp-status {
  margin: 8px 2px 0;
  color: var(--vnp-accent);
  font-size: 11px;
  line-height: 1.8;
}

#varno-newsletter-popup.vnp-success .vnp-form,
#varno-newsletter-popup.vnp-success .vnp-note { display: none; }

@media (max-width: 575px) {
  #varno-newsletter-popup {
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  #varno-newsletter-popup .vnp-card {
    padding: 24px 20px 20px;
  }

  #varno-newsletter-popup .vnp-title { font-size: 20px; }

  #varno-newsletter-popup .vnp-text {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 16px;
  }

  #varno-newsletter-popup .vnp-form {
    flex-direction: column;
  }

  #varno-newsletter-popup .vnp-input,
  #varno-newsletter-popup .vnp-button {
    width: 100%;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    flex: 0 0 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #varno-newsletter-popup { transition: none; }
}