/* ==========================================
   BUILD SETU GLOBAL CSS
========================================== */

:root{
    --brand:#FF9933;
    --brand-dark:#E65100;
    --brand-soft:#FFF3E0;

    --text:#111827;
    --muted:#6b7280;
    --border:#e5e7eb;
    --bg:#f8fafc;
    --white:#ffffff;

    --radius:22px;
    --shadow:0 12px 30px rgba(15,23,42,.08);
}

/* ========================================== */

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding:0 0 155px;

    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

    background:var(--bg);
    color:var(--text);

    line-height:1.5;
}

/* ========================================== */

a{
    color:inherit;
}

img{
    max-width:100%;
    height:auto;
}

/* ========================================== */

.bs-container{
    width:100%;
    max-width:1120px;
    margin:0 auto;
    padding:0 16px;
}

.main-content{
    min-height:70vh;
}

/* ==========================================
   COMMON SECTIONS
========================================== */

.bs-section{
    padding:22px 0;
}

.bs-card{
    background:var(--white);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:18px;
    box-shadow:var(--shadow);
}

/* ==========================================
   BUTTONS
========================================== */

.bs-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    min-height:44px;
    padding:10px 16px;

    border:0;
    border-radius:14px;

    background:var(--brand);
    color:#fff;

    font-size:15px;
    font-weight:800;

    text-decoration:none;
    cursor:pointer;
}

.bs-btn:hover{
    background:var(--brand-dark);
}

.bs-btn-outline{
    background:#fff;
    color:var(--brand-dark);
    border:1px solid var(--brand);
}

/* ==========================================
   FORM
========================================== */

.bs-input,
.bs-select,
.bs-textarea{
    width:100%;

    border:1px solid var(--border);
    border-radius:14px;

    padding:12px 14px;

    font-size:15px;

    background:#fff;
    color:var(--text);
}

.bs-input:focus,
.bs-select:focus,
.bs-textarea:focus{
    outline:none;
    border-color:var(--brand);
    box-shadow:0 0 0 3px rgba(255,153,51,.18);
}

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

.bs-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

/* ==========================================
   TEXT
========================================== */

.bs-title{
    margin:0 0 8px;
    font-size:30px;
    font-weight:900;
    line-height:1.2;
}

.bs-subtitle{
    margin:0;
    color:var(--muted);
    font-size:16px;
    font-weight:600;
}

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

@media(max-width:900px){
    .bs-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:640px){

    body{
        padding-bottom:148px;
    }

    .bs-container{
        padding:0 12px;
    }

    .bs-grid{
        grid-template-columns:1fr;
    }

    .bs-title{
        font-size:24px;
    }

    .bs-card{
        border-radius:20px;
        padding:16px;
    }

}
.home-hero{
    text-align:center;
    padding:34px 18px;
}

.hero-badge{
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:var(--brand-soft);
    color:var(--brand-dark);
    font-size:13px;
    font-weight:900;
    margin-bottom:14px;
}

.home-search{
    max-width:680px;
    margin:22px auto 0;
    display:flex;
    gap:10px;
}

.section-title{
    margin:0 0 14px;
    font-size:22px;
    font-weight:900;
}

.state-grid,
.category-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.state-card,
.category-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:18px;
    text-align:center;
    text-decoration:none;
    box-shadow:var(--shadow);
}

.state-icon,
.category-icon{
    font-size:30px;
    display:block;
    margin-bottom:8px;
}

.state-name,
.category-name{
    display:block;
    font-size:17px;
    font-weight:900;
    color:#111827;
}

.state-sub,
.category-sub{
    display:block;
    margin-top:3px;
    color:#6b7280;
    font-size:13px;
    font-weight:700;
}

@media(max-width:768px){
    .state-grid,
    .category-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .home-search{
        flex-direction:column;
    }
}

@media(max-width:480px){
    .state-grid,
    .category-grid{
        grid-template-columns:1fr;
    }
}
.city-action-card{
    text-align:center;
}

.city-action-card h2{
    margin:0 0 8px;
    font-size:24px;
    font-weight:900;
}

.city-action-card p{
    margin:0 auto 16px;
    max-width:620px;
    color:var(--muted);
    font-weight:600;
}

.listing-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.listing-card{
    display:block;
    overflow:hidden;

    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;

    text-decoration:none;
    box-shadow:var(--shadow);
}

.listing-image{
    height:170px;
    background:var(--brand-soft);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:44px;
}

.listing-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.listing-body{
    padding:14px;
}

.listing-category{
    display:inline-flex;
    margin-bottom:8px;
    padding:5px 9px;

    border-radius:999px;
    background:var(--brand-soft);
    color:var(--brand-dark);

    font-size:12px;
    font-weight:900;
}

.listing-body h3{
    margin:0 0 6px;
    font-size:17px;
    font-weight:900;
    color:#111827;
}

.listing-body p{
    margin:0;
    color:var(--muted);
    font-size:14px;
    font-weight:600;
}

@media(max-width:900px){
    .listing-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:520px){
    .listing-grid{
        grid-template-columns:1fr;
    }
}
.listing-meta{
    margin-top:10px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;

    color:#6b7280;
    font-size:13px;
    font-weight:700;
}

.verified-badge{
    display:inline-flex;
    align-items:center;

    padding:4px 8px;

    border-radius:999px;

    background:#dcfce7;
    color:#15803d;

    font-size:12px;
    font-weight:900;
}
.listing-detail-card{
    max-width:850px;
    margin:auto;
}

.detail-image{
    width:100%;
    min-height:260px;
    border-radius:22px;
    overflow:hidden;
    background:var(--brand-soft);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:60px;
    margin-bottom:18px;
}

.detail-image img{
    width:100%;
    height:100%;
    max-height:460px;
    object-fit:cover;
}

.detail-meta{
    justify-content:flex-start;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.detail-description{
    color:#1f2937;
    font-size:16px;
    font-weight:600;
    line-height:1.8;
}

.detail-box{
    margin-top:16px;
    padding:14px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid var(--border);
    color:#111827;
    font-weight:600;
}

.detail-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

@media(max-width:520px){
    .detail-image{
        min-height:210px;
        border-radius:18px;
    }

    .detail-actions .bs-btn{
        width:100%;
    }
}
/* ==========================================
   404 PAGE
========================================== */

.not-found-card{
    max-width:700px;
    margin:auto;

    text-align:center;

    padding:50px 24px;
}

.not-found-icon{
    font-size:70px;
    margin-bottom:12px;
}

.not-found-code{
    font-size:70px;
    font-weight:900;

    color:var(--brand-dark);

    line-height:1;
}

.not-found-title{
    margin:12px 0 10px;

    font-size:30px;
    font-weight:900;

    color:#111827;
}

.not-found-text{
    max-width:500px;

    margin:0 auto;

    color:#6b7280;

    font-size:16px;
    font-weight:600;

    line-height:1.8;
}

.not-found-actions{
    margin-top:24px;

    display:flex;
    justify-content:center;
    gap:12px;

    flex-wrap:wrap;
}

@media(max-width:640px){

    .not-found-card{
        padding:40px 18px;
    }

    .not-found-code{
        font-size:56px;
    }

    .not-found-title{
        font-size:24px;
    }

    .not-found-actions .bs-btn{
        width:100%;
    }

}