/*NL HP*/

.content-wrapper:has(>.container>.newsletter-section) {
    background: linear-gradient(180deg, #46835C 0%, #1D7139 100%);
}


/* ── wrapper ── */

.newsletter-section {
    width: 100%;
    background: linear-gradient(180deg, #46835C 0%, #1D7139 100%);
    padding: 72px 24px 80px;
    box-sizing: border-box;
    font-size: 20px;
}

.newsletter-section h2,
.newsletter-section h3,
.newsletter-section a,
.newsletter-section p,
.newsletter-section span,
.newsletter-section label {
    color: #fff !important;
}

.newsletter-inner {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.newsletter-inner p {
    text-align: center;
}

label[for="newsletterWidget"] {
    display: none !important;
}

form[id="formNewsletterWidget"] {
    margin: 0 auto !important;
}


/* ── nadpis ── */

.newsletter-heading {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px;
}


/* ── podtitulek ── */

.newsletter-sub {
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 36px;
    line-height: 1.6;
}


/* ── formulář ──
   Ostrý Shoptet vykresluje formulář jinak než původní návrh - žádný
   .newsletter-field-wrap/.newsletter-input/.newsletter-btn v HTML není,
   místo toho defaultní .form-group/.form-control-wrapper/.form-control
   a tlačítko je jen button.btn.btn-primary. Mezi emailovým polem a
   tlačítkem je navíc v DOM div.consents (souhlas se zpracováním údajů),
   takže tlačítko není ani sousedem inputu - spojení "do pilulky" i pořadí
   (souhlas až pod tím) proto řešíme přes flex + order na fieldsetu. */

   @media(min-width: 768px) {
    :where(.ums_forms_redesign--on) .subscribe-form {
        max-width: 100% !important;
        width: 100% !important;
    }
   }

.subscribe-form fieldset {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    max-width: 650px !important;
    margin: 0 auto;
}

.subscribe-form .smart-label-wrapper {
    order: 1;
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
}

.subscribe-form .form-control-wrapper {
    height: 100%;
}

.subscribe-form .form-control {
    height: 47px;
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #d9d0d0;
    border-right: none;
    border-radius: 4px 0 0 4px !important;
    padding: 5px 5px 5px 10px;
    font-size: 15px;
    color: #333;
}

.subscribe-form .form-control::placeholder {
    color: #aaa;
}

.subscribe-form button[type="submit"] {
    order: 2;
    flex-shrink: 0;
    background: #AD9138;
    color: #fff;
    border: none;
    padding: 8px 28px;
    font-size: 16px;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    height: 47px;
    border-radius: 0 4px 4px 0;
}

.subscribe-form button[type="submit"]:hover {
    background: #D4AF37;
}

.subscribe-form button[type="submit"]:active {
    transform: scale(0.97);
}

.subscribe-form .consents {
    order: 3;
    flex-basis: 100%;
    margin: 14px 0 0;
}


/* ── souhlas ── */

.subscribe-form .consents .label {
    font-size: 13px;
    margin: 0;
}

.subscribe-form .consents a {
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ── mobil < 768px ── */

@media (min-width: 768px) {
    :where(.ums_forms_redesign--on) .form-control-wrapper {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .newsletter-section {
        padding: 56px 0px 64px;
        font-size: 16px;
    }
    .newsletter-heading {
        font-size: 32px;
        line-height: 1.25;
        letter-spacing: -0.3px;
    }
    .newsletter-sub {
        font-size: 16px;
        margin-bottom: 28px;
    }
    .subscribe-form fieldset {
        max-width: 100%;
    }
    .subscribe-form .form-control {
        padding: 4px 4px 4px 18px;
    }
    .subscribe-form button[type="submit"] {
        padding: 12px 20px;
        font-size: 12px;
        white-space: normal;
    }
    .subscribe-form .consents .label {
        font-size: 12px;
        line-height: 1.5;
    }
}

.newsletter-section input:focus,
.newsletter-section input:focus:not(:focus-visible),
.newsletter-section input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    /* Některé frameworky jako Bootstrap přidávají i stín */
}

@media (min-width: 768px) {
    .subscribe-form input,
    .subscribe-form input:placeholder,
    .subscribe-form button,
    .subscribe-form .form-control {
        font-size: 16px !important;
    }
}

.subscribe-form input,
.subscribe-form input:placeholder,
.subscribe-form button,
.subscribe-form :where(.ums_forms_redesign--off) .form-control,
.subscribe-form :where(.ums_forms_redesign--off) input {
    font-size: 16px !important;
}