/* Bell on products */
.kb-aio-notify-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 25;
    direction: rtl;
}
.kb-aio-bell-single {
    margin: 12px 0 16px;
    position: relative;
}
.kb-aio-bell-single .kb-aio-notify-wrap {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
}
.kb-aio-bell-btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    color: #333;
    transition: all .2s;
    padding: 0;
}
.kb-aio-bell-btn:hover {
    background: #f0f7ff;
    color: #0073aa;
    border-color: #0073aa;
}

/* Ensure relative parent for absolute bell */
.product-element-top,
.product-image-link,
.wd-product-grid .product-wrapper,
.product-wrapper,
.wd-entities-wrapper {
    position: relative;
}

/* Modal */
.kb-aio-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}
.kb-aio-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.kb-aio-modal-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 92%;
    max-width: 380px;
    padding: 22px 20px 18px;
    box-shadow: 0 16px 48px rgba(0,0,0,.2);
    z-index: 1;
}
.kb-aio-modal-close {
    position: absolute;
    top: 10px;
    left: 12px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
}
.kb-aio-modal-title {
    margin: 0 0 16px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
}
.kb-aio-modal-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
}
.kb-aio-modal-phone {
    margin: 14px 0 8px;
}
.kb-aio-modal-phone label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #555;
}
.kb-aio-phone-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    direction: ltr;
    text-align: left;
    box-sizing: border-box;
}
.kb-aio-modal-msg {
    min-height: 20px;
    font-size: 13px;
    margin-top: 8px;
}
.kb-aio-modal-msg.success { color: #0a7a0a; }
.kb-aio-modal-msg.error { color: #c00; }
.kb-aio-modal-footer {
    margin-top: 14px;
}
.kb-aio-modal-submit {
    width: 100%;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.kb-aio-modal-submit:hover { background: #005a87; }
.kb-aio-modal-submit:disabled { opacity: .6; cursor: wait; }

/* My Account */
.kb-aio-account-notifs .shop_table { margin-top: 12px; }
