/*
|--------------------------------------------------------------------------
| ADSMARKET PREMIUM LISTING DETAIL V1
|--------------------------------------------------------------------------
*/


.amd-breadcrumb-section{
    padding:
        27px 0 14px;

    background:#fff;
}


.amd-breadcrumb{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    color:#526783;

    font-size:11px;
}


.amd-breadcrumb a:hover{
    color:#1169e8;
}


.amd-breadcrumb span{
    color:#98a5b5;
}


.amd-breadcrumb strong{
    color:#213654;

    font-weight:600;
}


/* ========================================================= */
/* TOP GRID */
/* ========================================================= */


.amd-main-section{
    padding:
        0 0 55px;

    background:#fff;
}


.amd-main-grid{
    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        430px;

    gap:26px;

    align-items:start;
}


.amd-content-column{
    min-width:0;
}


.amd-sidebar{
    min-width:0;

    display:grid;

    gap:17px;
}


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


.amd-gallery{
    min-width:0;
}


.amd-main-photo{
    height:565px;

    position:relative;

    overflow:hidden;

    border-radius:15px;

    background:#eaf0f6;

    box-shadow:
        0 10px 28px
        rgba(17,37,66,.08);
}


.amd-main-photo > img{
    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transition:
        opacity .18s ease,
        transform .35s ease;
}


.amd-main-photo:hover
> img{
    transform:
        scale(1.012);
}


.amd-photo-overlay{
    position:absolute;

    inset:0;

    pointer-events:none;

    background:
        linear-gradient(
            180deg,
            rgba(3,13,28,.40) 0%,
            rgba(3,13,28,.08) 34%,
            rgba(3,13,28,.02) 61%,
            rgba(3,13,28,.18) 100%
        );
}


.amd-premium-badge{
    position:absolute;

    left:19px;

    top:18px;

    z-index:4;

    min-height:30px;

    padding:
        0 11px;

    border-radius:7px;

    display:flex;

    align-items:center;

    gap:6px;

    background:#f0bd42;

    color:#241900;

    font-size:10.5px;

    font-weight:800;
}


.amd-gallery-title{
    position:absolute;

    left:20px;

    top:61px;

    z-index:4;

    color:#fff;

    text-shadow:
        0 2px 12px
        rgba(0,0,0,.55);
}


.amd-gallery-title h1{
    max-width:650px;

    margin:0;

    color:#fff;

    font-size:27px;

    line-height:1.12;

    font-weight:800;

    letter-spacing:-.65px;
}


.amd-gallery-title p{
    margin:
        6px 0 0;

    color:
        rgba(
            255,
            255,
            255,
            .92
        );

    font-size:12px;
}


.amd-gallery-action{
    position:absolute;

    top:19px;

    z-index:5;

    width:38px;

    height:38px;

    padding:0;

    border:
        1px solid
        rgba(255,255,255,.35);

    border-radius:50%;

    background:
        rgba(3,16,34,.42);

    color:#fff;

    display:grid;

    place-items:center;

    font-size:20px;

    cursor:pointer;

    backdrop-filter:
        blur(7px);
}


.amd-save-gallery{
    right:61px;
}


.amd-share-gallery{
    right:17px;

    font-size:17px;
}


.amd-gallery-arrow{
    position:absolute;

    top:50%;

    z-index:4;

    width:43px;

    height:43px;

    margin-top:-21px;

    border:0;

    border-radius:50%;

    background:
        rgba(5,18,36,.65);

    color:#fff;

    display:grid;

    place-items:center;

    font-size:28px;

    cursor:pointer;

    backdrop-filter:
        blur(7px);
}


.amd-gallery-arrow.prev{
    left:17px;
}


.amd-gallery-arrow.next{
    right:17px;
}


.amd-photo-counter{
    position:absolute;

    left:18px;

    bottom:17px;

    z-index:4;

    min-height:31px;

    padding:
        0 11px;

    border-radius:7px;

    background:
        rgba(4,17,35,.74);

    color:#fff;

    display:flex;

    align-items:center;

    gap:5px;

    font-size:10px;

    backdrop-filter:
        blur(6px);
}


