/* Unified Footer shared by every Preview page. */
.site-footer.reference-footer{display:block;font-family:"Cairo",Tahoma,Arial,sans-serif;font-size:15px;background:#f7f6f3;color:#122b47;margin-top:0;border-top:1px solid #e8e4dc;direction:rtl}.site-footer.reference-footer *{box-sizing:border-box}.site-footer.reference-footer .container{width:min(1400px,calc(100% - 28px));margin-inline:auto}.site-footer.reference-footer .footer-main{direction:rtl;display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr 1.25fr;gap:34px;padding:34px 0 22px}.site-footer.reference-footer .footer-about,.site-footer.reference-footer .footer-column,.site-footer.reference-footer .footer-newsletter{min-width:0}.site-footer.reference-footer .footer-brand .brand{transform:none;transform-origin:center;color:#122b47}.site-footer.reference-footer .footer-brand .reference-logo{display:block;width:142px;height:auto;max-height:58px;object-fit:contain;margin:0 0 0 auto}.site-footer.reference-footer .footer-about p{color:#73777d;font-size:12px;line-height:1.8;margin:0 0 12px}.site-footer.reference-footer .footer-column h3,.site-footer.reference-footer .footer-newsletter h3{color:#122b47;font-size:14px;line-height:1.5;margin:0 0 12px;font-weight:800}.site-footer.reference-footer .footer-column a{display:block;color:#58636c;font-size:12px;line-height:2.1}.site-footer.reference-footer .footer-menu{list-style:none;padding:0;margin:0}.site-footer.reference-footer .footer-menu li{list-style:none;margin:0;padding:0}.site-footer.reference-footer .footer-contact-details{margin-top:8px;border-top:1px solid #e8e4dc;padding-top:7px}.site-footer.reference-footer .footer-contact-details p{color:#58636c;font-size:11px;line-height:1.8;margin:2px 0;display:flex;gap:6px;align-items:flex-start}.site-footer.reference-footer .footer-contact-details svg{display:inline-block;width:14px;height:14px;flex:0 0 14px;margin-top:3px;color:#7f8a91;fill:none;stroke:currentColor;stroke-width:1.6}.site-footer.reference-footer .footer-newsletter button .footer-icon{display:inline-block;width:15px;height:15px;flex:0 0 15px;margin-inline-start:5px;vertical-align:-3px;fill:none;stroke:currentColor;stroke-width:1.7}.site-footer.reference-footer .socials{display:flex;gap:10px;justify-content:center;direction:ltr}.site-footer.reference-footer .socials a{width:27px;height:27px;border:0;border-radius:3px;background:#050505;color:#fff;display:grid;place-items:center;font-weight:700;font-size:15px}.site-footer.reference-footer .footer-newsletter p{color:#73777d;font-size:11px;line-height:1.8;margin:0 0 12px}.site-footer.reference-footer .footer-newsletter form{display:flex;flex-direction:column;gap:8px}.site-footer.reference-footer .footer-newsletter input{height:48px;padding:10px;border:1px solid #d6d6d0;border-radius:4px;background:#fff;color:#122b47;direction:rtl;width:100%}.site-footer.reference-footer .footer-newsletter button{height:46px;padding:10px;border:0;border-radius:4px;background:#062341;color:#fff;font-weight:700;cursor:pointer;width:100%}.site-footer.reference-footer .footer-bottom{min-height:40px;border-top:1px solid #e1e0da;padding:11px 0;color:#7b8082;font-size:10px;display:flex;justify-content:space-between;align-items:center;box-sizing:border-box}.site-footer.reference-footer .payments{color:#c79b55;direction:ltr;display:inline-flex;gap:8px;align-items:center}.site-footer.reference-footer .footer-bottom span{font-size:10px;color:#7b8082}
@media(max-width:640px){.site-footer.reference-footer .footer-main{grid-template-columns:repeat(2,1fr);gap:18px;padding:26px 0 20px}.site-footer.reference-footer .footer-about,.site-footer.reference-footer .footer-newsletter{grid-column:1/-1}.site-footer.reference-footer .footer-brand .reference-logo{margin-inline-start:auto}.site-footer.reference-footer .footer-bottom{flex-direction:column;gap:7px;text-align:center}}

/* =====================================================
   miniCASH FOOTER - BETTER INFORMATION COLUMN
===================================================== */

@media (min-width: 900px){

    /* ندي عمود المعلومات مساحة أكبر شوية */
    .site-footer.reference-footer .footer-main{
        grid-template-columns:
            1.15fr
            .9fr
            .9fr
            1.45fr
            1.25fr;
        gap:28px;
    }

    /* روابط عمود معلومات تبقى صفين بدل عمود طويل */
    .site-footer.reference-footer
    .footer-info
    .footer-menu{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        column-gap:18px;
        row-gap:2px;
    }

    .site-footer.reference-footer
    .footer-info
    .footer-menu li{
        margin:0 !important;
    }

    .site-footer.reference-footer
    .footer-info
    .footer-menu a{
        line-height:1.8 !important;
    }

    /* بيانات التواصل */
    .site-footer.reference-footer
    .footer-contact-details{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        column-gap:16px;
        row-gap:7px;

        margin-top:12px;
        padding-top:12px;
    }

    .site-footer.reference-footer
    .footer-contact-details p{
        margin:0 !important;
        line-height:1.55 !important;
        align-items:center !important;
        white-space:nowrap;
    }

    /* الإيميل ياخد عرض العمود كله */
    .site-footer.reference-footer
    .footer-contact-details p:nth-child(3){
        grid-column:1 / -1;
    }

    /* المواعيد تاخد عرض العمود كله */
    .site-footer.reference-footer
    .footer-contact-details p:nth-child(4){
        grid-column:1 / -1;
        white-space:normal;
        line-height:1.75 !important;
    }
}

/* =====================================================
   miniCASH FOOTER - CONTACT DETAILS CLEANUP
===================================================== */

@media (min-width:900px){

    .site-footer.reference-footer .footer-contact-details{
        margin-top:14px !important;
        padding-top:13px !important;

        display:grid !important;
        grid-template-columns:1fr 1fr !important;

        gap:8px 14px !important;

        border-top:1px solid #e3dfd7 !important;
    }

    /* أرقام التليفونات جنب بعض */
    .site-footer.reference-footer .footer-contact-details p:nth-child(1),
    .site-footer.reference-footer .footer-contact-details p:nth-child(2){
        grid-column:auto !important;

        display:flex !important;
        align-items:center !important;

        gap:5px !important;
        margin:0 !important;

        font-size:10.5px !important;
        line-height:1.5 !important;
        white-space:nowrap !important;
    }

    /* الإيميل */
    .site-footer.reference-footer .footer-contact-details p:nth-child(3){
        grid-column:1 / -1 !important;

        display:flex !important;
        align-items:center !important;

        gap:6px !important;
        margin:2px 0 0 !important;

        font-size:10.5px !important;
        line-height:1.5 !important;
    }

    /* المواعيد */
    .site-footer.reference-footer .footer-contact-details p:nth-child(4){
        grid-column:1 / -1 !important;

        margin:3px 0 0 !important;
        padding:8px 10px !important;

        background:#f1efe9 !important;
        border-radius:4px !important;

        font-size:10px !important;
        line-height:1.7 !important;

        white-space:normal !important;
    }

    .site-footer.reference-footer .footer-contact-details svg{
        width:13px !important;
        height:13px !important;
        flex:0 0 13px !important;
        margin-top:0 !important;
    }
}
