/* @a7madmokhles
   نسخة تجربة: تخطيط my-card.one بألوان كاردي وخطوطه وأيقوناته (بطلب المالك 2026-10-24).
   تُحمَّل بعد كل أوراق الأنماط، والمحدِّدات تبدأ بـ body لتغلب كتل <style> المضمّنة في الصفحات.
   لا ألوان جديدة: كل لون من --brand-color / --brand-rgb أو رماديات كاردي القائمة. */

/* ── الشريط العلوي: مختصر بلون الهوية، روابطه أزرار مستديرة ── */
body .navbar-custom-top {
    background: var(--brand-color, #2948c9) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    border-bottom: 0 !important;
}
body .navbar-custom-top .nav-container-flex {
    min-height: 62px;
}
body .navbar-custom-top .brand-title-main,
body .navbar-custom-top .brand-tagline {
    color: #ffffff !important;
}
body .navbar-custom-top .nav-item-link {
    color: rgba(255, 255, 255, 0.86) !important;
    border-radius: 999px !important;
    padding: 7px 12px !important;
    font-size: 14.5px !important;
    background: transparent !important;
}
body .navbar-custom-top .nav-item-link:hover,
body .navbar-custom-top .nav-item-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
}
body .navbar-custom-top .nav-btn-highlight {
    border-radius: 999px !important;
    background: #ffffff !important;
    color: var(--brand-color, #2948c9) !important;
}
body .navbar-custom-top .nav-mobile-toggle {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* ── البطل: عنوان كبير ووصف وسطر إحصاء، بلا توهّج ولا شبكة زخرفية ── */
body .premium-home-hero {
    background: #f8fafc !important;
    padding: 44px 0 26px !important;
    text-align: center !important;
}
body .premium-home-hero .hero-ambient-glow,
body .premium-home-hero .hero-mesh-grid {
    display: none !important;
}
/* العنوان والوصف والإحصاء في الوسط، والبحث بعرض الحاوية كاملاً (بطلب المالك 2026-10-24) */
body .premium-home-hero .container {
    text-align: center !important;
}
body .premium-home-hero .hero-display-title {
    font-size: clamp(30px, 5vw, 50px) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0 auto 14px !important; /* auto: العنوان أعرضه 900px فبدون الوسط يلتصق باليمين */
    text-align: center !important;
    color: #0f172a !important;
}
body .premium-home-hero .hero-display-subtitle {
    font-size: 17px !important;
    line-height: 1.75 !important;
    max-width: 680px !important;
    margin: 0 auto 12px !important;
    color: #475569 !important;
    text-align: center !important;
}
body .trial-hero-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 14.5px;
    color: #64748b;
}
body .trial-hero-stat strong {
    color: var(--brand-color, #2948c9);
    font-weight: 800;
}
body .trial-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--brand-rgb, 41, 72, 201), 0.45);
}
body .premium-home-hero .hero-search-wrapper {
    max-width: none !important;
    width: 100% !important;
    margin: 0 auto !important;
}
body .premium-home-hero .hero-search-form,
body .premium-home-hero .hero-search-box {
    max-width: none !important;
    width: 100% !important;
}

/* ── عناوين الأقسام ── */
body .trial-sec-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 34px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* عناوين الأقسام في الوسط بخطّين على جانبيها (بطلب المالك 2026-10-24) */
body .trial-sec-title {
    justify-content: center;
    text-align: center;
}
body .trial-sec-title::before,
body .trial-sec-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* ── «الأقسام»: بلاطة بيضاء بحد رفيع، صورة فوق وشريط اسم وعدد تحت ── */
body .trial-cats {
    list-style: none;
    margin: 0;
    padding: 0;
    /* بحجم بلاطات «أحدث التصاميم» نفسها: أربع في الصف على الكمبيوتر واثنتان على الجوال (بطلب المالك).
       flex لا grid: الأقسام القليلة تتوسّط الصف بحجمها نفسه بدل فراغ في آخره (ملاحظة فحص الموقع) */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
body .trial-cats > li {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
}
body .trial-cats li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body .trial-cats li:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(var(--brand-rgb, 41, 72, 201), 0.14);
}
body .trial-cats a {
    display: block;
    text-decoration: none !important;
    color: inherit;
}
body .trial-cat-img {
    display: block;
    aspect-ratio: 1754 / 1240;
    background: #f1f5f9;
    overflow: hidden;
}
body .trial-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body .trial-cat-b {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px 15px;
}
body .trial-cat-b strong {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
body .trial-cat-b em {
    font-style: normal;
    font-family: inherit; /* عدد التصاميم بخط الموقع نفسه لا الخط المائل الافتراضي */
    font-size: 13px;
    color: #64748b; /* كان #94a3b8 بتباين 2.6:1 (ملاحظة فحص الموقع) */
    white-space: nowrap;
}

/* ── بلاطات التصاميم: بطاقة بيضاء، الصورة بلا شارات العنوان والتصنيف، والعنوان تحتها ── */
body .card-item-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body .card-item-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px var(--card-hover-shadow, rgba(var(--brand-rgb, 41, 72, 201), 0.14));
}
body .card-item-box .card-img-wrapper {
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}
body .card-item-box:hover .card-img-wrapper {
    transform: none !important;
    box-shadow: none !important;
}
body .card-item-box .card-img-wrapper img.card-main-img {
    border-radius: 0 !important;
}
body .card-item-box .card-badge-title,
body .card-item-box .card-badge-cat {
    display: none !important;
}
body .trial-card-caption {
    display: block;
    padding: 11px 14px 13px;
    text-decoration: none !important;
    color: inherit;
}
body .trial-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.6;
    color: #0f172a;
}
body .trial-card-meta {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    color: #64748b;
}

