html.gnc-chat-open {
    overflow: hidden;
}

.gnc-chat-backdrop,
.gnc-chat-backdrop * {
    box-sizing: border-box;
}

.gnc-chat-backdrop {
    align-items: center;
    background: rgba(9, 25, 51, .66);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 10050;
}

.gnc-chat-backdrop[hidden],
.gnc-chat-backdrop [hidden] {
    display: none !important;
}

.gnc-chat-dialog {
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 8px;
    box-shadow: 0 22px 65px rgba(9, 25, 51, .34);
    color: #1c2c47;
    font-family: inherit;
    max-height: min(94dvh, 900px);
    outline: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    position: relative;
    width: min(100%, 440px);
}

.gnc-chat-dialog__topline {
    background: #ed1c2e;
    height: 5px;
}

.gnc-chat-dialog__content {
    padding: 25px 28px 24px;
}

.gnc-chat-heading {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 5px;
}

.gnc-chat-heading h2 {
    color: #0d2d4b;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.23;
    margin: 0;
}

.gnc-chat-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #0d2d4b;
    display: flex;
    flex: 0 0 44px;
    font-size: 30px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    margin: -11px -12px 0 0;
    padding: 0;
    width: 44px;
}

.gnc-chat-close:hover {
    background: #f0f2f5;
}

.gnc-chat-subtitle {
    color: #637089;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 8px 0 23px;
}

.gnc-chat-field {
    margin: 0 0 16px;
}

.gnc-chat-field > label:first-child {
    color: #0d2d4b;
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gnc-chat-field > label:first-child > span {
    color: #ed1c2e;
}

.gnc-chat-field small {
    color: #637089;
    font-size: 12px;
    font-weight: 400;
}

.gnc-chat-field input[type="text"],
.gnc-chat-field input[type="email"],
.gnc-chat-field select {
    background-color: #fff;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    color: #1c2c47;
    display: block;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.25;
    min-height: 48px;
    outline: none;
    padding: 12px 13px;
    width: 100%;
}

.gnc-chat-field input:disabled {
    background: #f1f2f4;
    color: #929baa;
    cursor: not-allowed;
}

.gnc-chat-field input:focus,
.gnc-chat-field select:focus {
    border-color: #234778;
    box-shadow: 0 0 0 3px rgba(35, 71, 120, .13);
}

.gnc-chat-field [aria-invalid="true"] {
    border-color: #b42332;
}

.gnc-chat-native-select {
    display: none !important;
}

.gnc-chat-select {
    position: relative;
}

.gnc-chat-select__trigger {
    align-items: center;
    background: #fff;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    color: #1c2c47;
    display: flex;
    font-family: inherit;
    font-size: 16px;
    justify-content: space-between;
    line-height: 1.25;
    min-height: 48px;
    padding: 12px 13px;
    text-align: left;
    width: 100%;
}

.gnc-chat-select__trigger:focus,
.gnc-chat-select.is-open .gnc-chat-select__trigger {
    border-color: #234778;
    box-shadow: 0 0 0 3px rgba(35, 71, 120, .13);
    outline: none;
}

.gnc-chat-select__trigger[aria-invalid="true"] {
    border-color: #b42332;
}

.gnc-chat-select__chevron {
    border-bottom: 2px solid #0d2d4b;
    border-right: 2px solid #0d2d4b;
    height: 7px;
    margin: -4px 3px 0 14px;
    transform: rotate(45deg);
    transition: transform .18s ease, margin .18s ease;
    width: 7px;
}

.gnc-chat-select.is-open .gnc-chat-select__chevron {
    margin-top: 4px;
    transform: rotate(225deg);
}

.gnc-chat-select__list {
    background: #fff;
    border: 1px solid #cbd3de;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(9, 25, 51, .18);
    left: 0;
    max-height: 248px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 5px;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 6;
}

.gnc-chat-select__option {
    background: transparent;
    border: 0;
    border-radius: 4px;
    color: #1c2c47;
    display: block;
    font-family: inherit;
    font-size: 14px;
    min-height: 38px;
    padding: 8px 10px;
    text-align: left;
    width: 100%;
}

.gnc-chat-select__option:hover,
.gnc-chat-select__option:focus {
    background: #eef2f6;
    outline: none;
}

.gnc-chat-select__option[aria-selected="true"] {
    background: #0d2d4b;
    color: #fff;
    font-weight: 700;
}

.gnc-chat-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #0d2d4b 50%), linear-gradient(135deg, #0d2d4b 50%, transparent 50%);
    background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    padding-right: 38px;
}

