/* ============================================
   💳 Payment Methods Section
   ============================================ */
.mk-payment-section {
    background: #fff;
    padding: 80px 0px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    direction: rtl; /* ✅ Ensure Arabic layout logic */
}

/* ---------- Container ---------- */
.mk-payment-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    color: #6a5020;
    text-align: right;
    flex-direction: row-reverse;/* ✅ Natural RTL order (right → left) */
}

/* ---------- Right: Paragraph (Description) ---------- */
.mk-payment-description {
    flex: 1 1 55%;
    display: flex;
    align-items: flex-start;      /* align image and text on top */
    justify-content: flex-end;    /* keep RTL alignment */
    gap: 12px;                    /* space between image and text */
    text-align: right;
    direction: rtl;
}

.mk-payment-title-img {
    width: 40px;                  /* ✅ your requested size */
    height: auto;
    object-fit: contain;
    flex-shrink: 0;               /* prevent image from resizing */
    margin-top: 4px;              /* fine visual alignment */
}

.mk-payment-description p {
    color: #8a6b40;
    font-size: 16px;
    line-height: 2;
    margin: 0;
    text-align: justify;
    direction: rtl;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .mk-payment-description {
        flex-direction: column;    /* stack vertically on mobile */
        align-items: center;
        text-align: center;
    }
    .mk-payment-title-img {
        margin: 0 auto 10px;
    }
    .mk-payment-description p {
        font-size: 14px;
        line-height: 1.9;
        text-align: center;
    }
}


/* ---------- Left: Logos & Info ---------- */
.mk-payment-info {
    flex: 1 1 35%;
    text-align: center; /* ✅ Keep logos and text visually left-aligned */
}

.mk-payment-info p {
    font-size: 17px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.mk-payment-logos {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center; /* ✅ Align logos left side */
}

.mk-payment-logos img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.mk-payment-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ---------- WhatsApp Floating Icon ---------- */
.mk-whatsapp-float {
    position: absolute;
    right: 40px;         /* ✅ move to right side */
    bottom: 20px;        /* ✅ keep at bottom */
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    z-index: 10;
}

.mk-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .mk-payment-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .mk-payment-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .mk-payment-description {
        flex-direction: row;      /* keep same desktop layout */
        align-items: flex-start;  /* align top */
        justify-content: space-between;
        text-align: right;
        gap: 10px;
    }

    .mk-payment-title-img {
        width: 35px;              /* slightly smaller icon for mobile */
        margin-top: 5px;
    }

    .mk-payment-description p {
        font-size: 15px;
        line-height: 1.9;
        text-align: justify;
    }

    .mk-payment-logos {
        justify-content: center !important; /* center logos */
        gap: 18px;                          /* spacing between logos */
        width: 100%;
    }

    .mk-payment-info {
        text-align: center; /* center title text also */
        width: 100%;
    }

    .mk-payment-info p {
        margin-bottom: 10px;
        text-align: center;
    }

    .mk-whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        right: 20px;               /* ✅ ensure stays on right side */
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .mk-payment-logos img {
        height: 22px !important;  /* smaller = clearer */
    }
}