/* ── الجوال: قسمان في الصف، وعناوين أصغر ── */
@media (max-width: 991px) {
    body .trial-cats > li {
        flex-basis: calc((100% - 16px) / 2);
    }
}
@media (max-width: 520px) {
    body .premium-home-hero {
        padding: 28px 0 18px !important;
    }
    body .trial-sec-title {
        font-size: 21px;
        margin: 26px 0 12px;
    }
    body .trial-cats li,
    body .card-item-box {
        border-radius: 16px !important;
    }
    body .trial-cat-b {
        padding: 10px 12px 12px;
    }
    body .trial-cat-b strong {
        font-size: 14.5px;
    }
    body .trial-card-caption {
        padding: 9px 11px 11px;
    }
    body .trial-card-title {
        font-size: 13.5px;
    }
}

/* الشعار داكن على شريط بلون الهوية: يُحاط بمربع أبيض صغير ليبقى ظاهراً */
body .navbar-custom-top .navbar-logo-img {
    background: #ffffff;
    border-radius: 10px;
    padding: 4px;
}

/* ══════════════════════════════════════════════════════════
   صفحة البطاقة (نسخة التجربة): المعاينة لوحة مستقلة ثابتة عند التمرير، والنموذج لوحة بيضاء
   بحد رفيع بجانبها، والحقول خفيفة الحد، وزرّا التحميل كبيران (الصورة بإطار وPDF ممتلئ).
   card-page.css يُحمَّل بعد هذا الملف داخل الصفحة، فالمحدِّدات تبدأ بـ body و!important حيث يلزم.
   ══════════════════════════════════════════════════════════ */
body .customizer-card {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
/* المنصة عرضية بنسبة A4 لكل المقاسات (حجم الشهادة العرضية)، والطولية في وسطها وجانباها بلون
   التصميم: --stage-fill يحسبه card.php من حافتي الكانفس بعد الرسم، والأبيض قبل ذلك */
body .card-preview-stage {
    max-width: none !important;
    aspect-ratio: 1754 / 1240 !important;
    background: var(--stage-fill, #ffffff) !important;
    transition: background-color 0.3s ease;
    border: 1px solid #e2e8f0 !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    padding: 14px;
    min-height: 260px;
}
body .card-preview-stage:hover {
    transform: none !important;
}
body #card-canvas {
    border-radius: 10px !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.12) !important;
}
body .controls-column {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 20px !important;
}
body .customizer-title {
    font-size: 26px !important;
    line-height: 1.4 !important;
}
body .customizer-subtitle {
    font-size: 14.5px !important;
    line-height: 1.7 !important;
}
body .field-label {
    font-size: 14px !important;
    margin-bottom: 7px !important;
}
body .form-control-custom {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 11px 13px !important;
    font-size: 16px !important; /* 16px: أقل منه يجعل سفاري الآيفون يكبّر الصفحة عند الكتابة */
    background: #f8fafc !important;
}
body .form-control-custom:focus {
    border-color: var(--brand-color, #2948c9) !important;
    background: #ffffff !important;
}
body .template-picker-container {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
}
body .card-actions-row {
    gap: 10px !important;
}
body .btn-card-action {
    min-height: 56px;
    border-radius: 14px !important;
    box-shadow: none !important;
    font-size: 16px !important;
}
body .btn-card-action:hover {
    transform: none !important;
    box-shadow: none !important;
}
body #btn-instant-download {
    background: transparent !important;
    color: var(--brand-color, #2948c9) !important;
    border: 1px solid rgba(var(--brand-rgb, 41, 72, 201), 0.35) !important;
}
body #btn-instant-download:hover {
    background: rgba(var(--brand-rgb, 41, 72, 201), 0.06) !important;
    filter: none !important;
}
body .trial-related {
    max-width: 1100px;
    margin: 36px auto 0;
    padding: 0 16px;
}

