.wbisn-trigger {
    margin-top: 0;
    text-align: left;
    margin-bottom: 12px;
}

.wbisn-trigger-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: underline;
    cursor: pointer;
}

.wbisn-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wbisn-modal.is-open {
    display: flex;
}

.wbisn-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.wbisn-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    box-sizing: border-box;
}

.wbisn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.wbisn-header h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
    color: #333;
}

.wbisn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 30px;
    line-height: 30px;
    font-weight: 300;
    cursor: pointer;
}

.wbisn-content {
    padding: 20px;
}

.wbisn-description {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.wbisn-product-name {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
}

.wbisn-field {
    margin-bottom: 12px;
}

.wbisn-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #555;
}

.wbisn-field input,
.wbisn-field select {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #333;
    border-radius: 0;
    background: #fff;
    color: #222;
    font-size: 14px;
}

.wbisn-mailing {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 22px 0 25px;
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    cursor: pointer;
}

.wbisn-mailing input {
    margin: 0;
}

.wbisn-submit {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    border: 0;
    border-radius: 2px;
    background: #292929;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    cursor: pointer;
}

.wbisn-submit:hover {
    background: #1f1f1f;
}

.wbisn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wbisn-message {
    display: none;
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.wbisn-message.success {
    display: block;
    color: #218739;
}

.wbisn-message.error {
    display: block;
    color: #c62828;
}

.wbisn-privacy {
    margin: 25px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #777;
}

body.wbisn-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .wbisn-modal {
        padding: 10px;
    }

    .wbisn-dialog {
        max-height: calc(100vh - 20px);
    }

    .wbisn-header,
    .wbisn-content {
        padding: 16px;
    }

    .wbisn-header h2 {
        font-size: 18px;
    }
}