.wpsd-modal { display: none; position: fixed; inset: 0; z-index: 999999; }
.wpsd-modal.is-open { display: block; }
.wpsd-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.wpsd-modal__box { position: relative; max-width: 480px; margin: 8vh auto; background: #fff; padding: 24px; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.25); color: #111; }
.wpsd-modal__close { position: absolute; right: 12px; top: 10px; background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
.wpsd-row { display: flex; gap: 8px; margin-top: 8px; }
.wpsd-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; }
.wpsd-row button,
#wpsd-save-store { padding: 10px 16px; border: 0; border-radius: 6px; background: #111; color: #fff; cursor: pointer; }
.wpsd-result { margin-top: 14px; padding: 10px 12px; border-radius: 6px; background: #f6f6f6; }
.wpsd-result:empty { display:none; }
.wpsd-result.is-success { background: #e7f7ec; color: #145c2e; }
.wpsd-result.is-error { background: #fff0f0; color: #a11; }
.wpsd-store-selector { margin-top: 14px; display: grid; gap: 8px; }
.wpsd-store-selector select { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; }
.wpsd-change-pincode { position: fixed; right: 18px; bottom: 18px; z-index: 99999; border: 0; border-radius: 999px; padding: 10px 16px; background: #111; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); cursor: pointer; }
@media (max-width: 600px) {
    .wpsd-modal__box { margin: 5vh 16px; }
    .wpsd-row { flex-direction: column; }
    .wpsd-change-pincode { right: 12px; bottom: 12px; }
}
