/* ============================================================
   Let Me Know Notify - Frontend Styles
   ============================================================ */

/* ======================= دکمه پایه ======================= */
body .lmkn-btn,
body a.lmkn-btn,
body button.lmkn-btn,
body .woocommerce .lmkn-btn,
body .woocommerce ul.products li.product .lmkn-btn,
body .woocommerce div.product .lmkn-btn,
body .woocommerce-page .lmkn-btn,
body.single-product .lmkn-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 18px !important;
    background: linear-gradient(135deg, #ff9800 0%, #e53935 100%) !important;
    background-color: #ff5722 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    text-transform: none !important;
    box-shadow: 0 4px 12px rgba(229, 57, 53, .28) !important;
    margin: 4px 0 !important;
    min-height: 40px !important;
    height: auto !important;
    max-width: 100% !important;
    font-family: inherit !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

body .lmkn-btn:hover,
body .lmkn-btn:focus,
body .lmkn-btn:active {
    background: linear-gradient(135deg, #ff9800 0%, #d32f2f 100%) !important;
    background-color: #e53935 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 57, 53, .42) !important;
    border: 0 !important;
    text-decoration: none !important;
}

body .lmkn-btn::before {
    content: "\1F514";
    font-size: 13px;
    line-height: 1;
    display: inline-block;
}

body .lmkn-shop-btn {
    width: 100% !important;
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}

/* دکمه صفحه محصول - هم‌عرض افزودن به سبد خرید */
body.single-product .lmkn-single-btn,
body .lmkn-variation-btn-wrap .lmkn-btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    box-sizing: border-box !important;
}

body .lmkn-variation-btn-wrap {
    margin: 12px 0 0 !important;
    width: 100% !important;
    display: none;
}

/* ======================= Modal ======================= */
#lmkn-modal.lmkn-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}
#lmkn-modal.lmkn-modal.is-open { display: flex !important; }

#lmkn-modal .lmkn-modal-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, .55) !important;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 0 !important;
}

#lmkn-modal .lmkn-modal-box {
    position: relative !important;
    background: #ffffff !important;
    color: #111111 !important;
    width: 100% !important;
    max-width: 420px !important;
    border-radius: 14px !important;
    padding: 26px 22px 22px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35) !important;
    box-sizing: border-box !important;
    animation: lmknPop .25s ease;
    font-family: inherit !important;
    direction: rtl !important;
    text-align: right !important;
}

@keyframes lmknPop {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

#lmkn-modal .lmkn-modal-close {
    position: absolute !important;
    top: 10px !important;
    left: 12px !important;
    width: 32px !important;
    height: 32px !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 26px !important;
    line-height: 1 !important;
    color: #666 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    padding: 0 !important;
    box-shadow: none !important;
}
#lmkn-modal .lmkn-modal-close:hover {
    background: #f2f2f2 !important;
    color: #e53935 !important;
}

#lmkn-modal .lmkn-product {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 0 16px !important;
}
#lmkn-modal .lmkn-product-img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background: #f5f5f5 !important;
    flex-shrink: 0;
}
#lmkn-modal .lmkn-product-title {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111 !important;
    line-height: 1.5 !important;
}
#lmkn-modal .lmkn-desc {
    font-size: 13px !important;
    color: #555 !important;
    margin: 0 0 14px !important;
    line-height: 1.9 !important;
}
#lmkn-modal .lmkn-field { margin: 0 0 10px !important; }

#lmkn-modal .lmkn-phone {
    width: 100% !important;
    padding: 13px 14px !important;
    border: 2px solid #eaeaea !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    direction: ltr !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    outline: none !important;
    background: #fff !important;
    color: #111 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    height: auto !important;
}
#lmkn-modal .lmkn-phone:focus { border-color: #ff9800 !important; }

#lmkn-modal .lmkn-phone::placeholder {
    color: #c9c9c9 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
}
#lmkn-modal .lmkn-phone::-webkit-input-placeholder {
    color: #c9c9c9 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}
#lmkn-modal .lmkn-phone::-moz-placeholder {
    color: #c9c9c9 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}
#lmkn-modal .lmkn-phone:-ms-input-placeholder {
    color: #c9c9c9 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}
#lmkn-modal .lmkn-phone:focus::placeholder { color: #dcdcdc !important; }

#lmkn-modal .lmkn-msg {
    display: none;
    font-size: 13px !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    margin: 0 0 10px !important;
    line-height: 1.7 !important;
}
#lmkn-modal .lmkn-msg-error   { background: #fdecea !important; color: #c62828 !important; }
#lmkn-modal .lmkn-msg-success { background: #e8f5e9 !important; color: #2e7d32 !important; }

#lmkn-modal .lmkn-submit {
    display: block !important;
    width: 100% !important;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #ff9800 0%, #e53935 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform .2s, box-shadow .2s !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 12px rgba(229, 57, 53, .28) !important;
}
#lmkn-modal .lmkn-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(229, 57, 53, .4) !important;
}
#lmkn-modal .lmkn-submit:disabled {
    opacity: .65 !important;
    cursor: wait !important;
}

@media (max-width: 480px) {
    #lmkn-modal .lmkn-modal-box { padding: 22px 18px 18px !important; }
    #lmkn-modal .lmkn-product-img { width: 54px !important; height: 54px !important; }
}