/* الشاشات العريضة: المعاينة بجانب النموذج (النصف، بطلب المالك تصغيرها) وتبقى ظاهرة أثناء تمرير الحقول.
   min-width: 0 على النموذج شرط: بدونه يتمدّد بعرض أطول حقل فيه (حقول الجدول) فيخرج يسار
   الشاشة ويُقصّ نصّه وأزراره، كما حدث في بطاقة جهة عرضية (shhadat-alandbat-aldrasy) */
@media (min-width: 992px) {
    body .customizer-card > .row {
        flex-wrap: nowrap !important;
        gap: 20px;
    }
    body .customizer-card .preview-column {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: auto !important;
        position: sticky !important;
        top: 82px !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }
    body .customizer-card .controls-column {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
    }
}
@media (max-width: 520px) {
    body .controls-column {
        padding: 14px !important;
        border-radius: 16px;
    }
    body .card-preview-stage {
        padding: 8px;
        border-radius: 16px !important;
    }
    body .customizer-title {
        font-size: 21px !important;
    }
}

/* ══ الفوتر (نسخة التجربة): أعمدة الهوية والأقسام والروابط والتواصل، وتحتها صف أيقونات التواصل
   بلا طيّ، ثم سطر الحقوق. التدرج اللوني الحالي باقٍ، وطيّ الأعمدة بزر + على الجوال باقٍ. ══ */
body .trial-footer-social {
    border-top: 1px solid #cbd5e1;
    padding-top: 16px !important;
    margin-top: 4px;
}
body .trial-footer-social .footer-accordion-header,
body .trial-footer-social .footer-title-line,
body .trial-footer-social .footer-accordion-content > p {
    display: none !important;
}
body .trial-footer-social .footer-accordion-content {
    display: block !important;
    padding-top: 0 !important;
}
/* أيقونات التواصل في الوسط (بطلب المالك) */
body .trial-footer-social .footer-accordion-content > div {
    justify-content: center !important;
}
body .trial-footer-social .social-btn-round {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
}
body .site-unified-footer .footer-links-list {
    display: grid;
    gap: 6px;
}
/* بلا حسابات تواصل مُدخلة يختفي الصف كله بدل شريط فارغ بين خطين */
body .trial-footer-social:not(:has(a)) {
    display: none !important;
}

/* رأس صفحة الجهة: نفس رأس الأقسام، والخلفية خلفية الجهة (لونها أو صورتها) لا الرمادي الثابت */
body .premium-home-hero.trial-entity-hero {
    background: transparent !important;
    padding-bottom: 6px !important;
}

/* حقول الجدول داخل النموذج لا تتجاوز عرضه */
body .controls-column .table-grid-cell-input,
body .controls-column .cardy-box-input {
    min-width: 0 !important;
    max-width: 100% !important;
}

/* الكانفس داخل المنصة: العرضية بعرضها كاملاً، والطولية والمربعة بارتفاعها كاملاً في الوسط */
body .card-preview-stage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body .customizer-card.is-landscape .card-preview-stage #card-canvas {
    width: 100% !important;
    height: auto !important;
}
body .customizer-card:not(.is-landscape) .card-preview-stage #card-canvas {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* أعمدة الفوتر تملأ الفوتر كله أياً كان عددها: أربعة للموقع وثلاثة للجهة (بلا عمود الأقسام)
   (بطلب المالك 2026-10-24). صف أيقونات التواصل يبقى سطراً كاملاً تحتها، والجوال (768 فما دون)
   على طيّه بزر + كما هو. */
