.ap-stock-notify {
    margin-top: 1rem;
}
.ap-stock-notify-dialog {
    border: 0;
    padding: 0;
    max-width: min(28rem, calc(100vw - 1.5rem));
    width: 100%;
    border-radius: 12px;
    background: transparent;
    z-index: 10050;
}
.ap-stock-notify-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
}
.ap-stock-notify-panel {
    position: relative;
    background: #fff;
    color: #222;
    padding: 1.25rem 1.1rem 1.1rem;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.ap-stock-notify-close {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    right: auto;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.ap-stock-notify-panel h2 {
    font-size: 1.15rem;
    margin: 0 2.8rem 0.5rem 0;
    text-align: right;
}
.ap-stock-notify-mobile {
    direction: ltr;
    text-align: left;
}
.addCart--notify {
    white-space: normal;
    line-height: 1.3;
}
.ap-stock-notify-lede {
    margin: 0 0 1rem;
    color: #444;
}
.ap-stock-notify-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.ap-stock-notify-form .form-control {
    margin-top: 0.25rem;
}
.ap-stock-notify-form.is-done label,
.ap-stock-notify-form.is-done .visually-hidden {
    display: none;
}
.ap-dl dt { font-weight: 700; margin-top: .75rem; }
.ap-dl dd { margin: .15rem 0 0; }
.ap-stock-notify-status {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    white-space: pre-line;
}
.ap-stock-notify-status.is-ok {
    color: #1b6b3a;
}
.ap-stock-notify-status.is-err {
    color: #8a1f11;
}
body.ap-stock-notify-lock {
    overflow: hidden;
}
@media (max-width: 576px) {
    .ap-stock-notify-dialog {
        max-width: calc(100vw - 1rem);
        margin: auto 0.5rem;
    }
}
