/* =========================
ЪїЇ BUSINESS PROFILE
========================= */

.adpai-business-profile{

    width:100%;

    min-height:100vh;

    background:
        linear-gradient(
            180deg,
            #f4f7fb 0%,
            #eef3f9 100%
        );

    padding-bottom:80px;

    overflow:hidden;
}

.business-meta h2{

    margin:0 0 10px;

    line-height:1.1;
}


.business-tagline{

    margin:0;

    line-height:1.7;
}

/* =========================
ЪЊі QUICK STATS
========================= */
/* =========================
🌍 BUSINESS PROFILE
========================= */

.adpai-business-profile{

    width:100%;

    min-height:100vh;

    background:
        linear-gradient(
            180deg,
            #f4f7fb 0%,
            #eef3f9 100%
        );

    overflow-x:hidden;

    padding-bottom:100px;
}


/* =========================
🖼 HERO
========================= */

.business-hero{

    position:relative;

    width:100%;

    margin-bottom:60px;
}


/* =========================
🖼 COVER
========================= */

.business-cover{

    position:relative;

    width:100%;

    min-height:520px;

    overflow:hidden;

    border-radius:0 0 42px 42px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );
}


/* =========================
🖼 COVER IMAGE
========================= */

#business-cover-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;
}


/* =========================
🌑 OVERLAY
========================= */

.cover-overlay{

    position:relative;

    z-index:2;

    width:100%;

    min-height:520px;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.12),
            rgba(0,0,0,.72)
        );
}


/* =========================
🧠 GRID
========================= */

.hero-content-grid{

    width:100%;

    min-height:520px;

    padding:50px;

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    gap:40px;
}


/* =========================
⬅ LEFT
========================= */

.hero-left{

    display:flex;

    align-items:flex-end;

    gap:28px;

    flex-wrap:wrap;
}

/* =========================
🔗 HERO TOP ACTIONS
========================= */

.hero-top-actions{

    position:absolute;

    top:24px;

    left:24px;

    z-index:30;

    display:flex;

    align-items:center;

    gap:10px;
}


/* =========================
🔘 MINI BUTTON
========================= */

.hero-mini-btn{

    width:40px;

    height:40px;

    border:none;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    color:#fff;

    backdrop-filter:blur(14px);

    background:
        rgba(15,23,42,.58);

    border:
        1px solid rgba(255,255,255,.14);

    transition:.25s ease;

    box-shadow:
        0 10px 24px rgba(0,0,0,.18);
}


.hero-mini-btn:hover{

    transform:translateY(-2px);

    background:
        rgba(15,23,42,.82);
}
/* =========================
🖼 LOGO
========================= */

.business-logo{

    position:relative;

    width:128px;

    height:160px;

    border-radius:34px;

    overflow:hidden;

    border:5px solid rgba(255,255,255,.92);

    background:#fff;

    flex-shrink:0;

    box-shadow:
        0 24px 60px rgba(0,0,0,.28);
}


/* =========================
🖼 LOGO IMAGE
========================= */

#business-logo-image{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;
}


/* =========================
📛 META
========================= */

.business-meta{

    max-width:780px;
}


.business-meta h1{

    margin:0 0 14px;

    font-size:46px;

    line-height:1;

    font-weight:900;

    color:#fff;

    letter-spacing:-2px;
}


.business-tagline{

    margin:0 0 20px;

    color:
        rgba(255,255,255,.84);

    font-size:18px;

    line-height:1.8;
}


/* =========================
🏷 BADGES
========================= */

.business-badges{

    display:flex;

    flex-wrap:wrap;

    gap:12px;
}


.business-badges span{

    padding:10px 16px;

    border-radius:999px;

    background:
        rgba(255,255,255,.14);

    border:
        1px solid rgba(255,255,255,.18);

    color:#fff;

    font-size:12px;

    font-weight:700;

    backdrop-filter:blur(14px);
}


/* =========================
➡ RIGHT
========================= */

.hero-right{

    display:flex;

    align-items:center;

    justify-content:flex-end;

    flex-wrap:wrap;

    gap:14px;

    max-width:420px;
}


/* =========================
🚀 ACTION BUTTONS
========================= */

.hero-action-btn{

    min-height:46px;

    padding:0 15px;

    border:none;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    cursor:pointer;

    transition:.25s ease;

    font-size:14px;

    font-weight:700;
}


.hero-action-btn.primary{

    background:#2563eb;

    color:#fff;
}