.amd-view-gallery{
    position:absolute;

    right:17px;

    bottom:17px;

    z-index:4;

    min-height:34px;

    padding:
        0 12px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius:7px;

    background:
        rgba(4,17,35,.72);

    color:#fff;

    display:flex;

    align-items:center;

    gap:7px;

    font-size:10px;

    font-weight:650;

    cursor:pointer;

    backdrop-filter:
        blur(6px);
}


/* ========================================================= */
/* THUMBNAILS */
/* ========================================================= */


.amd-thumbnails{
    display:grid;

    grid-template-columns:
        repeat(6,minmax(0,1fr));

    gap:9px;

    margin-top:9px;
}


.amd-thumb{
    height:90px;

    padding:0;

    position:relative;

    overflow:hidden;

    border:
        2px solid
        transparent;

    border-radius:9px;

    background:#edf2f7;

    cursor:pointer;
}


.amd-thumb.active{
    border-color:#1472ef;
}


.amd-thumb img{
    width:100%;

    height:100%;

    object-fit:cover;
}


.amd-thumb span{
    position:absolute;

    inset:0;

    background:
        rgba(5,17,34,.60);

    color:#fff;

    display:grid;

    place-items:center;

    font-size:11px;

    font-weight:700;
}


/* ========================================================= */
/* TABS */
/* ========================================================= */


.amd-tabs{
    min-height:62px;

    margin-top:25px;

    padding:
        0 8px;

    position:sticky;

    top:97px;

    z-index:30;

    display:flex;

    align-items:stretch;

    overflow-x:auto;

    border:
        1px solid
        #e4e9f0;

    border-radius:
        12px 12px 0 0;

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

    backdrop-filter:
        blur(16px);

    scrollbar-width:none;
}


.amd-tabs::-webkit-scrollbar{
    display:none;
}


.amd-tabs button{
    flex:
        0 0 auto;

    min-width:100px;

    padding:
        0 17px;

    position:relative;

    border:0;

    background:
        transparent;

    color:#263b59;

    font-size:11px;

    font-weight:600;

    cursor:pointer;
}


.amd-tabs button.active{
    color:#0867e5;

    font-weight:750;
}


.amd-tabs button.active:after{
    content:"";

    position:absolute;

    left:14px;

    right:14px;

    bottom:0;

    height:2px;

    border-radius:2px;

    background:#116cf0;
}


/* ========================================================= */
/* PANELS */
/* ========================================================= */


.amd-panel{
    scroll-margin-top:175px;

    padding:
        20px 21px;

    border:
        1px solid
        #e2e8f0;

    border-radius:13px;

    background:#fff;

    box-shadow:
        0 6px 20px
        rgba(20,40,70,.035);

    margin-top:14px;
}


.amd-panel-heading{
    display:flex;

    align-items:center;

    justify-content:space-between;

    padding-bottom:15px;

    margin-bottom:2px;

    border-bottom:
        1px solid
        #edf1f5;
}


.amd-panel-heading h2{
    margin:0;

    color:#0e1d3d;

    font-size:18px;

    font-weight:800;
}


/* ========================================================= */
/* OVERVIEW BENEFITS */
/* ========================================================= */


.amd-benefit-panel{
    display:grid;

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

    gap:0;

    padding:
        17px 14px;
}


.amd-benefit{
    min-width:0;

    min-height:60px;

    padding:
        0 15px;

    display:flex;

    align-items:center;

    gap:12px;

    border-right:
        1px solid
        #edf1f5;
}


.amd-benefit:last-child{
    border-right:0;
}


.amd-benefit > span{
    width:39px;

    height:39px;

    flex:
        0 0 39px;

    border-radius:10px;

    background:#e5f7ee;

    color:#0b9a60;

    display:grid;

    place-items:center;

    font-size:17px;

    font-weight:800;
}


.amd-benefit strong{
    display:block;

    color:#1a2d49;

    font-size:11px;

    line-height:1.3;
}


.amd-benefit small{
    display:block;

    margin-top:3px;

    color:#728198;

    font-size:8.5px;
}


/* ========================================================= */
/* SPECS */
/* ========================================================= */


.amd-spec-grid{
    display:grid;

    grid-template-columns:
        1fr 1fr;

    column-gap:34px;
}


.amd-spec-row{
    min-height:49px;

    display:grid;

    grid-template-columns:
        27px
        120px
        minmax(0,1fr);

    align-items:center;

    gap:8px;

    border-bottom:
        1px solid
        #edf1f5;
}


