/* ==========================================================================
   NEWSLETTER.CSS - Форма подписки
   Размер: ~2 KB | Загрузка: MainView
   ========================================================================== */

.newsletter {
  background: #f8f9fa;
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  position: relative;
}

/* Желтая плашка -10% (справа внизу блока) */
.newsletter-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  padding: 20px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 140px;
}
.newsletter-badge span {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.newsletter-badge small {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.newsletter-title {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: var(--space-lg);
}
.newsletter-title strong {
  font-weight: 700;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 14px;
  color: #000;
  transition: border-color 0.3s ease;
}
.newsletter-input:focus {
  border-color: #000;
}
.newsletter-input::placeholder {
  color: #999;
}

/* Payment icons */
.newsletter-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.newsletter-payment-icons img {
  height: 24px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.newsletter-payment-icons img:hover {
  opacity: 1;
}

.newsletter-submit {
  padding: 14px 32px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.newsletter-submit:hover {
  background: #333;
}

.newsletter-disclaimer {
  margin-top: var(--space-md);
  font-size: 11px;
  color: #666;
}
.newsletter-disclaimer a {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .newsletter {
    padding: var(--space-2xl) var(--space-md);
  }
  .newsletter-badge {
    position: static;
    margin: 0 auto var(--space-lg);
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-input,
  .newsletter-submit {
    width: 100%;
    min-width: 100%;
  }
}