.hero-action-btn.secondary{

    background:#16a34a;

    color:#fff;
}


.hero-action-btn.outline{

    background:
        rgba(255,255,255,.14);

    color:#fff;

    border:
        1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(14px);
}


.hero-action-btn:hover{

    transform:translateY(-2px);
}


/* =========================
🔗 SHARE
========================= */

.hero-icon-btn{

    width:54px;

    height:54px;

    border:none;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    color:#fff;

    backdrop-filter:blur(14px);

    background:
        rgba(255,255,255,.14);

    border:
        1px solid rgba(255,255,255,.18);

    transition:.25s ease;
}


.hero-icon-btn:hover{

    transform:translateY(-2px);

    background:
        rgba(255,255,255,.22);
}


/* =========================
📸 HERO UPLOAD
========================= */

.hero-upload-btn{

    position:absolute;

    z-index:20;

    border:none;

    cursor:pointer;

    transition:.25s ease;

    backdrop-filter:blur(14px);

    background:
        rgba(15,23,42,.58);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    box-shadow:
        0 10px 24px rgba(0,0,0,.18);
}


/* =========================
🖼 COVER BUTTON
========================= */

.cover-upload-btn{

    top:24px;

    right:24px;

    min-height:48px;

    padding:0 18px;

    border-radius:16px;

    font-size:13px;

    font-weight:700;
}


/* =========================
🖼 LOGO BUTTON
========================= */

.logo-upload-btn{

    top:10px;

    right:10px;

    width:38px;

    height:38px;

    border-radius:14px;
}


/* =========================
✨ HOVER
========================= */

.hero-upload-btn:hover{

    transform:translateY(-2px);

    background:
        rgba(15,23,42,.82);
}


/* =========================
📱 TABLET
========================= */

@media(max-width:992px){

    .hero-content-grid{

        flex-direction:column;

        align-items:flex-start;
    }

    .hero-right{

        justify-content:flex-start;

        max-width:100%;
    }

    .business-meta h1{

        font-size:42px;
    }
}


/* =========================
📱 MOBILE
========================= */

@media(max-width:768px){

    .hero-content-grid{

        padding:32px 22px;
    }

    .hero-left{

        flex-direction:column;

        align-items:flex-start;
    }

    .business-logo{

        width:120px;

        height:120px;

        border-radius:24px;
    }

    .business-meta h1{

        font-size:30px;
    }

    .business-tagline{

        font-size:15px;
    }

    .hero-right{

        width:100%;
    }

    .hero-action-btn{

        width:100%;
    }
}
/* =========================
ЪЊд SECTIONS
========================= */

.business-about-section,
.featured-products-section,
.business-timeline-section,
.business-footer-cta{

    max-width:1400px;

    margin:0 auto 42px;

    padding:0 24px;
}


/* =========================
ЪДа SECTION HEADER
========================= */

.section-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    margin-bottom:24px;

    flex-wrap:wrap;
}

.section-header h2{

    margin:0;

    font-size:30px;

    font-weight:800;

    color:#0f172a;

    letter-spacing:-1px;
}

.section-header a{

    color:#2563eb;

    text-decoration:none;

    font-weight:700;
}


/* =========================
ЪЊЮ ABOUT
========================= */

.business-about-card{

    background:#fff;

    border-radius:30px;

    padding:34px;

    border:
        1px solid #edf2f7;

    box-shadow:
        0 10px 30px rgba(15,23,42,.04);
}

.business-about-card p{

    margin:0;

    color:#475569;

    line-height:2;

    font-size:16px;
}


/* =========================
ЪЏЇ PRODUCTS GRID
========================= */

.featured-products-grid{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(290px,1fr)
        );

    gap:26px;
}


/* =========================
ЪЊд PRODUCT CARD
========================= */

.product-card{

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    border:
        1px solid #edf2f7;

    box-shadow:
        0 12px 34px rgba(15,23,42,.05);

    transition:.3s ease;
}

.product-card:hover{

    transform:
        translateY(-8px);

    box-shadow:
        0 22px 44px rgba(15,23,42,.1);
}


/* =========================
Ъќ╝ PRODUCT IMAGE
========================= */

.product-image{

    width:100%;

    height:260px;

    overflow:hidden;
}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.4s ease;
}

.product-card:hover
.product-image img{

    transform:scale(1.06);
}


/* =========================
ЪДа PRODUCT CONTENT
========================= */

