#nwg-root, #nwg-root * { box-sizing: border-box; }
html.nwg-modal-open { overflow: hidden; }

#nwg-root {
    --nwg-color: #012A24;
    --nwg-hover-color: #F2E1D1;
    --nwg-button-text: #FFFFFF;
    --nwg-button-hover-text: #012A24;
    --nwg-button-size: 58px;
    --nwg-side: 24px;
    --nwg-bottom: 24px;
    --nwg-shadow: 0 18px 36px rgba(1, 42, 36, .10);
    --nwg-font-family: var(--e-global-typography-primary-font-family, var(--wp--preset--font-family--primary, inherit));
    font-family: var(--nwg-font-family) !important;
    position: relative;
    z-index: 2147482000;
}

#nwg-root button,
#nwg-root input,
#nwg-root textarea,
#nwg-root select {
    font-family: var(--nwg-font-family) !important;
}

#nwg-root button {
    appearance: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

#nwg-root .nwg-floating-button {
    position: fixed;
    bottom: var(--nwg-bottom);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: var(--nwg-button-size) !important;
    min-width: var(--nwg-button-size) !important;
    max-width: none !important;
    height: var(--nwg-button-size) !important;
    min-height: var(--nwg-button-size) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--nwg-color) !important;
    color: var(--nwg-button-text) !important;
    font-family: var(--nwg-font-family) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: var(--nwg-shadow) !important;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, transform .20s ease, box-shadow .25s ease, filter .20s ease;
    z-index: 2147482001;
}
#nwg-root.nwg-label-enabled .nwg-floating-button { width: auto !important; padding: 0 calc(var(--nwg-button-size) * .31) !important; }
#nwg-root.nwg-position-right .nwg-floating-button { right: var(--nwg-side) !important; left: auto !important; }
#nwg-root.nwg-position-left .nwg-floating-button { right: auto !important; left: var(--nwg-side) !important; }
#nwg-root .nwg-floating-button:hover { transform: translateY(-2px) scale(1.02); background: var(--nwg-hover-color) !important; color: var(--nwg-button-hover-text) !important; filter: none; box-shadow: 0 20px 40px rgba(1, 42, 36, .16) !important; }
#nwg-root .nwg-floating-button:focus-visible { outline: 3px solid rgba(1,42,36,.25); outline-offset: 4px; }
.nwg-whatsapp-icon { width: calc(var(--nwg-button-size) * .535); height: calc(var(--nwg-button-size) * .535); display: inline-flex; flex: 0 0 auto; }
.nwg-whatsapp-icon svg, .nwg-submit-icon svg, .nwg-modal-icon svg { width: 100%; height: 100%; display: block; }
.nwg-floating-label { font-size: 15px; line-height: 1; font-weight: 700; white-space: nowrap; }

