*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
.m_main{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    border: 0px solid black;
    background: #EEF5FF;
    border-radius: 10px;
    padding-top: 10px;
    justify-content: center;
    background: #fff;
    padding-top: 110px;
    text-decoration: none;
    padding-bottom: 10px;

}

.ad_search{
    display: flex;
    width: 80%;
    margin-bottom: 10px;


}


.m_search{
    position: relative;
    align-items: center;
    background-color: hsl(0, 0%, 100%);
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 0px;
    box-shadow: inset 0 1px 2px #eee;
    caret-color: #0f0f0f;
    color: hsl(0, 0%, 6.7%);
    padding: 0 4px 0 16px;
    flex: 1;
    flex-basis: 1e-9px;
    display: flex;
    flex-direction: row;
}
.m_lens{
    border: 1px solid #d3d3d3;
    background-color: #f8f8f8;
    border-radius: 0 40px 40px 0;
    cursor: pointer;
    height: 40px;
    width: 64px;
    margin: 0;

}
.m_post{
    border: 1px solid #d3d3d3;
    background-color: #f8f8f8;
    border-radius: 0 40px 40px 0;
    cursor: pointer;
    height: 40px;
    width: 64px;
    margin: 0;
}

.m_select{
    position: relative;
    align-items: center;
    background-color: hsl(0, 0%, 100%);
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 40px 0 0 40px;
    box-shadow: inset 0 1px 2px #eee;
    caret-color: #0f0f0f;
    color: hsl(0, 0%, 6.7%);
    padding: 0 4px 0 16px;
    flex: 0;
    flex-basis: 1e-9px;
    display: flex;
    flex-direction: row;
    margin-left: 20%;
}



.loop{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}


.ad_card{
    display: flex;
    flex-direction: column;
    height: 300px;
    width: 216px;
    border: 1px solid rgba(14, 4, 5, 0.2);
    margin: 10px;
    border-radius: 6px;
}

.empty{
    width: 216px;
}
.ad_jpg{
    display: flex;
    justify-content: center;
    width: 204px;
    margin: 4px;
    background-color: inherit;
    position: relative;
    height: 160px;
    overflow: hidden;
}
.ad_img{
    object-fit: contain;
    max-width: 100%; 
    height: auto; 
    align-items: center;
}

.ad_details{
    margin: 4px;
}
.price{
    direction: ltr;
    font-weight: 700;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--blackText);
    font-size: 20px;
}
.ad_cat{
    background-color: #0F6C79;
    height: 20px;
    width: 55px;
    position: static;
    float: right;
    border-radius: 4px;
    color: aliceblue;
    text-align: center;
}
.ad_feature{
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    color: rgba(0, 47, 52, 0.64);
    line-height: 25px;
}

.ad_feature1{
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    color: rgba(0, 47, 52, 0.64);
    line-height: 25px;
    float: right;
}

.ad_feature2{
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 5px;
    color: rgba(0, 47, 52, 0.64);
    line-height: 25px;
}
.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
.madmax{
    display: flex;
}
.zks{
    height: 80px;
    width: auto;
    border-radius: 10px;
    margin-right: 20px;
}
.zksp{
    height: 80px;
    width: auto;
    border-radius: 10px;
    margin-right: 20px;
    float: right;
}
.padk {
    font-family: sans-serif;
    font-weight: 600;
}
.madmax1{
    float: right;
}
.profile{
    display: flex;
    justify-content: center;

}
.row{
    display: flex;
    flex-direction: column;
}
.tp{
    padding-top: 10px;
    padding-bottom: 10px;
}
.pt{

}
.qt{
    
}

@media (max-width: 952px){}
@media (max-width: 858px){
    .padk {
        text-align: center;
        padding-right: 20px;
        font-family: sans-serif;
        font-weight: 600;
    }
    .zksp{
        height: 80px;
        width: auto;
        border-radius: 10px;
        margin-right: 20px;
        float: right;
    }
    .madmax{
        display: flex;
    
    }
    .zks{
        height: 50px;
        width: auto;
        border-radius: 10px;
        margin-right: 0px;
    }
    .m_main{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        border: 0px solid black;
        background: #EEF5FF;
        border-radius: 10px;
        padding-top: 10px;
        justify-content: center;
        background: #fff;
        padding-top: 87px;
        text-decoration: none;
        padding-bottom: 10px;
    
    }
    
    .ad_search{
        display: flex;
        width: 100%;
    
    
    }
    
    
    .m_search{
        position: relative;
        align-items: center;
        background-color: hsl(0, 0%, 100%);
        border: 1px solid #ccc;
        border-right: none;
        border-radius: 0px;
        box-shadow: inset 0 1px 2px #eee;
        caret-color: #0f0f0f;
        color: hsl(0, 0%, 6.7%);
        padding: 0 4px 0 16px;
        flex: 1;
        flex-basis: 1e-9px;
        display: flex;
        flex-direction: row;
    }
    .m_lens{
        border: 1px solid #d3d3d3;
        background-color: #f8f8f8;
        border-radius: 0 40px 40px 0;
        cursor: pointer;
        height: 40px;
        width: 64px;
        margin: 0;
    
    }
    
    .m_select{
        position: relative;
        align-items: center;
        background-color: hsl(0, 0%, 100%);
        border: 1px solid #ccc;
        border-right: none;
        border-radius: 40px 0 0 40px;
        box-shadow: inset 0 1px 2px #eee;
        caret-color: #0f0f0f;
        color: hsl(0, 0%, 6.7%);
        padding: 0 4px 0 16px;
        flex: 0;
        flex-basis: 1e-9px;
        display: flex;
        flex-direction: row;
        margin-left: 0%;
    }
    
    
    
    .loop{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .ad_card{
        display: flex;
        flex-direction: column;
        height: 294px;
        width: 148px;
        border: 1px solid rgba(14, 4, 5, 0.2);
        margin: 10px;
        border-radius: 6px;
    }
    .empty{
        width: 148px;
    }
    .ad_jpg{
        display: flex;
        justify-content: center;
        width: 136px;
        margin: 4px;
        background-color: inherit;
        position: relative;
        height: 160px;
        overflow: hidden;
    }
    .ad_img{
        object-fit: contain;
        max-width: 100%; 
        height: auto; 
        align-items: center;
        border-radius: 1px;
    }
    
    .ad_details{
        margin: 4px;
    }
    .price{
        direction: ltr;
        font-weight: 700;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: var(--blackText);
        font-size: 17px;
    }
    .ad_cat{
        background-color: #0F6C79;
        height: 17px;
        width: 44px;
        font-size: small;
        position: static;
        float: right;
        border-radius: 4px;
        color: aliceblue;
        text-align: center;
    }
    .ad_feature{
        font-weight: 400;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 5px;
        color: rgba(0, 47, 52, 0.64);
        line-height: 25px;
    }
    
    .ad_feature1{
        font-weight: 400;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 5px;
        color: rgba(0, 47, 52, 0.64);
        line-height: 25px;
        float: right;
    }

    .ad_feature2{
        font-weight: 400;
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 5px;
        color: rgba(0, 47, 52, 0.64);
        line-height: 25px;
    }
    .ad_feature3{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}