.gnc-chat-check {
    align-items: flex-start;
    color: #1c2c47;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.5;
    min-height: 44px;
}

.gnc-chat-check input {
    appearance: none;
    background: #fff;
    border: 1.5px solid #98a4b4;
    border-radius: 4px;
    cursor: pointer;
    flex: 0 0 19px;
    height: 19px;
    margin: 1px 0 0;
    position: relative;
    width: 19px;
}

.gnc-chat-check input:checked {
    background: #0d2d4b;
    border-color: #0d2d4b;
}

.gnc-chat-check input:checked::after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    height: 10px;
    left: 5px;
    position: absolute;
    top: 1px;
    transform: rotate(45deg);
    width: 5px;
}

.gnc-chat-individual {
    align-items: center;
    margin-bottom: -8px;
    margin-top: 8px;
}

.gnc-chat-error {
    color: #b42332;
    display: block;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 6px;
}

.gnc-chat-legal {
    border-top: 1px solid #ebedf1;
    margin: 2px 0 18px;
    padding-top: 17px;
}

.gnc-chat-legal p,
.gnc-chat-return-legal {
    color: #637089;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 13px;
}

.gnc-chat-legal a,
.gnc-chat-return-legal a {
    color: #0d2d4b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gnc-chat-marketing {
    color: #637089;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 5px;
}

.gnc-chat-marketing input:disabled {
    background: #f1f2f4;
    border-color: #c7cdd6;
    cursor: not-allowed;
}

.gnc-chat-primary {
    align-items: center;
    background: #176b43;
    border: 0;
    border-radius: 6px;
    color: #fff;
    display: flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 50px;
    padding: 0 16px;
    width: 100%;
}

.gnc-chat-primary:hover:not(:disabled) {
    background: #115534;
}

.gnc-chat-primary:disabled {
    background: #bcc4cf;
    color: #29364c;
    cursor: not-allowed;
}

.gnc-chat-primary__icon {
    background: currentColor;
    display: block;
    height: 21px;
    -webkit-mask: url("../img/whatsapp/fa-whatsapp.svg?v=20261013-1") center / contain no-repeat;
    mask: url("../img/whatsapp/fa-whatsapp.svg?v=20261013-1") center / contain no-repeat;
    width: 21px;
}

.gnc-chat-helper {
    color: #637089;
    font-size: 11.5px;
    line-height: 1.5;
    margin: 9px 0 0;
    min-height: 18px;
    text-align: center;
}

.gnc-chat-remembered {
    background: #f5f6f8;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    color: #0d2d4b;
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0 22px;
    overflow-wrap: anywhere;
    padding: 15px 16px;
}

.gnc-chat-edit {
    background: transparent;
    border: 0;
    color: #0d2d4b;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 13px auto 20px;
    min-height: 44px;
    padding: 8px 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnc-chat-return-legal {
    border-top: 1px solid #ebedf1;
    margin: 6px 0 0;
    padding-top: 14px;
}

.gnc-chat-close:focus-visible,
.gnc-chat-primary:focus-visible,
.gnc-chat-edit:focus-visible,
.gnc-chat-check input:focus-visible {
    outline: 3px solid #234778;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .gnc-chat-backdrop {
        align-items: flex-end;
        padding: 0;
    }

    .gnc-chat-dialog {
        border: 0;
        border-radius: 16px 16px 0 0;
        height: 100dvh;
        max-height: 100dvh;
        max-width: 100%;
        width: 100%;
    }

    .gnc-chat-dialog.is-return {
        height: auto;
    }

    .gnc-chat-dialog__content {
        padding: 22px 22px max(22px, env(safe-area-inset-bottom));
    }

    .gnc-chat-heading h2 {
        font-size: 22px;
    }

    .gnc-chat-subtitle {
        margin-bottom: 20px;
    }

    .gnc-chat-field {
        margin-bottom: 14px;
    }

    .gnc-chat-legal {
        margin-bottom: 14px;
        padding-top: 13px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .gnc-chat-dialog {
        animation: gncChatShow .19s ease-out;
    }
}

@keyframes gncChatShow {
    from { opacity: .6; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