.product-content{

    padding:24px;
}

.product-content h3{

    margin:0 0 14px;

    font-size:22px;

    font-weight:800;

    color:#0f172a;
}

.product-content p{

    margin:0 0 22px;

    color:#64748b;

    line-height:1.8;

    font-size:14px;
}


/* =========================
Ъњ░ PRODUCT FOOTER
========================= */

.product-footer{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:18px;
}

.product-footer strong{

    font-size:22px;

    font-weight:800;

    color:#111827;
}

.btn-product{

    background:#0f172a;

    color:#fff;
}

.btn-product:hover{

    background:#111827;

    transform:translateY(-2px);
}


/* =========================
ЪЊ░ TIMELINE
========================= */

.timeline-feed{

    display:flex;

    flex-direction:column;

    gap:22px;
}


/* =========================
ЪЊб POST
========================= */

.timeline-post{

    background:#fff;

    border-radius:28px;

    padding:30px;

    border:
        1px solid #edf2f7;

    box-shadow:
        0 10px 30px rgba(15,23,42,.04);

    transition:.25s ease;
}

.timeline-post:hover{

    transform:translateY(-4px);
}

.timeline-post-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:14px;

    margin-bottom:18px;
}


/* =========================
ЪЈи POST BADGE
========================= */

.post-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 14px;

    border-radius:999px;

    background:#eff6ff;

    color:#2563eb;

    font-size:12px;

    font-weight:700;
}

.timeline-post time{

    color:#94a3b8;

    font-size:13px;

    font-weight:600;
}

.timeline-post h3{

    margin:0 0 14px;

    font-size:24px;

    font-weight:800;

    color:#0f172a;
}

.timeline-post p{

    margin:0;

    color:#64748b;

    line-height:1.9;
}


/* =========================
Ъџђ FOOTER CTA
========================= */

.footer-cta-card{

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );

    border-radius:34px;

    padding:60px;

    color:#fff;

    text-align:center;

    overflow:hidden;

    position:relative;
}

.footer-cta-card h2{

    margin:0 0 16px;

    font-size:42px;

    font-weight:800;

    line-height:1.2;
}

.footer-cta-card p{

    max-width:760px;

    margin:0 auto 34px;

    line-height:1.9;

    color:
        rgba(255,255,255,.75);

    font-size:17px;
}

.footer-cta-actions{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;
}


/* =========================
ЪЊ▒ RESPONSIVE
========================= */

@media(max-width:992px){

    .business-hero-content{

        margin-top:-70px;
    }

    .business-meta h1{

        font-size:34px;
    }

    .footer-cta-card{

        padding:42px 24px;
    }

    .footer-cta-card h2{

        font-size:34px;
    }
}


@media(max-width:768px){

    .business-cover{

        height:260px;
    }

    .business-hero-content{

        flex-direction:column;

        align-items:flex-start;

        margin-top:-60px;
    }

    .business-logo{

        width:130px;

        height:130px;
    }

    .business-meta h1{

        font-size:28px;
    }

    .business-tagline{

        font-size:15px;
    }

    .section-header h2{

        font-size:24px;
    }

    .footer-cta-card h2{

        font-size:28px;
    }

    .product-footer{

        flex-direction:column;

        align-items:flex-start;
    }

    .btn-product{

        width:100%;
    }
}


@media(max-width:480px){

    .business-cover{

        height:220px;
    }

    .business-logo{

        width:110px;

        height:110px;

        border-radius:24px;
    }

    .business-meta h1{

        font-size:24px;
    }

    .business-badges{

        gap:8px;
    }

    .business-badges span{

        font-size:11px;
    }

    .quick-stat-card{

        padding:22px;
    }

    .timeline-post{

        padding:22px;
    }

    .footer-cta-card{

        border-radius:26px;
    }
}

/* =========================
🖼 WP MEDIA MODAL FIX
========================= */

.media-modal{

    z-index:999999999 !important;
}

.media-modal-backdrop{

    z-index:999999998 !important;
}


/* =========================
🪟 BUSINESS MODAL
========================= */

.business-modal{

    z-index:99990;
}


/* =========================
🧠 DRAWER
========================= */

.business-modal-drawer{

    position:relative;

    z-index:99991;

    transform:none !important;
}


/* =========================
🌍 BODY FIX
========================= */

body.wp-admin .media-modal,
body .media-modal{

    position:fixed !important;
}