.hwl-fab {
    position: fixed;
    right: 45px;
    bottom: 50px;
    z-index: 99990;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border-radius: 50%;
    background: #24cc63;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    transition: background .2s, transform .2s;
}

.hwl-fab:hover,
.hwl-fab:focus-visible {
    background: #189748;
    transform: translateY(-2px);
    outline: 3px solid rgba(36, 204, 99, .3);
    outline-offset: 3px;
}

.hwl-fab svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

.hwl-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(42, 34, 28, .62);
    backdrop-filter: blur(4px);
}

.hwl-overlay.is-open {
    display: flex;
}

.hwl-card {
    position: relative;
    width: min(100%, 420px);
    padding: 36px 32px 28px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #faf8f5 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    color: #2a221c;
    font-family: inherit;
    text-align: center;
}

.hwl-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #2a221c, #b48b5e, #24cc63);
    content: "";
}

.hwl-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6e6259;
    font-size: 28px;
    cursor: pointer;
}

.hwl-close:hover,
.hwl-close:focus-visible {
    background: #eee8e2;
    outline: 0;
}

.hwl-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    place-items: center;
    border-radius: 50%;
    background: #24cc63;
    box-shadow: 0 10px 25px rgba(36, 204, 99, .35);
}

.hwl-icon svg,
.hwl-submit svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.hwl-title {
    margin: 0 0 8px;
    color: #2a221c;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.hwl-subtitle {
    margin: 0 0 22px;
    color: #6e6259;
    font-size: .92rem;
    line-height: 1.55;
}

.hwl-label {
    display: block;
    margin: 0 0 6px;
    color: #654d35;
    font-size: .8rem;
    font-weight: 700;
    text-align: left;
}

.hwl-input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d8cec5;
    border-radius: 12px;
    background: #fff;
    color: #2a221c;
    font: inherit;
}

.hwl-input:focus {
    border-color: #b48b5e;
    box-shadow: 0 0 0 4px rgba(180, 139, 94, .18);
    outline: 0;
}

.hwl-input.is-invalid {
    border-color: #b42318;
}

.hwl-error {
    min-height: 20px;
    margin: 5px 0 1px;
    color: #b42318;
    font-size: .77rem;
    text-align: left;
}

.hwl-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    margin-top: 6px;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    background: #24cc63;
    box-shadow: 0 10px 25px rgba(36, 204, 99, .3);
    color: #fff;
    font: 800 .9rem/1 inherit;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
}

.hwl-submit:hover,
.hwl-submit:focus-visible {
    background: #189748;
    outline: 0;
}

.hwl-submit svg {
    width: 20px;
    height: 20px;
}

.hwl-note {
    margin: 16px 0 0;
    color: #84776c;
    font-size: .72rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .hwl-fab {
        right: 20px;
        bottom: 24px;
        width: 62px;
        height: 62px;
    }

    .hwl-card {
        padding: 32px 22px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hwl-fab {
        transition: none;
    }
}

