.help-offer {
    position: fixed;
    right: 5.15rem;
    bottom: 3.95rem;
    z-index: 1090;
}

body.help-offer-modal-open {
    overflow: hidden;
}

.help-offer[hidden],
.help-offer__backdrop[hidden],
.help-offer__modal[hidden],
.help-offer--catalog-hidden .help-offer__card {
    display: none !important;
}

.help-offer__card {
    position: relative;
    width: min(24rem, calc(100vw - 7rem));
    padding: 1rem 1rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(255, 214, 102, 0.26), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 250, 247, 0.96) 100%);
    box-shadow: 0 22px 48px rgba(5, 46, 49, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.help-offer__eyebrow,
.help-offer__modal-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    background: rgba(12, 175, 96, 0.12);
    color: #0a8c4f;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.help-offer__title,
.help-offer__modal-title {
    margin: 0;
    color: #052e31;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.18;
}

.help-offer__text,
.help-offer__modal-text {
    margin: 0.65rem 0 0;
    color: #547174;
    font-size: 0.86rem;
    line-height: 1.55;
}

.help-offer__close,
.help-offer__modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(5, 46, 49, 0.06);
    color: #5f777b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.help-offer__close:hover,
.help-offer__close:focus-visible,
.help-offer__modal-close:hover,
.help-offer__modal-close:focus-visible {
    background: rgba(12, 175, 96, 0.14);
    color: #0caf60;
    outline: none;
    transform: translateY(-1px);
}

.help-offer__close svg,
.help-offer__modal-close svg {
    width: 0.95rem;
    height: 0.95rem;
}

.help-offer__actions,
.help-offer__form-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.help-offer__actions {
    margin-top: 1rem;
}

.help-offer__button,
.help-offer__submit,
.help-offer__cancel {
    min-height: 2.9rem;
    border-radius: 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.help-offer__button:hover,
.help-offer__button:focus-visible,
.help-offer__submit:hover,
.help-offer__submit:focus-visible,
.help-offer__cancel:hover,
.help-offer__cancel:focus-visible {
    outline: none;
    transform: translateY(-1px);
}

.help-offer__button--primary,
.help-offer__submit {
    flex: 1 1 11rem;
    border: 0;
    background: linear-gradient(135deg, #0caf60 0%, #0a8c4f 100%);
    color: #fff;
    box-shadow: 0 14px 26px rgba(12, 175, 96, 0.2);
}

.help-offer__button--ghost,
.help-offer__cancel {
    flex: 1 1 10rem;
    border: 1px solid rgba(5, 46, 49, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: #052e31;
}

.help-offer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1180;
    background: rgba(5, 18, 20, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.help-offer__modal {
    position: fixed;
    inset: 0;
    z-index: 1190;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.help-offer__dialog {
    position: relative;
    width: min(36rem, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.45rem;
    border-radius: 1.45rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    box-shadow: 0 28px 70px rgba(5, 46, 49, 0.24);
}

.help-offer__modal-copy {
    padding-right: 2.5rem;
}

.help-offer__form {
    margin-top: 1.2rem;
}

.help-offer__field {
    display: block;
}

.help-offer__field + .help-offer__field {
    margin-top: 0.95rem;
}

.help-offer__label {
    display: block;
    margin-bottom: 0.38rem;
    color: #052e31;
    font-size: 0.88rem;
    font-weight: 600;
}

.help-offer__input,
.help-offer__textarea {
    width: 100%;
    border: 1px solid #d7dfe0;
    border-radius: 0.95rem;
    background: #fff;
    color: #052e31;
    font-size: 0.96rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-offer__input {
    min-height: 3rem;
    padding: 0 0.95rem;
}

.help-offer__textarea {
    min-height: 8rem;
    resize: vertical;
    padding: 0.85rem 0.95rem;
}

.help-offer__input:focus,
.help-offer__textarea:focus {
    outline: none;
    border-color: #0caf60;
    box-shadow: 0 0 0 3px rgba(12, 175, 96, 0.14);
}

.help-offer__hint {
    display: block;
    margin-top: 0.45rem;
    color: #6d8286;
    font-size: 0.8rem;
    line-height: 1.45;
}

.help-offer__error {
    display: block;
    min-height: 1rem;
    margin-top: 0.3rem;
    color: #c43d3d;
    font-size: 0.78rem;
}

.help-offer__form-status {
    margin-top: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.95rem;
    font-size: 0.86rem;
    line-height: 1.5;
}

.help-offer__form-status--success {
    background: rgba(12, 175, 96, 0.12);
    color: #0a8c4f;
}

.help-offer__form-status--error {
    background: rgba(196, 61, 61, 0.1);
    color: #a23131;
}

.help-offer__form-actions {
    margin-top: 1.15rem;
}

.help-offer__submit[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.support-chat__callback-btn {
    min-height: 2.7rem;
    padding: 0 0.9rem;
    border: 1px solid rgba(12, 175, 96, 0.28);
    border-radius: 0.85rem;
    background: rgba(12, 175, 96, 0.08);
    color: #0a8c4f;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.support-chat__callback-btn:hover,
.support-chat__callback-btn:focus-visible {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(12, 175, 96, 0.42);
    background: rgba(12, 175, 96, 0.12);
}

.support-chat__callback-btn svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 767px) {
    .help-offer {
        right: 0.85rem;
        left: 0.85rem;
        bottom: 6.95rem;
    }

    .help-offer__card {
        width: 100%;
    }

    .help-offer__dialog {
        width: 100%;
        padding: 1.2rem;
        border-radius: 1.2rem;
    }

    .help-offer__actions,
    .help-offer__form-actions {
        flex-direction: column;
    }
}
