/* HappyYumi newsletter — loaded outside Vite so Hostinger/UCSS cannot strip it. */

.hy-newsletter {
  position: relative;
  margin: 0;
  padding: clamp(56px, 8vw, 88px) clamp(20px, 4vw, 48px);
  background: var(--color-paper, #faf6ee);
  border-top: 1px solid rgba(74, 93, 78, 0.1);
}

.hy-newsletter__inner {
  max-width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 52px) clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(74, 93, 78, 0.12);
  box-shadow: 0 24px 64px rgba(28, 27, 25, 0.06);
  text-align: center;
  color: var(--color-ink, #2a332c);
}

.hy-newsletter__eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-olive, #4a5d4e);
}

.hy-newsletter__title {
  margin: 0;
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-ink, #2a332c);
}

.hy-newsletter__lead {
  margin: 14px auto 0;
  max-width: 42ch;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  color: rgba(42, 51, 44, 0.78);
}

.hy-newsletter__form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.hy-newsletter__honeypot,
.hy-newsletter__form input[name="hy_nl_hp"] {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  pointer-events: none !important;
}

.hy-newsletter__form input[type="email"] {
  box-sizing: border-box;
  flex: 1 1 240px;
  max-width: 320px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(74, 93, 78, 0.22);
  background: var(--color-paper, #faf6ee);
  color: var(--color-ink, #2a332c);
  font: inherit;
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
}

.hy-newsletter__form input[type="email"]::placeholder {
  color: rgba(42, 51, 44, 0.45);
}

.hy-newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent, #c45c26);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.18);
}

.hy-newsletter__submit,
.hy-newsletter__form button[type="submit"] {
  box-sizing: border-box;
  flex: 0 0 auto;
  padding: 14px 26px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--color-accent, #c45c26) !important;
  color: #fff !important;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hy-newsletter__submit:hover,
.hy-newsletter__form button[type="submit"]:hover {
  background: var(--color-accent-hover, #9e4520) !important;
  transform: translateY(-1px);
}

.hy-newsletter__feedback {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--color-success, #3e6f46);
}

.hy-newsletter__legal {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(42, 51, 44, 0.65);
}

.hy-newsletter__legal a {
  color: var(--color-olive, #4a5d4e);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hy-newsletter__legal a:hover {
  color: var(--color-accent, #c45c26);
}

@media (max-width: 560px) {
  .hy-newsletter__form input[type="email"],
  .hy-newsletter__submit,
  .hy-newsletter__form button[type="submit"] {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }
}