.amd-spec-icon{
    width:24px;

    height:24px;

    border-radius:7px;

    background:#f2f5f9;

    color:#526884;

    display:grid;

    place-items:center;

    font-size:10px;
}


.amd-spec-label{
    color:#5f718a;

    font-size:10.5px;
}


.amd-spec-row strong{
    color:#142944;

    font-size:10.5px;

    font-weight:650;
}


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


.amd-features-grid{
    display:grid;

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

    gap:
        16px 22px;

    padding-top:17px;
}


.amd-features-grid span{
    display:flex;

    align-items:center;

    gap:9px;

    color:#324863;

    font-size:10.5px;
}


.amd-features-grid b{
    width:18px;

    height:18px;

    flex:
        0 0 18px;

    border-radius:50%;

    background:#0da05e;

    color:#fff;

    display:grid;

    place-items:center;

    font-size:10px;
}


/* ========================================================= */
/* DESCRIPTION */
/* ========================================================= */


.amd-description{
    padding-top:16px;

    color:#50647f;

    font-size:11.5px;

    line-height:1.85;
}


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


.amd-location-grid{
    display:grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap:22px;

    align-items:center;

    padding-top:15px;
}


.amd-location-title{
    display:flex;

    align-items:flex-start;

    gap:13px;
}


.amd-location-title > span{
    font-size:23px;

    color:#0f315e;
}


.amd-location-title strong{
    display:block;

    color:#172d4b;

    font-size:12px;
}


.amd-location-title small{
    display:block;

    margin-top:4px;

    color:#73829a;

    font-size:9.5px;
}


.amd-directions-button{
    height:38px;

    margin-top:22px;

    padding:
        0 13px;

    border:
        1.5px solid
        #1472ef;

    border-radius:8px;

    color:#0c66df;

    display:inline-flex;

    align-items:center;

    gap:7px;

    font-size:10px;

    font-weight:700;
}


.amd-map-preview{
    height:190px;

    position:relative;

    overflow:hidden;

    border-radius:11px;

    background:
        linear-gradient(
            135deg,
            #f3f0e7,
            #edf2e7
        );
}


.amd-map-preview:before,
.amd-map-preview:after{
    content:"";

    position:absolute;

    inset:0;

    opacity:.6;

    background-image:
        linear-gradient(
            28deg,
            transparent 48%,
            rgba(255,255,255,.92) 49%,
            rgba(255,255,255,.92) 51%,
            transparent 52%
        ),
        linear-gradient(
            102deg,
            transparent 48%,
            rgba(255,255,255,.88) 49%,
            rgba(255,255,255,.88) 51%,
            transparent 52%
        );
}


.amd-map-water{
    position:absolute;

    right:-45px;

    bottom:-60px;

    width:220px;

    height:160px;

    border-radius:50%;

    background:#a9d7ef;

    transform:
        rotate(-18deg);
}


.amd-map-pin{
    position:absolute;

    left:52%;

    top:45%;

    z-index:3;

    width:33px;

    height:42px;

    border-radius:
        18px 18px
        18px 4px;

    transform:
        rotate(-45deg);

    background:#e7473d;

    color:#fff;

    display:grid;

    place-items:center;

    box-shadow:
        0 8px 18px
        rgba(148,42,35,.25);
}


.amd-map-pin::first-letter{
    transform:
        rotate(45deg);
}


.amd-map-preview > strong{
    position:absolute;

    left:58%;

    top:44%;

    z-index:4;

    color:#32475e;

    font-size:10px;
}


/* ========================================================= */
/* SUMMARY SIDEBAR */
/* ========================================================= */


.amd-summary-card,
.amd-side-card{
    border:
        1px solid
        #e1e7ef;

    border-radius:13px;

    background:#fff;

    box-shadow:
        0 7px 24px
        rgba(19,41,73,.045);
}


.amd-summary-card{
    padding:
        20px 18px 17px;

    position:sticky;

    top:101px;

    z-index:20;
}


.amd-summary-card h1{
    margin:0;

    color:#0a1939;

    font-size:23px;

    line-height:1.18;

    letter-spacing:-.55px;

    font-weight:800;
}


