/*
Theme Name: Hello Elementor Dealer Child
Template: hello-elementor
Version: 1.0
*/
.dealer-filter-bar{
    /*display:flex;
    gap:15px;
    flex-wrap:wrap;*/
    margin-bottom:40px;
}

.dealer-filter-bar input,
.dealer-filter-bar select{
    height:50px;
    padding:0 15px;
    border:1px solid #ddd;
    border-radius:8px;
    min-width:220px;
}

.dealer-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}
.dealer-select-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.dealer-card{
    background:#fff;
    border-radius:15px;
    padding:25px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.dealer-card h3{
    margin-bottom:15px;
    font-size: 22px;
    font-weight: 600;
}

.dealer-btn{
    display:inline-block;
    padding:12px 20px;
    background:#000;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    margin-top:10px;
}

.dealer-loader{
    width:40px;
    height:40px;
    margin:40px auto;
    border:4px solid #ddd;
    border-top-color:#000;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}

@media(max-width:768px){
    .dealer-grid{
        grid-template-columns:1fr;
    }
}
#dealer-page-loader{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.85);
    z-index:999999;
    display:none;
    justify-content:center;
    align-items:center;
}

.dealer-loader-spinner{
    width:60px;
    height:60px;
    border:5px solid #e5e5e5;
    border-top:5px solid #000;
    border-radius:50%;
    animation:dealer-spin 0.8s linear infinite;
}

@keyframes dealer-spin{
    from{
        transform:rotate(0deg);
    }
    to{
        transform:rotate(360deg);
    }
}