.nwg-pulse-enabled .nwg-floating-button::before {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid var(--nwg-color);
    border-radius: inherit;
    opacity: 0;
    animation: nwg-pulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes nwg-pulse { 0% { transform: scale(.92); opacity: .55; } 70%,100% { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nwg-pulse-enabled .nwg-floating-button::before { animation: none; } .nwg-floating-button, .nwg-modal, .nwg-overlay { transition: none !important; } }

.nwg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 42, 36, .52);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .18s ease;
    z-index: 2147482002;
}
#nwg-root .nwg-modal {
    position: fixed;
    top: auto !important;
    left: auto !important;
    right: var(--nwg-side) !important;
    bottom: calc(var(--nwg-bottom) + var(--nwg-button-size) + 16px) !important;
    width: min(420px, calc(100vw - 48px)) !important;
    max-width: 420px !important;
    max-height: calc(100vh - var(--nwg-bottom) - 98px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 30px !important;
    border: 0 !important;
    border-radius: 22px !important;
    background: #fff !important;
    color: #012A24 !important;
    box-shadow: var(--nwg-shadow) !important;
    opacity: 0;
    transform: translateY(10px) scale(.985);
    transform-origin: right bottom;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 2147482003;
}
#nwg-root.nwg-position-left .nwg-modal { right: auto !important; left: var(--nwg-side) !important; transform-origin: left bottom; }
.nwg-open .nwg-overlay { opacity: 1; }
#nwg-root.nwg-open .nwg-modal { opacity: 1; transform: translateY(0) scale(1); }
#nwg-root .nwg-close {
    position: absolute !important;
    top: 13px !important;
    right: 14px !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(242,225,209,.95) !important;
    color: #012A24 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    transition: background-color .18s ease, color .18s ease, transform .18s ease !important;
}
#nwg-root .nwg-close .nwg-close-icon {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    overflow: visible !important;
    color: inherit !important;
    fill: none !important;
    stroke: currentColor !important;
    pointer-events: none !important;
}
#nwg-root .nwg-close:hover {
    background: #012A24 !important;
    color: #FFFFFF !important;
    transform: scale(1.06);
}
#nwg-root .nwg-close:focus-visible {
    outline: 3px solid rgba(1,42,36,.24) !important;
    outline-offset: 2px !important;
}
#nwg-root .nwg-modal-icon { width: 44px; height: 44px; margin: 0 0 14px; color: #012A24 !important; }
#nwg-root .nwg-modal h3 { margin: 0 42px 8px 0; font-family: var(--nwg-font-family) !important; font-size: 24px; line-height: 1.2; font-weight: 400; color: #012A24 !important; }
#nwg-root .nwg-description { margin: 0 0 22px; color: rgba(1,42,36,.68) !important; font-size: 15px; line-height: 1.55; }
#nwg-root .nwg-field-label { display: block; margin: 14px 0 7px; color: #012A24 !important; font-size: 13px; font-weight: 700; }
#nwg-root .nwg-input, #nwg-root .nwg-phone-input {
    width: 100%;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    border: 1px solid rgba(1,42,36,.18) !important;
    border-radius: 12px !important;
    background: rgba(242,225,209,.35) !important;
    color: #012A24 !important;
    box-shadow: none !important;
    font-family: var(--nwg-font-family) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.nwg-input { padding: 0 14px !important; }