.amd-price-row{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:11px;

    margin-top:10px;
}


.amd-price-row > strong{
    color:#0b70ee;

    font-size:30px;

    line-height:1;

    font-weight:850;

    letter-spacing:-.8px;
}


.amd-deal-badge{
    min-height:25px;

    padding:
        0 8px;

    border-radius:6px;

    background:#fee9ed;

    color:#de3d50;

    display:flex;

    align-items:center;

    font-size:8.5px;

    font-weight:750;
}


.amd-deal-badge.verified{
    background:#e5f8ef;

    color:#088653;
}


.amd-summary-meta{
    display:flex;

    flex-wrap:wrap;

    gap:
        8px 16px;

    margin-top:14px;

    color:#667893;

    font-size:9.5px;
}


.amd-summary-specs{
    display:grid;

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

    gap:6px;

    margin-top:19px;

    padding:
        14px 0;

    border-top:
        1px solid
        #edf1f5;

    border-bottom:
        1px solid
        #edf1f5;
}


.amd-summary-specs > div{
    min-width:0;

    text-align:center;
}


.amd-summary-specs span{
    width:30px;

    height:30px;

    margin:
        0 auto 6px;

    border-radius:50%;

    background:#f2f5fa;

    color:#2d4667;

    display:grid;

    place-items:center;

    font-size:11px;
}


.amd-summary-specs strong{
    display:block;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

    color:#1a2c48;

    font-size:10.5px;
}


.amd-summary-specs small{
    display:block;

    margin-top:2px;

    color:#77869c;

    font-size:8px;
}


.amd-primary-contact{
    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:9px;

    margin-top:17px;
}


.amd-call-primary,
.amd-whatsapp-primary{
    height:47px;

    border-radius:8px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    color:#fff;

    font-size:11px;

    font-weight:750;
}


.amd-call-primary{
    background:
        linear-gradient(
            180deg,
            #187afb,
            #0864e4
        );
}


.amd-whatsapp-primary{
    background:
        linear-gradient(
            180deg,
            #12ac63,
            #06944f
        );
}


.amd-call-primary.disabled,
.amd-whatsapp-primary.disabled{
    opacity:.45;

    pointer-events:none;
}


.amd-secondary-actions{
    display:grid;

    grid-template-columns:
        1.25fr .75fr .75fr;

    gap:9px;

    margin-top:10px;
}


.amd-secondary-actions a,
.amd-secondary-actions button{
    height:39px;

    padding:
        0 8px;

    border:
        1px solid
        #e0e6ef;

    border-radius:8px;

    background:#f8f9fb;

    color:#263b58;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    font-size:9.5px;

    font-weight:650;

    cursor:pointer;
}


/* ========================================================= */
/* SELLER CARD */
/* ========================================================= */


.amd-seller-card{
    padding:
        17px 18px;
}


.amd-seller-top{
    display:flex;

    align-items:center;

    gap:12px;
}


.amd-seller-avatar{
    width:59px;

    height:59px;

    flex:
        0 0 59px;

    overflow:hidden;

    border-radius:50%;

    background:
        linear-gradient(
            135deg,
            #071a34,
            #173b6a
        );

    color:#fff;

    display:grid;

    place-items:center;

    font-size:22px;

    font-weight:800;
}


.amd-seller-avatar img{
    width:100%;

    height:100%;

    object-fit:cover;
}


.amd-seller-name h3{
    margin:0;

    color:#10213e;

    font-size:16px;

    font-weight:800;
}


.amd-seller-name h3 b{
    color:#0b6df0;

    font-size:11px;
}


.amd-seller-name p{
    margin:
        4px 0 0;

    color:#677994;

    font-size:10px;
}


.amd-seller-stats{
    display:grid;

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

    margin-top:17px;

    padding-top:15px;

    border-top:
        1px solid
        #edf1f5;
}


.amd-seller-stats > div{
    text-align:center;

    border-right:
        1px solid
        #edf1f5;
}


.amd-seller-stats > div:last-child{
    border-right:0;
}


.amd-seller-stats strong{
    display:block;

    color:#172a47;

    font-size:11px;
}


.amd-seller-stats small{
    display:block;

    margin-top:3px;

    color:#75849a;

    font-size:8px;
}


