/* Heri Vendor Social Feed */
.ajlal-social-feed {
    min-height: 70vh;
    padding: 24px 12px 110px;
    background: #fff;
    color: #000;
    font-family: Poppins, Cairo, sans-serif;
}
.ajlal-social-shell {
    width: min(100%, 760px);
    margin: 0 auto;
}
.ajlal-social-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 2px 24px;
}
.ajlal-social-kicker {
    display: block;
    color: #a75a22;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.ajlal-social-hero h1,
.ajlal-social-modal-head h2 {
    margin: 0;
    color: #000;
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.1;
    font-weight: 800;
}
.ajlal-social-hero p {
    margin: 8px 0 0;
    color: #666;
    font-size: .82rem;
    line-height: 1.6;
}
.ajlal-social-primary,
.ajlal-social-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    border-radius: 10px;
    padding: 9px 13px;
    border: 1px solid #000;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}
.ajlal-social-primary {
    background: #E38D4B;
    color: #000;
}
.ajlal-social-outline {
    background: #fff;
    color: #000;
}
.ajlal-social-primary:hover,
.ajlal-social-outline:hover {
    transform: translateY(-1px);
    text-decoration: none;
}
.ajlal-social-primary:hover { background: #d77835; }
.ajlal-social-outline:hover { background: #f8f8f8; }
.ajlal-social-vendor-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 11px 13px;
    border: 1px solid rgba(227,141,75,.35);
    border-radius: 12px;
    background: #fff8f3;
    color: #5f4638;
    font-size: .74rem;
}
.ajlal-social-vendor-note strong { color: #000; }
.ajlal-social-feed-list { display: grid; gap: 16px; }
.ajlal-social-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0,0,0,.05);
}
.ajlal-social-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 11px;
}
.ajlal-social-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #E38D4B;
}
.ajlal-social-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: .85rem;
    font-weight: 800;
}
.ajlal-social-author { display: grid; gap: 2px; }
.ajlal-social-author strong { color: #000; font-size: .84rem; }
.ajlal-social-author time { color: #999; font-size: .68rem; }
.ajlal-social-media { background: #f5f5f5; }
.ajlal-social-media img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}
.ajlal-social-copy {
    padding: 14px 15px 4px;
    color: #222;
    font-size: .86rem;
    line-height: 1.7;
    white-space: pre-wrap;
}
.ajlal-social-copy p { margin: 0 0 8px; }
.ajlal-social-card-footer {
    padding: 11px 15px 9px;
    color: #888;
    font-size: .7rem;
    border-bottom: 1px solid #f1f1f1;
}
.ajlal-social-comments { padding: 8px 15px 0; }
.ajlal-social-comment {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 5px 0;
    color: #444;
    font-size: .76rem;
    line-height: 1.5;
}
.ajlal-social-comment strong { color: #000; }
.ajlal-social-comment span { overflow-wrap: anywhere; }
.ajlal-social-comment-form { padding: 10px 15px 15px; }
.ajlal-social-comment-guest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 7px;
}
.ajlal-social-comment-form input,
.ajlal-social-field input,
.ajlal-social-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 9px;
    background: #fff;
    color: #000;
    font: inherit;
    font-size: .78rem;
    outline: none;
}
.ajlal-social-comment-form input { min-height: 36px; padding: 8px 10px; }
.ajlal-social-comment-form input:focus,
.ajlal-social-field input:focus,
.ajlal-social-field textarea:focus { border-color: #E38D4B; box-shadow: 0 0 0 3px rgba(227,141,75,.14); }
.ajlal-social-comment-row { display: flex; gap: 7px; }
.ajlal-social-comment-row input { flex: 1; }
.ajlal-social-comment-row button {
    width: 38px;
    border: 0;
    border-radius: 9px;
    background: #E38D4B;
    color: #000;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
}
.ajlal-social-empty {
    padding: 55px 20px;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 16px;
}
.ajlal-social-empty-icon { color: #E38D4B; font-size: 2rem; }
.ajlal-social-empty h2 { margin: 8px 0 5px; color: #000; font-size: 1rem; }
.ajlal-social-empty p { margin: 0; color: #888; font-size: .78rem; }

.ajlal-social-modal {
    position: fixed;
    z-index: 14000;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(0,0,0,.58);
}
.ajlal-social-modal.is-open { display: flex; }
.ajlal-social-modal-card {
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 17px;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -12px 35px rgba(0,0,0,.2);
}
.ajlal-social-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}
.ajlal-social-modal-head h2 { font-size: 1.25rem; }
.ajlal-social-modal-close {
    width: 33px;
    height: 33px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #000;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
}
.ajlal-social-field { display: grid; gap: 6px; margin-bottom: 13px; }
.ajlal-social-field > span { color: #111; font-size: .75rem; font-weight: 700; }
.ajlal-social-field input { min-height: 42px; padding: 10px 11px; }
.ajlal-social-field textarea { min-height: 120px; padding: 10px 11px; resize: vertical; }
.ajlal-social-upload { display: grid; gap: 9px; margin: 6px 0 16px; }
.ajlal-social-upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    overflow: hidden;
    border: 1px dashed #ccc;
    border-radius: 12px;
    background: #fafafa;
    color: #999;
    font-size: .74rem;
}
.ajlal-social-upload-preview img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.ajlal-social-modal-actions { display: flex; justify-content: flex-end; gap: 8px; }

@media (min-width: 700px) {
    .ajlal-social-feed { padding: 46px 20px 80px; }
    .ajlal-social-modal { align-items: center; padding: 20px; }
    .ajlal-social-modal-card { width: min(100%, 560px); border-radius: 20px; }
}
@media (max-width: 470px) {
    .ajlal-social-hero { display: block; }
    .ajlal-social-hero .ajlal-social-primary,
    .ajlal-social-hero .ajlal-social-outline { width: 100%; margin-top: 15px; }
    .ajlal-social-comment-guest { grid-template-columns: 1fr; }
}
body.ajlal-social-feed-page .mobile-nav { z-index: 1200; }


/* AJLAL COMPACT SOCIAL POST MEDIA — Facebook-style card crop */
.ajlal-social-card .ajlal-social-media {
    height: 420px;
    overflow: hidden;
    background: #f5f5f5;
}
.ajlal-social-card .ajlal-social-media img {
    width: 100%;
    height: 420px;
    max-height: none;
    display: block;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 699px) {
    .ajlal-social-card .ajlal-social-media {
        height: 280px;
    }
    .ajlal-social-card .ajlal-social-media img {
        height: 280px;
    }
}
