
sb_body{
    font-family:'Inter',sans-serif;
    background:#F8FAFC;
    color:#0F172A;
    line-height:1.6;
}

.sb_container{
    width:92%;
    max-width:1600px;
    margin:auto;
}

/* HERO */

.sb_hero{
    padding:120px 0 70px;
    background:
    linear-gradient(rgba(15,23,42,0.78), rgba(15,23,42,0.78)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=2070') center/cover;
    color:white;
}

.sb_hero-content{
    text-align:center;
    max-width:1000px;
    margin:auto;
}

.sb_hero h1{
    font-size:76px;
    line-height:1.05;
    margin-bottom:25px;
    font-weight:800;
}

.sb_hero p{
    font-size:22px;
    color:#CBD5E1;
    margin-bottom:45px;
}

/* SEARCH */

.sb_search-wrapper{
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,0.12);
    padding:18px;
    border-radius:30px;
    display:flex;
    gap:15px;
    box-shadow:0 20px 60px rgba(0,0,0,0.15);
}

.sb_search-wrapper input,
.sb_search-wrapper select{
    flex:1;
    border:none;
    background:white;
    padding:20px;
    border-radius:18px;
    font-size:16px;
}

.sb_search-btn{
    background:#2563EB;
    color:white;
    border:none;
    padding:20px 36px;
    border-radius:18px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s ease;
}

.sb_search-btn:hover{
    transform:translateY(-2px);
}

/* CHIPS */

.sb_service-chips{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
    margin-top:35px;
}

.sb_chip{
    background:rgba(255,255,255,0.12);
    border:1px solid rgba(255,255,255,0.14);
    color:white;
    padding:12px 18px;
    border-radius:100px;
    font-size:14px;
    cursor:pointer;
    transition:0.3s ease;
}

.sb_chip:hover,
.sb_chip.active{
    background:white;
    color:#0F172A;
}

/* MAP SECTION */

.sb_map-section{
    margin-top:-50px;
    position:relative;
    z-index:10;
}

.sb_map-card{
    background:white;
    border-radius:40px;
    overflow:hidden;
    box-shadow:0 30px 80px rgba(15,23,42,0.14);
}

.sb_map-header{
    padding:35px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    border-bottom:1px solid #E2E8F0;
}

.sb_map-title h2{
    font-size:40px;
    margin-bottom:8px;
}

.sb_map-title p{
    color:#64748B;
}

.sb_map-actions{
    display:flex;
    gap:14px;
}

.sb_map-btn{
    background:#EFF6FF;
    color:#2563EB;
    border:none;
    padding:14px 20px;
    border-radius:14px;
    font-weight:600;
    cursor:pointer;
}

.sb_map-btn.primary{
    background:#2563EB;
    color:white;
}

#map{
    width:100%;
    height:700px;
    transform: none !important;
    filter: none !important;
    will-change: auto;
}
/* strip and transforms to fix mapping layout using leaflet */
.sb_map-card,
.sb_map-section,
.sb_container {
    transform: none !important;
}

/* CUSTOM MAP PINS */

.sb_custom-pin{
    background:#2563EB;
    color:white;
    padding:10px 16px;
    border-radius:100px;
    font-size:13px;
    font-weight:700;
    border:3px solid white;
    box-shadow:0 12px 30px rgba(37,99,235,0.35);
    white-space:nowrap;
}

/* POPUP */

.sb_leaflet-popup-content-wrapper{
    border-radius:24px;
    padding:8px;
    box-shadow:0 20px 60px rgba(15,23,42,0.16);
}

.sb_map-popup{
    width:260px;
    font-family:'Inter',sans-serif;
}

.sb_map-popup img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:18px;
    margin-bottom:16px;
}

.sb_map-popup h4{
    font-size:22px;
    margin-bottom:8px;
}

.sb_map-popup p{
    color:#64748B;
    font-size:14px;
    margin-bottom:18px;
}

.sb_popup-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;
}

.sb_popup-tag{
    background:#F0FDF4;
    color:#15803D;
    padding:8px 12px;
    border-radius:100px;
    font-size:12px;
    font-weight:600;
}

.sb_popup-buttons{
    display:flex;
    gap:10px;
}

.sb_popup-buttons a{
    flex:1;
    text-align:center;
    padding:12px;
    border-radius:12px;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
}

.sb_popup-primary{
    background:#2563EB;
    color:white;
}

