:root {
    --esypro-bis-primary: #ED2464;
    --esypro-bis-primary-text: #FFFFFF;
    --esypro-bis-surface: #FFFFFF;
    --esypro-bis-text: #111827;
    --esypro-bis-muted: #6B7280;
    --esypro-bis-border: rgba(148, 163, 184, 0.28);
    --esypro-bis-overlay: rgba(0, 0, 0, 0.44);
    --esypro-bis-close-bg: #BDBDBD;
    --esypro-bis-success: #15803D;
    --esypro-bis-success-bg: #DCFCE7;
    --esypro-bis-error: #B91C1C;
    --esypro-bis-error-bg: #FEE2E2;
    --esypro-bis-radius: 8px;
    --esypro-bis-popup-radius: 18px;
    --esypro-bis-shadow: 0 20px 55px rgba(15, 23, 42, 0.18);
}

body.easySellPro-back-in-stock-open {
    overflow: hidden;
}

body .easySellPro-back-in-stock-wrap[hidden],
body .easySellPro-back-in-stock-popup[hidden] {
    display: none !important;
}

body .easySellPro-back-in-stock-wrap .easySellPro-back-in-stock-button,
body .easySellPro-stock-popup-content .easySellPro-stock-submit {
    color: var(--esypro-bis-primary-text);
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-shadow: none;
    padding: 10px 20px;
    text-align: center;
    border-radius: var(--esypro-bis-radius);
    background: var(--esypro-bis-primary);
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

body .easySellPro-back-in-stock-wrap .easySellPro-back-in-stock-button:hover,
body .easySellPro-stock-popup-content .easySellPro-stock-submit:hover {
    opacity: 0.92;
}

body .easySellPro-back-in-stock-wrap .easySellPro-back-in-stock-button:active,
body .easySellPro-stock-popup-content .easySellPro-stock-submit:active {
    transform: translateY(1px);
}

body .easySellPro-back-in-stock-wrap .easySellPro-back-in-stock-button i {
    top: 3px;
    font-size: 17px;
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

body .easySellPro-back-in-stock-popup {
    display: flex;
    position: fixed;
    inset: 0;
    margin: 0 !important;
    padding: 16px;
    z-index: 100000 !important;
    animation: bs-fadeIn 0.3s ease;
    background: var(--esypro-bis-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body .easySellPro-back-in-stock-popup .easySellPro-back-in-stock-popup-inner {
    width: 100%;
    margin: auto;
    padding: 25px;
    display: block;
    max-width: 550px;
    position: relative;
    color: var(--esypro-bis-text);
    background: var(--esypro-bis-surface);
    border-radius: var(--esypro-bis-popup-radius);
    box-shadow: var(--esypro-bis-shadow);
}

body .easySellPro-back-in-stock-popup-inner .easySellPro-stock-popup-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--esypro-bis-border);
}

body .easySellPro-back-in-stock-popup-inner .easySellPro-stock-popup-header p {
    color: var(--esypro-bis-text);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

body .easySellPro-stock-product-name {
    display: block;
    margin-top: 6px;
    color: var(--esypro-bis-muted);
    font-size: 12px;
}

body .easySellPro-stock-popup-close {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: var(--esypro-bis-primary-text);
    border-radius: 7px;
    background: var(--esypro-bis-close-bg);
    border: 1px solid transparent;
    cursor: pointer;
}

body .easySellPro-stock-popup-close:hover {
    color: var(--esypro-bis-text);
    border-color: var(--esypro-bis-text);
    background: transparent;
}

body .easySellPro-stock-popup-close i {
    top: 6px;
    right: -1px;
    line-height: 0;
    font-size: 36px;
    position: relative;
}

body .easySellPro-stock-popup-content .easySellPro-stock-submit {
    width: 100%;
}

body .easySellPro-stock-popup-content .easySellPro-stock-field {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

body .easySellPro-stock-popup-content .easySellPro-stock-field--mobile {
    align-items: stretch;
    flex-direction: column;
}

body .easySellPro-stock-popup-content .easySellPro-stock-field label {
    margin: 0;
    color: var(--esypro-bis-text);
}

body .easySellPro-stock-popup-content input[type="tel"] {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--esypro-bis-text);
    background: var(--esypro-bis-surface);
    border: 1px solid var(--esypro-bis-border);
    border-radius: var(--esypro-bis-radius);
    box-sizing: border-box;
}

body .easySellPro-message {
    display: none;
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: var(--esypro-bis-radius);
}

body .easySellPro-message.is-success,
body .easySellPro-message.is-error {
    display: block;
}

body .easySellPro-message.is-success {
    color: var(--esypro-bis-success);
    background: var(--esypro-bis-success-bg);
}

body .easySellPro-message.is-error {
    color: var(--esypro-bis-error);
    background: var(--esypro-bis-error-bg);
}

body .easySellPro-back-in-stock-popup-inner.easySellPro-loading:before {
    width: 30px;
    height: 30px;
}

body .easySellPro-stock-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    body .easySellPro-back-in-stock-popup {
        align-items: flex-end;
        padding: 10px;
    }

    body .easySellPro-back-in-stock-popup .easySellPro-back-in-stock-popup-inner {
        padding: 20px;
        border-radius: 16px;
    }
}


body .easySellPro-stock-account-notice {
    padding: 16px;
    border: 1px solid var(--esypro-bis-border);
    border-radius: var(--esypro-bis-radius);
    background: rgba(148, 163, 184, 0.08);
}

body .easySellPro-stock-account-notice p {
    margin: 0 0 14px;
    color: var(--esypro-bis-text);
    line-height: 1.9;
}

body .easySellPro-stock-account-link {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    color: var(--esypro-bis-primary-text);
    background: var(--esypro-bis-primary);
    border-radius: var(--esypro-bis-radius);
    text-decoration: none;
    box-sizing: border-box;
}

body .easySellPro-stock-submit.is-submitting {
    pointer-events: none;
}

body .easySellPro-stock-submit.is-submitting:before {
    content: '';
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: esypro-bis-spin 0.7s linear infinite;
}

@keyframes esypro-bis-spin {
    to { transform: rotate(360deg); }
}