/* ========================================================= */
/* FINANCE */
/* ========================================================= */


.amd-finance-card{
    padding:
        17px 18px;
}


.amd-finance-heading{
    display:flex;

    align-items:flex-start;

    gap:11px;
}


.amd-finance-heading > span{
    width:43px;

    height:43px;

    flex:
        0 0 43px;

    border-radius:50%;

    background:#e7f0ff;

    color:#116bf0;

    display:grid;

    place-items:center;

    font-size:18px;
}


.amd-finance-heading h3{
    margin:0;

    color:#10203e;

    font-size:14px;

    font-weight:800;
}


.amd-finance-heading p{
    margin:
        4px 0 0;

    color:#6d7d95;

    font-size:9px;
}


.amd-finance-inputs{
    display:grid;

    grid-template-columns:
        1fr 1fr;

    gap:10px;

    margin-top:16px;
}


.amd-finance-inputs label > span{
    display:block;

    margin-bottom:6px;

    color:#31465f;

    font-size:9px;

    font-weight:600;
}


.amd-finance-inputs input,
.amd-finance-inputs select{
    width:100%;

    height:42px;

    padding:
        0 11px;

    border:
        1px solid
        #dce4ee;

    border-radius:8px;

    background:#fff;

    outline:0;

    color:#203552;

    font-size:10.5px;
}


.amd-monthly-payment{
    min-height:59px;

    padding:
        10px 11px;

    border-radius:8px;

    background:#f5f7fa;
}


.amd-monthly-payment small{
    display:block;

    color:#728198;

    font-size:8px;
}


.amd-monthly-payment strong{
    display:block;

    margin-top:4px;

    color:#0a1a37;

    font-size:17px;
}


.amd-finance-button{
    width:100%;

    height:44px;

    margin-top:11px;

    border:0;

    border-radius:8px;

    background:
        linear-gradient(
            180deg,
            #1979f8,
            #0965e5
        );

    color:#fff;

    font-size:10.5px;

    font-weight:750;

    cursor:pointer;
}


.amd-finance-note{
    display:block;

    margin-top:8px;

    color:#8490a2;

    font-size:8px;

    text-align:center;
}


/* ========================================================= */
/* BOOST */
/* ========================================================= */


.amd-boost-card{
    min-height:166px;

    position:relative;

    overflow:hidden;

    border-radius:13px;

    background:
        var(--amd-boost-image);

    background-size:cover;

    background-position:center;
}


.amd-boost-overlay{
    position:absolute;

    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(7,18,33,.95) 0%,
            rgba(7,18,33,.80) 50%,
            rgba(7,18,33,.10) 100%
        );
}


.amd-boost-copy{
    position:relative;

    z-index:3;

    width:62%;

    padding:
        20px 18px;
}


.amd-boost-copy > span{
    color:#f0bb37;

    font-size:25px;
}


.amd-boost-copy h3{
    margin:
        4px 0 7px;

    color:#fff;

    font-size:17px;

    font-weight:800;
}


.amd-boost-copy p{
    margin:0;

    color:
        rgba(
            255,
            255,
            255,
            .86
        );

    font-size:10.5px;

    line-height:1.5;
}


.amd-boost-copy a{
    min-height:38px;

    margin-top:12px;

    padding:
        0 13px;

    border-radius:7px;

    background:#f4bd3e;

    color:#2b2005;

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-size:9.5px;

    font-weight:800;
}


/* ========================================================= */
/* SIMILAR ADS */
/* ========================================================= */


.amd-similar-card{
    padding:
        16px 17px;
}


.amd-similar-heading{
    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:12px;
}


.amd-similar-heading h3{
    margin:0;

    color:#10203c;

    font-size:15px;

    font-weight:800;
}


.amd-similar-heading a{
    color:#0968e5;

    font-size:9px;

    font-weight:650;
}


.amd-similar-list{
    display:grid;
}


.amd-similar-item{
    min-height:80px;

    padding:
        10px 0;

    display:grid;

    grid-template-columns:
        117px
        minmax(0,1fr);

    gap:10px;

    align-items:center;

    border-bottom:
        1px solid
        #edf1f5;
}


.amd-similar-item:last-child{
    border-bottom:0;
}