@media (min-width: 769px) {
    /* التوزيع متوازٍ: الأول على الطرف الأيمن والأخير على الأيسر والمسافات بينها متساوية، لا أعمدة
       متساوية يلتصق محتواها باليمين فيبقى فراغ في آخر الفوتر (بطلب المالك) */
    body .site-unified-footer .row {
        justify-content: space-between !important;
        column-gap: 24px;
    }
    /* عنصرا التنظيف ::before و::after في صف Bootstrap يصيران عنصرين في flex فيأخذان طرفي الصف */
    body .site-unified-footer .row::before,
    body .site-unified-footer .row::after {
        display: none !important;
    }
    body .site-unified-footer .row > .footer-col-block {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 34% !important; /* عمود الوصف الطويل لا يبتلع الصف */
        min-width: 0;
        float: none !important;
    }
    body .site-unified-footer .row > .footer-col-block.trial-footer-social {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* على الجوال آخر عمود مطوي له خط سفلي أصلاً، فخط صف الأيقونات العلوي يصير خطاً ثانياً زائداً فوقها */
@media (max-width: 768px) {
    body .trial-footer-social {
        border-top: 0 !important;
        padding-top: 8px !important;
        margin-top: 0 !important;
    }
}

/* ══ الفوتر بلون الهوية (بطلب المالك 2026-10-24): التدرج والخطوط والأزرار والأيقونات من --brand-color
   فيأخذ فوتر الجهة لونها هي. التدرج فاتح من اللون نفسه ليبقى النص الداكن مقروءاً. ══ */
body .site-unified-footer {
    /* أخف بطلب المالك: يبدأ أبيض ويصل إلى لمسة خفيفة من لون الهوية */
    background: linear-gradient(180deg,
        #ffffff 0%,
        rgba(var(--brand-rgb, 41, 72, 201), 0.08) 100%) !important;
    border-top: 1px solid rgba(var(--brand-rgb, 41, 72, 201), 0.22) !important;
}
body .site-unified-footer .footer-bottom-bar,
body .site-unified-footer .trial-footer-social {
    border-top-color: rgba(var(--brand-rgb, 41, 72, 201), 0.22) !important;
}
body .site-unified-footer .footer-toggle-icon {
    background: rgba(var(--brand-rgb, 41, 72, 201), 0.14) !important;
    color: var(--brand-color, #2948c9) !important;
}
body .site-unified-footer .footer-accordion-item.is-open .footer-toggle-icon {
    background: var(--brand-color, #2948c9) !important;
    color: #ffffff !important;
}
body .site-unified-footer .social-btn-round {
    background-color: rgba(var(--brand-rgb, 41, 72, 201), 0.12) !important;
    color: var(--brand-color, #2948c9) !important;
}
body .site-unified-footer .social-btn-round:hover {
    background-color: var(--brand-color, #2948c9) !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    body .site-unified-footer .footer-accordion-item {
        border-bottom-color: rgba(var(--brand-rgb, 41, 72, 201), 0.22) !important;
    }
}

/* أيقونات التواصل سطر واحد دائماً: على الجوال تصغر لتسع السطر بدل أن تنزل لسطر ثانٍ (بطلب المالك) */
body .trial-footer-social .footer-accordion-content > div {
    flex-wrap: nowrap !important;
}
@media (max-width: 768px) {
    body .trial-footer-social .footer-accordion-content > div {
        gap: 6px !important;
    }
    body .trial-footer-social .social-btn-round {
        flex: 0 1 44px;
        min-width: 0;
        width: auto !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        font-size: clamp(12px, 3.6vw, 16px) !important;
        border-radius: 10px !important;
    }
    body .trial-footer-social .social-btn-round svg {
        width: 45% !important;
        height: 45% !important;
    }
}

/* ══════════════════════════════════════════════════════════
   اقتراحات فحص الموقع (2026-10-26): شارات الإحصاء، وزر البدء، وآراء العملاء،
   والأسئلة الشائعة، وزر واتساب العائم. الألوان من لون الهوية كبقية الصفحة.
   ══════════════════════════════════════════════════════════ */
body .trial-hero-stat {
    gap: 10px;
}
body .trial-stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    height: 38px;
    white-space: nowrap;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(var(--brand-rgb, 41, 72, 201), 0.08);
    border: 1px solid rgba(var(--brand-rgb, 41, 72, 201), 0.18);
    color: #334155;
    font-size: 14px;
}
body .trial-stat-pill i {
    color: var(--brand-color, #2948c9);
}
/* زر البدء: الشارة نفسها بلون الهوية */
body .trial-stat-cta {
    background: var(--brand-color, #2948c9);
    border-color: var(--brand-color, #2948c9);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: filter 0.2s ease;
}
body .trial-stat-cta i {
    color: #ffffff;
}
body .trial-stat-cta:hover {
    filter: brightness(1.08);
}
#designs {
    scroll-margin-top: 80px;
}

body .trial-home-block {
    padding: 10px 0 18px;
}
body .trial-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
body .trial-testimonial {
    margin: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px; /* كبلاطات الأقسام */
    padding: 18px 20px;
}
body .trial-testimonial blockquote {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #1e293b;
}
body .trial-testimonial figcaption {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand-color, #2948c9);
}

body .trial-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
body .trial-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px; /* كبلاطات الأقسام */
    padding: 0 18px;
}
body .trial-faq-item summary {
    /* خط الموقع: قاعدة قديمة في الثيم تعطي summary خط DINNextLTArabic (بطلب المالك) */
    font-family: inherit !important;
    cursor: pointer;
    list-style: none;
    padding: 15px 0;
    font-weight: 700;
    font-size: 15.5px;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
body .trial-faq-item summary::-webkit-details-marker {
    display: none;
}
body .trial-faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 1;
    color: var(--brand-color, #2948c9);
}
body .trial-faq-item[open] summary::after {
    content: '−';
}
body .trial-faq-item p {
    margin: 0 0 15px;
    font-size: 14.5px;
    line-height: 1.85;
    color: #475569;
}

/* زر واتساب في الزاوية اليسرى السفلى (نهاية السطر في الصفحة العربية)، فوق المحتوى وتحت النوافذ المنبثقة */
body .trial-wa-fab {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 9000;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
body .trial-wa-fab:hover {
    transform: scale(1.06);
}
@media (max-width: 520px) {
    body .trial-faq-item,
    body .trial-testimonial {
        border-radius: 16px;
    }
    body .trial-wa-fab {
        left: 14px;
        bottom: 14px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    /* الثلاثة في صف واحد على الجوال: أصغر خطاً وأقل حشواً ولا التفاف */
    body .trial-hero-stat {
        flex-wrap: nowrap;
        gap: 6px;
    }
    body .trial-stat-pill {
        height: 34px;
        padding: 0 10px;
        gap: 4px;
        font-size: 12.5px;
    }
}
/* الهواتف الضيقة (حتى 380): الثلاثة تبقى في صف واحد ولو كبرت الأرقام */
@media (max-width: 380px) {
    body .trial-hero-stat {
        gap: 4px;
    }
    body .trial-stat-pill {
        padding: 0 7px;
        font-size: 11.5px;
    }
}
@media print {
    body .trial-wa-fab {
        display: none !important;
    }
}

/* توازي النص العربي (قاعدة كل المواقع): kashida.js يتولى كل فقرة من سطرين فأكثر بالتطويل (انظر
   eligible فيه)، فالسطر يعود إلى start. لا justify احتياطي هنا: لا يعرف CSS عدد أسطر الفقرة */
.kashida-on.kashida-on {
    text-align: start;
    text-align-last: start;
}
/* فقرة فيها وسوم داخلية (كلمة غامقة أو <br>) أو تعذّر تطويلها: justify يستقيم بحافتيها كما في موقع أحمد */
.kashida-justify.kashida-justify {
    text-align: justify;
    text-align-last: start;
}
.kashida-justify.kashida-center {
    text-align-last: center;
}
/* نص كان في الوسط: أسطره ممتلئة بالتطويل، والأخير يبقى في الوسط كما كان */
.kashida-on.kashida-center {
    text-align: center;
    text-align-last: center;
}

/* معاينة الشهادة تثبت تحت الهيدر على الجوال أيضاً كما على الكمبيوتر (بطلب المالك)، والحقول تمرّ تحتها.
   الخلفية بلون الصفحة لتغطي الحقول المارّة، والارتفاع من --cardy-header-h (cardy-ui.js) */
@media (max-width: 991px) {
    body .customizer-card .preview-column {
        position: sticky !important;
        top: var(--cardy-header-h, 70px) !important;
        z-index: 20 !important;
        background: var(--bg-page, #f8fafc);
        padding-top: 6px !important;
        padding-bottom: 8px !important;
        margin-bottom: 10px !important;
    }
}

/* الوسوم «بالكشيدة»: كل وسم يتمدد حتى يملأ كل صف عرض الصندوق، فتصطف الصفوف على حافتيه كبقية المربعات */
body .seo-keywords-list .seo-keyword-pill {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    white-space: nowrap;
}

/* علامة التطويل (js/kashida.js): فارغة في الـ DOM ويرسم CSS حروف التطويل فيها، فلا تدخل النص المنسوخ ولا
   textContent ولا ما يُفهرس (فكرة ar-justify). بلا هذه القاعدة لا يظهر تطويل ويوزّع السكربت الفراغ على المسافات */
.kashida-mark::before {
    content: attr(data-k);
}

/* نص طليق في صندوق لفّه kashida.js ليتوازى كفقرة: كتلة كما كان سطره أصلاً تحت عنوان كتلي */
.kashida-loose {
    display: block;
}
