/* NEWSLETTER (2026-12-03, wersja A limonkowa): tło #c1ff72, korzyści z ptaszkami, formularz w ciemnozielonej ramce.
   Wczytywany z podglad/parts/newsletter.twig (wszystkie podstrony). 1rem = 10px w motywie. */
.smp-nl .newsletter-box { display: grid !important; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; border-radius: 40px !important; padding: 56px 64px !important; position: relative; overflow: hidden; background: #c1ff72 !important; color: #083c36; }
.smp-nl .newsletter-box::before { content: ""; position: absolute; right: -140px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.smp-nl .newsletter-box > * { width: auto !important; max-width: none !important; margin: 0 !important; }
.smp-nl .newsletter-box__desc { display: block !important; position: relative; z-index: 1; text-align: left; }
.smp-nl .nl-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #083c36; color: #c1ff72; font: 800 12px/1 'Plus Jakarta Sans', sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.smp-nl .nl-badge svg { width: 16px; height: 16px; fill: currentColor; }
.smp-nl .nl-title { margin: 18px 0 20px; font: 800 46px/1.05 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; color: #083c36; text-align: left; }
.smp-nl .nl-ben { list-style: none; margin: 0 0 18px !important; padding: 0 !important; display: flex; flex-direction: column; gap: 12px; }
.smp-nl .nl-ben li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; font: 600 17px/1.4 'Plus Jakarta Sans', sans-serif; color: #083c36; }
.smp-nl .nl-ben li::before { display: none !important; }
.smp-nl .nl-ben svg { flex: 0 0 26px; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #083c36; fill: #c1ff72; }
.smp-nl .nl-note { margin: 0; font: 500 13.5px/1.45 Inter, sans-serif; color: #083c36; opacity: .8; text-align: left; }
.smp-nl .newsletter-box__form { position: relative; z-index: 1; border-radius: 28px; padding: 30px; background: #083c36; box-shadow: 0 20px 50px rgba(8,60,54,.25); }
.smp-nl .newsletter-form, .smp-nl .newsletter-form__acceptance, .smp-nl .wpcf7-list-item, .smp-nl .wpcf7-list-item label { width: 100% !important; max-width: none !important; }
.smp-nl .newsletter-form__fields { display: flex !important; flex-direction: column; gap: 12px; }
.smp-nl .newsletter-form__fields .wpcf7-form-control-wrap { width: 100%; }
.smp-nl input[type=email] { width: 100% !important; height: 60px !important; border-radius: 999px !important; padding: 0 24px !important; font: 500 17px 'Plus Jakarta Sans', sans-serif !important; border: 2px solid transparent !important; background: #fff !important; color: #083c36 !important; }
.smp-nl input[type=email]::placeholder { color: #5d7a75 !important; opacity: 1; }
.smp-nl input[type=email]:focus { border-color: #c1ff72 !important; outline: none; }
.smp-nl input[type=submit] { width: 100% !important; height: 60px !important; border-radius: 999px !important; font: 800 17px 'Plus Jakarta Sans', sans-serif !important; border: 0 !important; cursor: pointer; margin: 0 !important; background: #c1ff72 !important; color: #083c36 !important; transition: transform .2s, box-shadow .2s; }
.smp-nl input[type=submit]:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(193,255,114,.3); }
.smp-nl .newsletter-form__acceptance { margin-top: 16px !important; }
.smp-nl .wpcf7-list-item { margin: 0 !important; }
.smp-nl .wpcf7-list-item label { display: flex !important; gap: 10px; align-items: flex-start; }
.smp-nl .wpcf7-list-item-label { font: 400 12px/1.45 Inter, sans-serif !important; color: rgba(255,255,255,.75) !important; }
.smp-nl .wpcf7-not-valid-tip { color: #ffb4a8; font-size: 13px; margin: 6px 0 0 14px; }
.smp-nl .wpcf7-spinner { position: absolute; }
@media (max-width: 991px) {
  .smp-nl .newsletter-box { grid-template-columns: 1fr; gap: 28px; padding: 36px 22px !important; border-radius: 30px !important; }
  .smp-nl .nl-title { font-size: 34px; }
  .smp-nl .nl-ben li { font-size: 15.5px; }
  .smp-nl .newsletter-box__form { padding: 20px; }
}

/* KOMUNIKATY FORMULARZY CF7 (2026-12-03) – wszystkie formularze na stronie (plik wczytywany razem z newsletterem na każdej podstronie).
   Wysłano: limonka + ptaszek; błąd: jasny pomarańcz + wykrzyknik. Newsletter po zapisie chowa pole i zgodę. */
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0 !important; padding: 16px 20px 16px 64px !important; border: 0 !important; border-radius: 18px !important; position: relative; font: 700 16px/1.4 'Plus Jakarta Sans', sans-serif !important; text-align: left !important; min-height: 60px; display: flex; align-items: center; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output { display: none !important; }
.wpcf7 form .wpcf7-response-output::before { content: ""; position: absolute; left: 16px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 20px; }
.wpcf7 form.sent .wpcf7-response-output { background: #c1ff72 !important; color: #083c36 !important; box-shadow: 0 12px 30px rgba(8,60,54,.18); }
.wpcf7 form.sent .wpcf7-response-output::before { background-color: #083c36; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c1ff72' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E"); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: #fff1e6 !important; color: #8a3b00 !important; }
.wpcf7 form.invalid .wpcf7-response-output::before, .wpcf7 form.unaccepted .wpcf7-response-output::before, .wpcf7 form.payment-required .wpcf7-response-output::before, .wpcf7 form.failed .wpcf7-response-output::before, .wpcf7 form.aborted .wpcf7-response-output::before, .wpcf7 form.spam .wpcf7-response-output::before { background-color: #f08a24; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11 6h2v8h-2zm0 10h2v2h-2z'/%3E%3C/svg%3E"); }
.smp-nl form.sent .newsletter-form { display: none; }
.smp-nl form.sent .wpcf7-response-output { margin: 0 !important; padding: 26px 24px 26px 80px !important; font-size: 19px !important; min-height: 96px; }
.smp-nl form.sent .wpcf7-response-output::before { left: 24px; width: 40px; height: 40px; margin-top: -20px; background-size: 22px; }
@media (max-width: 600px) {
  .smp-nl .newsletter-box__form:has(form.sent) { padding: 12px; }
  .smp-nl form.sent .wpcf7-response-output { padding: 20px 18px 20px 66px !important; font-size: 17px !important; min-height: 80px; }
  .smp-nl form.sent .wpcf7-response-output::before { left: 16px; width: 36px; height: 36px; margin-top: -18px; background-size: 20px; }
}

/* większy napis „Newsletter Scalpmann” (właściciel 2026-12-03; duża skrzynka pocztowa była w próbie, zrezygnowano) */
.smp-nl .nl-badge { gap: 11px; padding: 12px 24px 12px 18px; font-size: 19px; letter-spacing: .05em; }
.smp-nl .nl-badge svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .smp-nl .nl-badge { font-size: 15.5px; padding: 10px 18px 10px 14px; } .smp-nl .nl-badge svg { width: 19px; height: 19px; } }

/* lead magnet: duże „−15%” + „na pierwszą sesję / za zapis do newslettera” (właściciel 2026-12-03) */
.smp-nl .nl-promo { display: flex !important; align-items: center; gap: 18px; margin: 18px 0 22px !important; }
.smp-nl .nl-promo__n { font: 800 clamp(64px, 7vw, 104px)/.9 'Plus Jakarta Sans', sans-serif; letter-spacing: -.05em; color: #083c36; white-space: nowrap; }
.smp-nl .nl-promo__t { display: flex; flex-direction: column; gap: 6px; font: 800 clamp(22px, 2.2vw, 30px)/1.1 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; color: #083c36; }
.smp-nl .nl-promo__t small { font: 600 clamp(14px, 1.2vw, 17px)/1.3 'Plus Jakarta Sans', sans-serif; letter-spacing: 0; color: #0f6b67; }
@media (max-width: 600px) { .smp-nl .nl-promo { gap: 12px; } }
/* „−15%” nad tekstem (wąska kolumna obok skrzynki) */
.smp-nl .nl-promo { flex-direction: column; align-items: flex-start; gap: 10px; }
.smp-nl .nl-promo__t { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; row-gap: 4px; }
.smp-nl .nl-promo__t small { flex-basis: 100%; }

/* „−15%” jako metka wyprzedażowa: ciemnozielona zawieszka z dziurką i sznurkiem, lekko przekrzywiona (właściciel 2026-12-03) */
.smp-nl .nl-promo__n { position: relative; display: inline-block; margin: 34px 0 10px 18px; padding: 14px 34px 16px 58px; font-size: clamp(56px, 5.6vw, 82px); color: #c1ff72; background: #083c36; border-radius: 0 16px 16px 0; clip-path: polygon(34px 0, 100% 0, 100% 100%, 34px 100%, 0 50%); transform: rotate(-6deg); transform-origin: 0 50%; box-shadow: 0 14px 30px rgba(8,60,54,.25); }
.smp-nl .nl-promo__n::before { content: ""; position: absolute; left: 22px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; border-radius: 50%; background: #c1ff72; box-shadow: inset 0 2px 3px rgba(0,0,0,.25); }
.smp-nl .nl-promo__n::after { content: ""; position: absolute; inset: 7px 7px 7px 40px; border: 2px dashed rgba(193,255,114,.45); border-radius: 0 10px 10px 0; pointer-events: none; }
@media (max-width: 600px) { .smp-nl .nl-promo__n { padding: 12px 26px 14px 50px; margin-left: 10px; } }
/* metka i tekst w jednym rzędzie – niższy newsletter (właściciel 2026-12-03) */
.smp-nl .nl-promo { flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 8px 22px; margin: 8px 0 18px !important; }
.smp-nl .nl-promo__n { margin: 12px 0 12px 10px; font-size: clamp(48px, 4.6vw, 66px); padding: 12px 28px 14px 52px; }
.smp-nl .nl-promo__t { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; font-size: clamp(20px, 1.9vw, 26px); }
.smp-nl .nl-promo__t small { flex-basis: auto; }
.smp-nl .nl-ben { margin-top: 0 !important; }
@media (max-width: 600px) { .smp-nl .nl-promo { gap: 6px 16px; } .smp-nl .nl-promo__n { font-size: 44px; padding: 10px 20px 12px 44px; } .smp-nl .nl-promo__t { font-size: 19px; } }
.smp-nl .nl-promo__n { flex: none; }
.smp-nl .nl-promo__t { min-width: 0; }
.smp-nl .nl-promo__n { margin-top: 20px; }
@media (max-width: 600px) { .smp-nl .nl-promo { flex-wrap: wrap; } .smp-nl .nl-promo__t { flex-basis: 100%; } }
