.keke-marketplace{
    background:#f5f7f6;
    color:#10241a;
    min-height:100vh;
}

.keke-shell{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
}

.keke-hero{
    padding:58px 0 105px;
    color:#fff;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(34,197,94,.18),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #032d20 0%,
            #075c3c 60%,
            #087443 100%
        );
}

.keke-hero-copy{
    max-width:720px;
}

.keke-eyebrow{
    display:block;
    margin-bottom:10px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.16em;
}

.keke-hero h1{
    margin:0;
    color:#fff;
    font-size:clamp(44px,6vw,72px);
    line-height:.98;
    letter-spacing:-.04em;
}

.keke-hero p{
    max-width:620px;
    margin:20px 0 26px;
    color:rgba(255,255,255,.9);
    font-size:17px;
    line-height:1.65;
}

.keke-sell-button{
    display:inline-flex;
    align-items:center;
    min-height:48px;
    padding:0 22px;
    border-radius:12px;
    background:#fff;
    color:#075c3c;
    font-weight:900;
    text-decoration:none;
}

.keke-search-wrap{
    position:relative;
    z-index:4;
    margin-top:-58px;
}

.keke-search{
    display:grid;
    grid-template-columns:2fr 1fr 1fr auto;
    gap:12px;
    padding:20px;
    border:1px solid #dce5e0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 20px 55px rgba(15,40,28,.12);
}

.keke-search label{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:#273b31;
    font-size:12px;
    font-weight:900;
}

.keke-search input,
.keke-search select{
    width:100%;
    min-height:46px;
    padding:0 13px;
    border:1px solid #d8e1dc;
    border-radius:9px;
    background:#fff;
    font:inherit;
}

.keke-search > button,
.keke-filter-actions button{
    align-self:end;
    min-height:46px;
    padding:0 20px;
    border:0;
    border-radius:9px;
    background:#087443;
    color:#fff;
    font-weight:900;
    cursor:pointer;
}

.keke-more{
    grid-column:1/-1;
    border-top:1px solid #e8eeeb;
    padding-top:13px;
}

.keke-more summary{
    color:#087443;
    font-weight:900;
    cursor:pointer;
}

.keke-filter-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    margin-top:18px;
}

.keke-filter-actions{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:16px;
}

.keke-filter-actions a{
    color:#51635a;
    font-weight:800;
}

.keke-results{
    padding:58px 0 80px;
}

.keke-results-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:25px;
}

.keke-results-head > div > span{
    color:#087443;
    font-size:12px;
    font-weight:900;
    letter-spacing:.14em;
}

.keke-results-head h2{
    margin:5px 0 3px;
    font-size:32px;
    letter-spacing:-.025em;
}

.keke-results-head p{
    margin:0;
    color:#66756d;
}

.keke-results-head form label{
    display:flex;
    align-items:center;
    gap:9px;
    font-size:13px;
    font-weight:800;
}

.keke-results-head select{
    min-height:42px;
    padding:0 34px 0 12px;
    border:1px solid #d6e0da;
    border-radius:9px;
    background:#fff;
}

.keke-premium-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.keke-premium-card{
    overflow:hidden;
    border:1px solid #dce5e0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 26px rgba(17,42,29,.07);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.keke-premium-card:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 38px rgba(17,42,29,.13);
}

.keke-premium-card .vehicle-card-media{
    position:relative;
    aspect-ratio:16/10;
    overflow:hidden;
    background:#e9efec;
}

.keke-premium-card .vehicle-card-media img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.keke-premium-card .vehicle-badges{
    position:absolute;
    top:12px;
    left:12px;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.keke-premium-card .vehicle-badge{
    padding:6px 9px;
    border-radius:999px;
    background:rgba(5,45,31,.9);
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
}

.keke-premium-card .vehicle-card-body{
    padding:18px;
}

.keke-premium-card .vehicle-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    color:#68786f;
    font-size:12px;
    font-weight:800;
}

.keke-premium-card h3{
    margin:9px 0 8px;
    font-size:20px;
    line-height:1.25;
}

.keke-premium-card h3 a{
    color:#10241a;
    text-decoration:none;
}

.keke-premium-card .vehicle-price{
    margin:8px 0 14px;
    color:#087443;
    font-size:23px;
    font-weight:950;
}

.keke-premium-card .vehicle-trust,
.keke-spec-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:11px 0;
    border-top:1px solid #edf1ef;
    color:#53645b;
    font-size:12px;
    font-weight:700;
}

.keke-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:5px;
    padding-top:14px;
    border-top:1px solid #edf1ef;
    color:#738078;
    font-size:12px;
}

.keke-card-footer a{
    color:#075c3c;
    font-weight:950;
    text-decoration:none;
}

.nan-market-success{
    position:relative;
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    width:min(1180px,calc(100% - 40px));
    margin:18px auto;
    padding:16px 18px;
    border:1px solid #9ed9bb;
    border-radius:12px;
    background:#ecfdf3;
    color:#075c3c;
}

.nan-market-success div{
    display:flex;
    gap:10px;
    align-items:center;
}

.nan-market-success strong{
    font-size:11px;
    letter-spacing:.12em;
}

.nan-market-success a{
    color:#075c3c;
    font-weight:900;
}

.keke-empty{
    grid-column:1/-1;
    padding:60px 30px;
    border:1px dashed #cbd8d1;
    border-radius:18px;
    background:#fff;
    text-align:center;
}

.keke-empty strong{
    color:#087443;
    font-size:11px;
    letter-spacing:.14em;
}

.keke-empty h3{
    margin:10px 0 6px;
    font-size:25px;
}

.keke-empty p{
    color:#68786f;
}

.keke-empty a{
    display:inline-flex;
    margin-top:12px;
    color:#075c3c;
    font-weight:900;
}

.keke-pager{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:34px;
}

.keke-pager a,
.keke-pager span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 13px;
    border:1px solid #d7e1dc;
    border-radius:8px;
    background:#fff;
    color:#173227;
    text-decoration:none;
}

.keke-pager .active{
    border-color:#087443;
    background:#087443;
    color:#fff;
}

.keke-pager .pager-disabled{
    opacity:.45;
}

.keke-pager small{
    flex-basis:100%;
    margin-top:6px;
    color:#75837b;
    text-align:center;
}

@media(max-width:900px){
    .keke-search{
        grid-template-columns:1fr 1fr;
    }

    .keke-search-main{
        grid-column:1/-1;
    }

    .keke-filter-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .keke-premium-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:640px){
    .keke-shell{
        width:min(100% - 24px,1180px);
    }

    .keke-hero{
        padding:42px 0 90px;
    }

    .keke-search{
        grid-template-columns:1fr;
        padding:14px;
    }

    .keke-search-main,
    .keke-more{
        grid-column:auto;
    }

    .keke-filter-grid,
    .keke-premium-grid{
        grid-template-columns:1fr;
    }

    .keke-results-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .nan-market-success{
        width:calc(100% - 24px);
        align-items:flex-start;
        flex-direction:column;
    }
}
