/* Shared newsletter presentation. Copy, form hooks and timing remain in their original files. */
.newsletter-offer,
.newsletter-offer *,
.policy-notice,
.policy-notice * { box-sizing: border-box; }
.newsletter-offer[hidden],
.policy-notice[hidden] { display: none !important; }
.newsletter-offer {
  position: fixed;
  z-index: 42;
  right: 18px;
  bottom: 18px;
  width: min(440px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px;
  border: 1px solid #e6d2a570;
  border-radius: 3px;
  background: radial-gradient(ellipse at 0 0, #205361 0, transparent 66%), #0a2a31;
  color: #fcf8ec;
  color-scheme: dark;
  box-shadow: 0 24px 80px #00191ccc, inset 0 0 0 5px #e6d2a506;
  font: 400 14px/1.65 'DM Sans', Arial, sans-serif;
}
.newsletter-offer::before {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  background: url('/assets/mockup/sashana-mandala.png') center / contain no-repeat;
}
.newsletter-offer .newsletter-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e6d2a538;
  border-radius: 50%;
  background: transparent;
  color: #e6d2a5;
  font: 400 18px/1 'DM Sans', Arial, sans-serif;
  cursor: pointer;
}
.newsletter-offer .newsletter-close:hover { background: #e6d2a515; }
.newsletter-offer > p {
  margin: 0 0 20px;
  color: #dbe4dd;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
}
.newsletter-offer > .eyebrow {
  margin-bottom: 12px;
  color: #e6d2a5;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.newsletter-offer h2 {
  max-width: none;
  margin: 0 0 18px;
  color: #fcf8ec;
  font: 400 31px/1.08 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.newsletter-offer form { display: grid; gap: 18px; }
.newsletter-offer label > span {
  display: block;
  margin: 0 0 7px;
  color: #e6d2a5;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}
.newsletter-offer input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #e6d2a55e;
  border-radius: 2px;
  background: #001f2a52;
  color: #fcf8ec;
  font: 400 16px/1.5 'DM Sans', Arial, sans-serif;
}
.newsletter-offer input[type="email"]::placeholder { color: #becfc9; opacity: 1; }
.newsletter-offer .newsletter-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}
.newsletter-offer .newsletter-consent input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: #e6d2a5;
}
.newsletter-offer .newsletter-consent span {
  margin: 0;
  color: #dbe4dd;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
}
.newsletter-offer .newsletter-consent a {
  color: #f0ddb4;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.newsletter-offer form button[type="submit"] {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  background: #fcf8ec;
  color: #0a2a31;
  font: 500 14px/1.5 'DM Sans', Arial, sans-serif;
  cursor: pointer;
}
.newsletter-offer form button[type="submit"]:hover { background: #e6d2a5; }
.newsletter-offer form button[type="submit"]:disabled { opacity: .72; cursor: wait; }
.newsletter-offer .newsletter-status {
  min-height: 0;
  margin: 14px 0 0 !important;
  color: #dbe4dd;
  font-size: 12px !important;
  font-weight: 400;
}
.newsletter-offer .newsletter-status:empty { display: none; }
.newsletter-offer .newsletter-status[data-state="success"] { color: #e6d2a5; }
.newsletter-offer .newsletter-status[data-state="error"] { color: #ffd0bc; }
.newsletter-offer :focus-visible,
.policy-notice :focus-visible { outline: 2px solid #e6d2a5; outline-offset: 3px; }

.policy-notice {
  position: fixed;
  z-index: 40;
  left: 18px;
  right: auto;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(540px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid #e6d2a55c;
  border-radius: 3px;
  background: #0a2a31;
  color: #dbe4dd;
  box-shadow: 0 14px 48px #00191c66;
  font: 400 12px/1.65 'DM Sans', Arial, sans-serif;
}
.policy-notice p { margin: 0; color: #dbe4dd; font-size: 12px; line-height: 1.65; }
.policy-notice a { color: #e6d2a5; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.policy-notice button { flex: 0 0 auto; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 2px; background: #fcf8ec; color: #0a2a31; font: 500 12px/1.5 'DM Sans', Arial, sans-serif; cursor: pointer; }
@media (max-width: 560px) {
  .newsletter-offer { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 25px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .newsletter-offer::before { width: 28px; height: 28px; margin-bottom: 18px; }
  .newsletter-offer h2 { font-size: 29px; }
  .newsletter-offer > p { font-size: 13px; }
  .newsletter-offer form { gap: 15px; }
  .policy-notice { left: 12px; right: auto; bottom: 12px; width: calc(100% - 24px); padding: 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
}
