/*
Theme Name:     قالب فاکسیز
Theme URI:      https://www.rtl-theme.com/foxiz-wordpress-theme/
Author:         لاجیکال وردپرس
Author URI:     /* ----------------------- Reset ----------------------- */


/* ----------------------- عمومی ----------------------- */




/* زیباسازی رنگ‌های هدینگ طبق درخواست */
h2 {
    color: #7b1fa2;       /* بنفش زیبا */
    font-weight: 700;
}

h3 {
    color: #e00000;       /* قرمز خوش‌رنگ */
    font-weight: 600;
}

/* ----------------------- بلاک‌ها ----------------------- */

/* EX: کلاس divimg */
.divimg {
    border-radius: 1em;
}

/* نسخه‌ی زیباتر برای div2 */
.div2 {
    background: linear-gradient(135deg, #e4ffe4, #c8f5c8); /* سبز ملایم */
    border: 2px solid #111;
    border-radius: 12px;
    padding: 35px;
    margin: 15px 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.18);
}

/* divred */
.divred,
.divpic {
    padding: 35px;
    background-color: rgb(230, 255, 255);
    border: 2px solid #aaa;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.13);
}


/* ----------------------- Align ----------------------- */


/* ----------------------- Links ----------------------- */
a {
    color: #444;
    text-decoration: none;
}
a:hover {
    color: #000;
}

/* ----------------------- footer ----------------------- */
/* جدا کردن دکمه پاسخ از محدوده نام نویسنده */
.comment-body {
    position: relative;
    padding-bottom: 20px; /* ایجاد فضا در پایین برای دکمه */
}

.comment-reply-link {
    position: relative !important; /* خارج کردن از حالت شناور روی متن */
    display: inline-block !important;
    margin-top: 10px !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    background-color: #f1f1f1; /* رنگ پس‌زمینه اختیاری برای وضوح */
    padding: 5px 15px !important;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

/* اصلاح چیدمان متای کامنت (نام و تاریخ) */
.comment-meta {
    display: block;
    margin-bottom: 10px;
}

.comment-content {
    clear: both; /* جلوگیری از تداخل با المان‌های شناور قبلی */
    margin-bottom: 10px;
}
/* مخفی در دسکتاپ */
.call-btn {
    display: none;
}

@media (max-width: 1024px) {
    .call-btn {
        display: flex;
        flex-direction: column; /* چیدمان عمودی: عکس بالا، متن پایین */
        align-items: center;
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 9999;
        text-decoration: none;
    }

    .call-btn img {
        width: 60px;
        height: 60px;
        background-color: #25d366; /* سبز واتس‌اپی */
        border-radius: 50%;
        padding: 12px;             /* ایجاد فضای داخلی برای خوشگل‌تر شدن */
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        transition: all 0.3s ease;
        
        /* انیمیشن ضربان‌دار سبز */
        animation: whatsapp-pulse 2s infinite;
    }

    .call-btn span {
        margin-top: 8px;
        font-size: 14px;
        font-weight: bold;
        color: #25d366;            /* همرنگ دکمه برای زیبایی */
        background: transparent;    /* بدون پس‌زمینه */
        text-shadow: 0px 1px 2px rgba(0,0,0,0.1);
    }

    /* تغییر حالت هنگام لمس */
    .call-btn:active img {
        transform: scale(0.9);
        filter: brightness(1.1);
    }
}

/* تعریف انیمیشن ضربان سبز دور تصویر */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0);
    }
}


/* حذف قطعی تصویر شاخص در تمام ابعاد (موبایل و دسکتاپ) */
.single-post .s-feat-outer, 
.single-post .entry-featured-image,
.single-post .featured-image,
.single-post .post-thumbnail,
.single-post .attachment-foxiz_crop_o1 {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}





<style>
.kabsabi-card { background: #ffffff; padding: 25px; border-radius: 20px; max-width: 450px; margin: 10px auto; box-shadow: 0 10px 25px rgba(0,0,0,0.08); border: 1px solid #eee; direction: rtl; }
.kabsabi-header { text-align: center; margin-bottom: 20px; }
.kabsabi-header h2 { margin: 0; color: #4a148c; font-size: 1.3rem; font-weight: bold; }
.kabsabi-header p { margin: 5px 0; color: #666; font-size: 0.85rem; }
.kabsabi-form { display: flex; flex-direction: column; gap: 15px; }
.input-row { display: flex; gap: 10px; }
.input-group { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.input-group label { font-size: 13px; font-weight: bold; color: #333; }
.input-group input, .input-group select { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 10px; font-family: inherit; box-sizing: border-box; background: #fdfdfd; font-size: 14px; }
.calc-btn { width: 100%; padding: 15px; background: #e91e63; color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.calc-btn:hover { background: #c2185b; transform: scale(0.98); }
.warning-box { background: #fff3e0; border: 1px solid #ffb74d; color: #e65100; display: block; padding: 15px; margin-top: 15px; border-radius: 12px; text-align: center; }
.success-box { background: #f3e5f5; border: 1px solid #ce93d8; color: #4a148c; font-weight: bold; display: block; padding: 15px; margin-top: 15px; border-radius: 12px; text-align: center; }
</style>