/*
|--------------------------------------------------------------------------
| ADSMARKET DETAIL V3 — FINAL CONTENT POLISH
|--------------------------------------------------------------------------
*/


/* ========================================================= */
/* SUMMARY CARD ADAPTIVE SPECS */
/* ========================================================= */


.amd-summary-specs{
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(82px,1fr)
        )
        !important;
}


.amd-summary-specs > div{
    padding:
        4px 5px;
}


/* ========================================================= */
/* SELLER CTA */
/* ========================================================= */


.amd-seller-profile-link{
    display:inline-flex;

    align-items:center;

    margin-top:5px;

    color:#0a68e8;

    font-size:9.5px;

    line-height:1.2;

    font-weight:700;
}


.amd-seller-profile-link:hover{
    text-decoration:underline;
}


/* ========================================================= */
/* GALLERY */
/* ========================================================= */


.amd-main-photo,
.amd-thumb{
    background:
        linear-gradient(
            135deg,
            #eaf1f8,
            #dfe9f4
        )
        !important;
}


.amd-main-photo > img{
    object-fit:cover !important;

    object-position:center !important;
}


.amd-thumbnails{
    grid-template-columns:
        repeat(
            6,
            minmax(0,1fr)
        )
        !important;
}


/* ========================================================= */
/* FEATURES */
/* ========================================================= */


.amd-features-grid span{
    min-height:28px;

    padding:
        2px 0;
}


/* ========================================================= */
/* LOCATION */
/* ========================================================= */


.amd-location-title small{
    max-width:330px;
}


/* ========================================================= */
/* MOBILE STICKY CONTACT BAR */
/* ========================================================= */


.amd-mobile-contact-bar{
    display:none;
}


@media(max-width:700px){

    body{
        padding-bottom:76px;
    }


    .amd-mobile-contact-bar{
        position:fixed;

        left:8px;
        right:8px;
        bottom:8px;

        z-index:1500;

        min-height:62px;

        padding:
            7px;

        display:grid;

        grid-template-columns:
            repeat(4,1fr);

        gap:6px;

        border:
            1px solid
            rgba(
                218,
                226,
                237,
                .96
            );

        border-radius:15px;

        background:
            rgba(
                255,
                255,
                255,
                .97
            );

        box-shadow:
            0 12px 40px
            rgba(
                8,
                28,
                55,
                .18
            );

        backdrop-filter:
            blur(18px);
    }


    .amd-mobile-contact-bar
    a,
    .amd-mobile-contact-bar
    button{
        min-width:0;

        min-height:48px;

        padding:
            0 6px;

        border:0;

        border-radius:10px;

        display:flex;

        flex-direction:column;

        align-items:center;

        justify-content:center;

        gap:2px;

        font-family:inherit;

        font-size:15px;

        cursor:pointer;
    }


    .amd-mobile-contact-bar
    span{
        display:block;

        font-size:8px;

        font-weight:750;
    }


    .amd-mobile-call{
        background:#116ff0;

        color:#fff;
    }


    .amd-mobile-whatsapp{
        background:#0aa35a;

        color:#fff;
    }


    .amd-mobile-message,
    .amd-mobile-save{
        background:#f3f6fa;

        color:#263b58;
    }


    .amd-thumbnails{
        grid-template-columns:
            repeat(
                4,
                minmax(0,1fr)
            )
            !important;
    }

}


/* ========================================================= */
/* MOBILE SUMMARY */
/* ========================================================= */


@media(max-width:480px){

    .amd-summary-specs{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            )
            !important;
    }

}
