.slimwrapper.n_order {
    position: relative;
    padding-top: 72px;
}

.purchase-help-button {
    position: absolute;
    top: 14px;
    right: 15px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(35, 39, 43, .09);
    color: #686868;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.purchase-help-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #1c9d35;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.purchase-help-button:hover {
    border-color: #bfc9c1;
    box-shadow: 0 5px 16px rgba(35, 39, 43, .13);
    color: #424242;
    transform: translateY(-1px);
}

.purchase-help-button:focus,
.purchase-help-close:focus,
.purchase-help-submit:focus,
.purchase-help-whatsapp:focus,
.purchase-help-success button:focus {
    outline: 3px solid rgba(28, 157, 53, .28);
    outline-offset: 2px;
}

body.purchase-help-open {
    overflow: hidden !important;
}

.purchase-help-modal[hidden],
.purchase-help-success[hidden] {
    display: none !important;
}

.purchase-help-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #17213a;
    font-family: Arial, Helvetica, sans-serif;
}

.purchase-help-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 28, 43, .58);
}

.purchase-help-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 570px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 26px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(12, 22, 39, .28);
}

.purchase-help-modal.is-embedded {
    align-items: flex-start;
}

.purchase-help-modal.is-embedded .purchase-help-dialog {
    margin-top: 10px;
}

.purchase-help-modal.is-embedded .purchase-help-close {
    right: 70px;
}

.purchase-help-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #42506a;
    font-size: 30px;
    font-weight: 300;
    line-height: 34px;
}

.purchase-help-close:hover {
    background: #f2f4f7;
    color: #17213a;
}

.purchase-help-heading {
    padding-right: 34px;
}

.purchase-help-heading h2 {
    margin: 0 0 5px;
    color: #17213a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.purchase-help-heading p {
    margin: 0 0 20px;
    color: #61708a;
    font-size: 15px;
}

.purchase-help-card {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    padding: 17px;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    background: #fff;
}

.purchase-help-card h3 {
    margin: 0 0 5px;
    color: #17213a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.purchase-help-card p {
    margin: 0;
    color: #53627c;
    font-size: 13px;
    line-height: 1.48;
}

.purchase-help-card-voucher {
    border-color: #f1d5b6;
    background: #fffaf5;
}

.purchase-help-card-purchase {
    display: block;
    margin-bottom: 0;
    border-color: #d9e3f8;
    background: #f8faff;
}

.purchase-help-card-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff0df;
    color: #db7a1e;
}

.purchase-help-card-purchase .purchase-help-card-icon {
    background: #e8efff;
    color: #3569d4;
}

.purchase-help-card-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.purchase-help-card-intro {
    display: flex;
    gap: 16px;
    margin-bottom: 15px;
}

.purchase-help-fields-row {
    display: flex;
    gap: 12px;
}

.purchase-help-fields-row .purchase-help-field {
    flex: 1 1 0;
}

.purchase-help-field {
    margin-bottom: 11px;
}

.purchase-help-field label {
    display: block;
    margin-bottom: 5px;
    color: #25324a;
    font-size: 12px;
    font-weight: 700;
}

.purchase-help-field label span {
    color: #d84334;
}

.purchase-help-field input,
.purchase-help-field textarea {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd4e4;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
    color: #26334b;
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.purchase-help-field input {
    height: 42px;
}

.purchase-help-field textarea {
    min-height: 90px;
    resize: vertical;
}

.purchase-help-field input:focus,
.purchase-help-field textarea:focus {
    border-color: #4778dc;
    outline: 3px solid rgba(71, 120, 220, .16);
}

.purchase-help-field.has-error input,
.purchase-help-field.has-error textarea {
    border-color: #c83d31;
}

.purchase-help-error {
    display: block;
    min-height: 15px;
    padding-top: 3px;
    color: #b42e25;
    font-size: 11px;
}

.purchase-help-context {
    margin: 2px 0 12px;
    padding: 10px 12px;
    border: 1px solid #dbe2ee;
    border-radius: 7px;
    background: #f2f5fa;
}

.purchase-help-context-title {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #34435d;
    font-size: 11px;
}

.purchase-help-context-title svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.purchase-help-context-title span,
.purchase-help-context p {
    color: #66748c;
}

.purchase-help-context p {
    margin: 5px 0 0;
    font-size: 11px;
}

.purchase-help-submit,
.purchase-help-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.purchase-help-submit {
    border: 1px solid #e84a20;
    background: #ed4e24;
    color: #fff;
}

.purchase-help-submit:hover {
    border-color: #d63d16;
    background: #dc421b;
}

.purchase-help-submit[disabled] {
    cursor: wait;
    opacity: .65;
}

.purchase-help-whatsapp {
    gap: 8px;
    margin-top: 9px;
    border: 1px solid #16a75b;
    background: #fff;
    color: #13944f;
    text-decoration: none;
}

.purchase-help-whatsapp:hover {
    background: #f0fbf5;
    color: #0b7d40;
    text-decoration: none;
}

.purchase-help-whatsapp svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.purchase-help-status {
    display: none;
    margin: 0 0 10px;
    padding: 9px 11px;
    border-radius: 6px;
    font-size: 12px;
}

.purchase-help-status.is-error {
    display: block;
    border: 1px solid #efc3bf;
    background: #fff1f0;
    color: #9e2921;
}

.purchase-help-privacy {
    display: flex;
    gap: 8px;
    margin-top: 12px !important;
    color: #68758b !important;
    font-size: 10px !important;
}

.purchase-help-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.purchase-help-success {
    padding: 55px 20px 40px;
    text-align: center;
}

.purchase-help-success > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #e8f8ee;
    color: #168b48;
    font-size: 30px;
}

.purchase-help-success h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.purchase-help-success p {
    max-width: 380px;
    margin: 0 auto 20px;
    color: #58667e;
    line-height: 1.5;
}

.purchase-help-success button {
    min-width: 130px;
    padding: 10px 18px;
    border: 1px solid #d5dae2;
    border-radius: 7px;
    background: #fff;
    color: #26334b;
    font-weight: 700;
}

@media (max-width: 560px) {
    .slimwrapper.n_order {
        padding-top: 66px;
    }

    .purchase-help-button {
        top: 12px;
        right: 12px;
        min-height: 40px;
        padding: 7px 14px;
    }

    .purchase-help-modal {
        align-items: flex-end;
        padding: 0;
    }

    .purchase-help-modal.is-embedded {
        align-items: flex-start;
    }

    .purchase-help-dialog {
        max-height: 94vh;
        padding: 22px 16px max(18px, env(safe-area-inset-bottom));
        border-radius: 16px 16px 0 0;
    }

    .purchase-help-modal.is-embedded .purchase-help-dialog {
        margin-top: 0;
        border-radius: 0 0 16px 16px;
    }

    .purchase-help-heading h2 {
        font-size: 24px;
    }

    .purchase-help-card {
        padding: 14px;
    }

    .purchase-help-card-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .purchase-help-fields-row {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .purchase-help-button {
        transition: none;
    }
}
