/* Header*/
header{
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background-color: #007b5f; /* Green background */
    justify-content: center;
    z-index: 1000;
}
.mini-header {
    width: 1200px;
    max-width: 1200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    padding: 0 15px;
    
}
.mini-header .logo {
    display: flex;
    align-items: center;
}

.mini-header .logo img {
    height: 30px;
    margin-right: 10px;
}

.header-right-chat, .header-right-login{
    color: rgba(var(--white));
    cursor: pointer;
    padding: 5px 15px;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 14px;
    background-color: rgba(var(--primary-color));
}
.mini-header .menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mini-header .menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.mini-header .menu a:hover {
    text-decoration: underline;
}

.mini-header .cta-button {
    background-color: #ffcc00; /* Yellow button */
    color: #333;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.mini-header .cta-button:hover {
    background-color: #f0c300;
}
@media (max-width: 768px) {
    header {
        padding: 0 10px;
    }

    .mini-header {
        width: 100%;
        height: auto;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
    }

    .mini-header .logo {
        margin-bottom: 10px; 
    }

    .mini-header .menu {
        justify-content: flex-end;
        flex-direction: row; /* Stack menu items vertically */
        gap: 10px;
        width: 100%; /* Take full width */
    }

    .mini-header .menu a {
        text-align: left; /* Align links to the left */
        padding: 5px 0; /* Add some vertical spacing */
        font-size: 16px; /* Slightly larger font for readability */
    }
    .mini-header .menu-login {
        order: 2;
    }

    .mini-header .cta-button {
        order: -1;
        width: 120px;
        height: 30px; 
        text-align: center;
        font-size: 12px;
    }
    .mini-header .menu .header-right-chat, .mini-header .menu .header-right-login{
        padding: 5px 15px;
        font-size: 12px;
    }
}
/* End mini Header Bar*/





/*category product*/
.main-content{
    margin-top: 30px;
}
.cate_headArea{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgba(var(--primary), 1);
    color: #fff;
    margin-top: 50px;
    border-radius: 12px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.cate_headArea-location {
    display: flex;
    align-items: center;
    color: #fff;
}
.cate_headArea-category{
    display: flex;
    align-items: center;
    color: #fff;
    text-transform: capitalize;
}
.search-bar {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 70px;
    overflow: hidden;
    position: relative;
}
.search-bar .search-bar-fill{
    width: 100%;
    height: 36px;
    outline: 0;
    border: 0;
}
.search-bar .search-bar-fill::placeholder {
    color: #ccc;
    padding-left: 10px;
    font-size: larger;
}
.search-bar-button {
    position: absolute;
    top: 0px;
    right:0px;
    border: none;
    font-size: 24px;
    height: 36px;
    width: 36px;
    line-height: 0;
    cursor: pointer;
    background-color: #FFC107;
    border-radius: 50%;
}
@media (max-width: 768px) {
    .cate_headArea {
        
        flex-wrap: wrap;
        /* padding: 10px 15px; */
    }
    .cate_headArea-location {
        /* margin-bottom: 10px; */
    }
    .cate_headArea-category {
        margin-bottom: 10px;
    }
    .cate_headArea-search{
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}


.cate-product{
    background-color: rgba(var(--white), 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar {
    background-color: #fff;
    padding: 15px;
}
.sidebar select,
.sidebar input {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px 0 0;

}


.ad-listing {
    width: calc(50% - 10px);
    background-color: #fff;
    border: 0.5px solid #ddd;
    margin: 5px;
    padding: 10px;
    border-radius: 8px;
    position:relative;
    display: flex;
    align-items: flex-start;
}
.ad-listing:hover{
    border: 1px solid rgba(var(--primary), 0.5);
    box-shadow: 1px 1px 8px 0px rgba(var(--primary), 1);
}
.ad-listing img {
    width: 120px;
    height: 120px;
    margin-right: 15px;
    border-radius: 4px;
    object-fit: cover;
    object-position:top;
    border-radius:6px;
}
.ad-listing:nth-child(5){
    width: calc(100% - 10px);
    border: 1px solid rgba(var(--primary), 0.5);
    box-shadow: 1px 1px 8px 0px rgba(var(--primary), 0.5);
}
.ad-listing:nth-child(5) img{
    width: 150px;
    height: 150px;
}
.ad-listing:nth-child(10){
    width: calc(100% - 10px);
}
.ad-listing .details {
    flex: 1;
}
.ad-listing .details h2 {
    margin: 0;
    font-size: 16px;
    font-weight:bold;
}
.ad-listing .details p {
    margin:0;
    color: #555;
    font-size:13px;
}
.ad-listing .details .price {
    color: #00a859;
    font-weight: bold;
    font-size:larger;
    padding-top:6px;
    line-height:normal;
}

@media (max-width: 960px) {
    .cate-product-filter{
        display: none;
    }
    .ad-listing {
        width: 100%;
    }
}

.home-add2{
    position: absolute;
    bottom: 5px;
    right: 5px;
    display:none;
}
.ad-listing:hover .home-add2{
    display:block;
}