/* ===== eNamad (اینماد) Trust Seal – Footer ===== */

/*
 * Root fix: .footer .left had no align-items, so the mix of bare <img>
 * flex items and <a>-wrapped icons was inconsistently aligned.
 * Setting align-items: center fixes all children in one shot.
 */
.footer .left {
    align-items: center;
}

/*
 * Normalise every direct flex child of .footer .left so they all sit
 * on the same baseline: bare <img> tags become block, <a> tags become
 * inline-flex containers — both vertically centred, no extra whitespace.
 */
.footer .left > img {
    display: block;
    flex-shrink: 0;
    align-self: center;
}

.footer .left > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
}

/* Thin vertical divider separating social icons from eNamad badge */
.footer-divider {
    display: block;
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    align-self: center;
}

/*
 * eNamad image — overrides the generic .footer .left img { width: 25px }
 * Higher specificity (3 classes + 1 element) wins without !important.
 */
.footer .left .footer-enamad img {
    width: auto;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.footer-enamad:hover img {
    opacity: 0.82;
}

/* ── Tablet (≤1024 px) ───────────────────── */
@media (max-width: 1024px) {
    .footer .left .footer-enamad img {
        height: 100%;
    }
}

/* ── Mobile (≤768 px) ────────────────────── */
@media (max-width: 768px) {
    .footer-divider {
        width: 24px;
        height: 1px;
    }

    .footer .left .footer-enamad img {
        height: 100%;
    }
}