.sb_popup-secondary{
    background:#F1F5F9;
    color:#0F172A;
}

/* RESULTS SECTION */

.sb_results-section{
    padding:70px 0 100px;
}

.sb_results-layout{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:35px;
    align-items:start;
}

/* FILTERS */

.sb_filters{
    position:sticky;
    top:30px;
}

.sb_filter-card{
    background:white;
    border-radius:32px;
    padding:35px;
    box-shadow:0 10px 40px rgba(15,23,42,0.05);
}

.sb_filter-card h3{
    font-size:28px;
    margin-bottom:30px;
}

.sb_filter-group{
    margin-bottom:30px;
}

.sb_filter-group label{
    display:block;
    margin-bottom:12px;
    font-weight:600;
}

.sb_filter-group select,
.sb_filter-group input{
    width:100%;
    padding:16px;
    border-radius:14px;
    border:1px solid #CBD5E1;
    background:#F8FAFC;
}

.sb_checkbox{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:14px;
    color:#475569;
}

/* RESULTS */

.sb_results-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
    flex-wrap:wrap;
    gap:20px;
}

.sb_results-header h2{
    font-size:42px;
}

.sb_results-header p{
    color:#64748B;
    margin-top:8px;
}

.sb_sort-select{
    padding:16px 20px;
    border-radius:14px;
    border:1px solid #CBD5E1;
    background:white;
}

/* BUSINESS GRID */

.sb_business-grid{
    display:grid;
    gap:30px;
}

/* BUSINESS CARD */

.sb_business-card{
    background:white;
    border-radius:36px;
    overflow:hidden;
    display:grid;
    grid-template-columns:320px 1fr;
    box-shadow:0 10px 40px rgba(15,23,42,0.06);
    transition:0.35s ease;
}

.sb_business-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 70px rgba(15,23,42,0.12);
}

.sb_business-image{
    position:relative;
}

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

.sb_rating{
    position:absolute;
    top:20px;
    right:20px;
    background:white;
    padding:10px 14px;
    border-radius:100px;
    font-size:14px;
    font-weight:700;
}

.sb_business-content{
    padding:38px;
}

.sb_top-row{
    display:flex;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:24px;
}

.sb_logo-row{
    display:flex;
    gap:18px;
    align-items:center;
}

.sb_logo-row img{
    width:85px;
    height:85px;
    border-radius:22px;
    object-fit:cover;
    border:1px solid #E2E8F0;
    background:#F8FAFC;
    padding:8px;
}

.sb_logo-row h3{
    font-size:32px;
}

.sb_location{
    color:#64748B;
    margin-top:6px;
}

.sb_distance{
    background:#EFF6FF;
    color:#2563EB;
    padding:12px 18px;
    border-radius:100px;
    font-weight:600;
    height:fit-content;
}

.sb_description{
    color:#475569;
    margin-bottom:28px;
}

.sb_tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:28px;
}

.sb_tag{
    background:#F0FDF4;
    color:#15803D;
    padding:10px 14px;
    border-radius:100px;
    font-size:13px;
    font-weight:600;
}

.sb_badges{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:30px;
}

.sb_badge{
    background:#FEF3C7;
    color:#92400E;
    padding:10px 14px;
    border-radius:100px;
    font-size:13px;
    font-weight:600;
}

.sb_card-buttons{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.sb_btn{
    padding:16px 22px;
    border-radius:16px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s ease;
}

.sb_btn-primary{
    background:#2563EB;
    color:white;
}

.sb_btn-secondary{
    background:#F1F5F9;
    color:#0F172A;
}

.sb_btn:hover{
    transform:translateY(-2px);
}

/* PAGINATION */

.sb_pagination{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:50px;
}

.sb_page{
    width:52px;
    height:52px;
    background:white;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    box-shadow:0 10px 30px rgba(15,23,42,0.05);
}

.sb_page.active{
    background:#2563EB;
    color:white;
}

/* MOBILE */

@media(max-width:1200px){

.sb_results-layout{
    grid-template-columns:1fr;
}

.sb_filters{
    position:relative;
    top:0;
}

}

@media(max-width:992px){

.sb_hero h1{
    font-size:48px;
}

.sb_search-wrapper{
    flex-direction:column;
}

.sb_business-card{
    grid-template-columns:1fr;
}

.sb_business-image{
    height:280px;
}

.sb_map-header{
    flex-direction:column;
    align-items:flex-start;
}

#sb_map{
    height:500px;
}

}