#nwg-root .nwg-input:focus, #nwg-root .nwg-phone-input:focus { border-color: #012A24 !important; box-shadow: 0 0 0 4px rgba(1,42,36,.12) !important; }
.nwg-phone-wrap { position: relative; display: flex; width: 100%; }
#nwg-root .nwg-country-button {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 10px 0 12px !important;
    border: 1px solid rgba(1,42,36,.18) !important;
    border-right: 0 !important;
    border-radius: 12px 0 0 12px !important;
    background: #F2E1D1 !important;
    color: #012A24 !important;
    box-shadow: none !important;
    font-family: var(--nwg-font-family) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer;
    white-space: nowrap;
}
#nwg-root .nwg-country-button:hover, #nwg-root .nwg-country-button:focus { background: rgba(242,225,209,.78) !important; color: #012A24 !important; box-shadow: none !important; }
.nwg-country-flag, .nwg-option-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 18px; line-height: 1; }
.nwg-emoji-flag { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; font-size: 20px; line-height: 1; }
.nwg-flag-br { position: relative; display: inline-block; width: 24px; height: 17px; overflow: hidden; border-radius: 2px; background: #009c3b; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.nwg-flag-br::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; background: #ffdf00; transform: translate(-50%, -50%) rotate(45deg); }
.nwg-flag-br::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: #002776; transform: translate(-50%, -50%); }
.nwg-country-code { font-size: 14px; font-weight: 650; }
.nwg-country-arrow { color: rgba(1,42,36,.55); font-size: 11px; }
#nwg-root .nwg-phone-input { flex: 1 1 auto !important; min-width: 0 !important; padding: 0 14px !important; border-radius: 0 12px 12px 0 !important; }
.nwg-country-list {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    width: min(340px, 100%);
    max-height: 260px;
    overflow: auto;
    margin: 0;
    padding: 7px;
    list-style: none;
    border: 1px solid rgba(1,42,36,.16);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(1,42,36,.16);
    z-index: 2147482005;
}
#nwg-root .nwg-country-option {
    display: grid !important;
    grid-template-columns: 28px 1fr auto !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 7px 9px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #012A24 !important;
    box-shadow: none !important;
    text-align: left !important;
    cursor: pointer;
    font: inherit;
}
#nwg-root .nwg-country-option:hover, #nwg-root .nwg-country-option:focus { background: rgba(242,225,209,.50) !important; color: #012A24 !important; box-shadow: none !important; outline: none; }
.nwg-option-name { font-size: 14px; }
.nwg-option-code { color: rgba(1,42,36,.68); font-size: 13px; }
.nwg-hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
#nwg-root .nwg-consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; color: rgba(1,42,36,.68) !important; font-size: 12px; line-height: 1.5; cursor: pointer; }
#nwg-root .nwg-consent input[type="checkbox"] { position: relative !important; flex: 0 0 18px !important; width: 18px !important; min-width: 18px !important; height: 18px !important; min-height: 18px !important; margin: 1px 0 0 !important; padding: 0 !important; appearance: none !important; border: 1px solid rgba(1,42,36,.22) !important; border-radius: 5px !important; background: #fff !important; box-shadow: none !important; cursor: pointer; }
#nwg-root .nwg-consent input[type="checkbox"]:checked { border-color: #012A24 !important; background: #012A24 !important; }
#nwg-root .nwg-consent input[type="checkbox"]:checked::after { content: ""; position: absolute; top: 3px; left: 6px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
#nwg-root .nwg-consent input[type="checkbox"]:focus-visible { outline: 3px solid rgba(1, 42, 36, .22); outline-offset: 2px; }
.nwg-consent a { color: #012A24; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.nwg-error { margin-top: 14px; padding: 10px 12px; border-radius: 9px; background: #F2E1D1; color: #012A24; font-size: 13px; line-height: 1.4; }
#nwg-root .nwg-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 52px !important;
    margin: 18px 0 0 !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--nwg-color) !important;
    color: var(--nwg-button-text) !important;
    font-family: var(--nwg-font-family) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, transform .18s ease, filter .18s ease, opacity .18s ease, box-shadow .25s ease;
    box-shadow: var(--nwg-shadow) !important;
}
#nwg-root .nwg-submit:hover { background: var(--nwg-hover-color) !important; color: var(--nwg-button-hover-text) !important; filter: none; transform: translateY(-1px); box-shadow: 0 20px 40px rgba(1, 42, 36, .16) !important; }
.nwg-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.nwg-submit-icon { width: 21px; height: 21px; display: inline-flex; }

@media (max-width: 767px) {
    #nwg-root .nwg-modal { top: 50% !important; right: auto !important; bottom: auto !important; left: 50% !important; width: calc(100vw - 24px) !important; max-height: calc(100vh - 24px) !important; padding: 25px 20px 22px !important; border-radius: 18px !important; transform: translate(-50%, calc(-50% + 10px)) scale(.985); transform-origin: center; }
    #nwg-root.nwg-open .nwg-modal { transform: translate(-50%, -50%) scale(1); }
    #nwg-root .nwg-modal h3 { font-size: 22px; }
    #nwg-root.nwg-position-right .nwg-floating-button { right: max(14px, var(--nwg-side)) !important; }
    #nwg-root.nwg-position-left .nwg-floating-button { left: max(14px, var(--nwg-side)) !important; }
    #nwg-root .nwg-floating-button { bottom: max(14px, var(--nwg-bottom)) !important; }
}

.nwg-form { margin: 0; padding: 0; border: 0; }