.amd-similar-image{
    height:70px;

    position:relative;

    overflow:hidden;

    border-radius:7px;

    background:#eef2f7;
}


.amd-similar-image img{
    width:100%;

    height:100%;

    object-fit:cover;
}


.amd-similar-image span{
    position:absolute;

    right:5px;

    top:5px;

    color:#fff;

    font-size:16px;

    text-shadow:
        0 2px 5px
        rgba(0,0,0,.75);
}


.amd-similar-item strong{
    display:block;

    overflow:hidden;

    text-overflow:ellipsis;

    white-space:nowrap;

    color:#192c48;

    font-size:10.5px;
}


.amd-similar-item b{
    display:block;

    margin-top:6px;

    color:#086cec;

    font-size:15px;
}


.amd-similar-item small{
    display:block;

    margin-top:5px;

    color:#718198;

    font-size:8.5px;
}


.amd-mobile-anchor{
    scroll-margin-top:175px;
}


/* ========================================================= */
/* RESPONSIVE */
/* ========================================================= */


@media(max-width:1250px){

    .amd-main-grid{
        grid-template-columns:
            minmax(0,1fr)
            390px;
    }


    .amd-main-photo{
        height:510px;
    }


    .amd-summary-card h1{
        font-size:20px;
    }


    .amd-price-row > strong{
        font-size:26px;
    }

}


@media(max-width:980px){

    .amd-main-grid{
        grid-template-columns:1fr;
    }


    .amd-sidebar{
        grid-template-columns:
            repeat(2,1fr);
    }


    .amd-summary-card{
        position:static;

        grid-column:
            1 / -1;
    }


    .amd-seller-card{
        grid-column:
            1 / -1;
    }


    .amd-main-photo{
        height:500px;
    }


    .amd-similar-card{
        grid-column:
            1 / -1;
    }

}


@media(max-width:700px){

    .amd-breadcrumb-section{
        padding:
            20px 0 11px;
    }


    .amd-main-grid{
        gap:16px;
    }


    .amd-main-photo{
        height:380px;

        border-radius:12px;
    }


    .amd-gallery-title h1{
        max-width:75%;

        font-size:20px;
    }


    .amd-gallery-title p{
        max-width:70%;

        font-size:10px;
    }


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


    .amd-thumb{
        height:68px;
    }


    .amd-thumb:nth-child(n+5){
        display:none;
    }


    .amd-tabs{
        top:78px;

        min-height:54px;
    }


    .amd-tabs button{
        min-width:auto;

        padding:
            0 13px;

        font-size:10px;
    }


    .amd-benefit-panel{
        grid-template-columns:
            1fr 1fr;
    }


    .amd-benefit{
        border-right:0;

        border-bottom:
            1px solid
            #edf1f5;
    }


    .amd-spec-grid{
        grid-template-columns:1fr;
    }


    .amd-features-grid{
        grid-template-columns:
            1fr 1fr;
    }


    .amd-location-grid{
        grid-template-columns:1fr;
    }


    .amd-sidebar{
        grid-template-columns:1fr;
    }


    .amd-summary-card,
    .amd-seller-card,
    .amd-finance-card,
    .amd-similar-card{
        grid-column:auto;
    }

}


@media(max-width:480px){

    .amd-main-photo{
        height:315px;
    }


    .amd-gallery-title{
        left:14px;

        top:54px;
    }


    .amd-gallery-title h1{
        font-size:18px;
    }


    .amd-premium-badge{
        left:13px;

        top:13px;
    }


    .amd-save-gallery{
        right:52px;
    }


    .amd-share-gallery{
        right:10px;
    }


    .amd-summary-card{
        padding:
            17px 14px;
    }


    .amd-summary-card h1{
        font-size:19px;
    }


    .amd-price-row > strong{
        font-size:25px;
    }


    .amd-summary-specs{
        grid-template-columns:
            1fr 1fr;
    }


    .amd-primary-contact{
        grid-template-columns:
            1fr 1fr;
    }


    .amd-secondary-actions{
        grid-template-columns:
            1fr 1fr;
    }


    .amd-secondary-actions a:first-child{
        grid-column:
            1 / -1;
    }


    .amd-features-grid{
        grid-template-columns:1fr;
    }


    .amd-finance-inputs{
        grid-template-columns:1fr;
    }

}
