.header{
    background-color: #4e0557;
}

.searchresult-page-container{
    margin:80px auto; 
    min-height:800px;
    max-width:1460px;
    display: flex;
    flex-direction: column;
}

.right-arrow{
    /* border:2px solid white; */
    display: none;
}

.right-arrow img{
    height:60%;
    width:70%
}

.category-name-place{
    text-align: center;
    color:#4e0557;
}

.categories-filters-box{
    background-color: lightblue;
    min-height:40px;
    max-width:1440px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}
    
.passive{
    max-height: 0;
    opacity: 0;
    padding: 0;
}

/* Общий стиль для label */
.categories-filters-box label {
    font-size: 14px;
    font-weight: 600;
    color: #4e0557; /* нежный фиолетовый */
    margin-right: 4px;
}

/* Инпуты для цены */
.categories-filters-box input[type="number"] {
    width: 100px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
}

/* Убираем стрелки у number */
.categories-filters-box input[type=number]::-webkit-inner-spin-button,
.categories-filters-box input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Фокус эффект */
.categories-filters-box input[type="number"]:focus {
    border: 1px solid #4e0557;
    box-shadow: 0 0 5px rgba(78, 5, 87, 0.3);
}

/* Селекты */
.categories-filters-box select {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
    appearance: none; /* убираем стандартную стрелку */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%234e0557' height='20' viewBox='0 0 24 24' width='20'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 32px;
}

/* Hover и focus */
.categories-filters-box select:hover,
.categories-filters-box select:focus {
    border: 1px solid #4e0557;
    box-shadow: 0 0 5px rgba(78, 5, 87, 0.3);
}

/* Опции */
.categories-filters-box select option {
    padding: 8px;
    font-size: 14px;
}

/* Кнопка */
.categories-filters-box button {
    padding: 8px 16px;
    /* border: none; */
    border:2px solid #4e0557;
    border-radius: 8px;
    background: #4e0557;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.categories-filters-box button:active {
    /* background: #6e1b77; */
    background-color: white;
    border:2px solid #4e0557;
    color:#4e0557;
    
}

.categories-filters-box button:active {
    transform: scale(0.97);
}

/* Vip container */

.searchresult-vip-ads-box{
    max-width: 100%;
    min-height:20px;
    margin-top:10px;
    /* border: 2px solid #4e0557; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.searchresult-vip-ads-box .simple-ad-info{
    background-color: #4e0557;
    color:white;
    border:2px solid #4e0557;
}

.searchresult-vip-ads-box .simple-ad:hover{
    box-shadow: 0px 0px 4px 4px rgba(78, 5, 87, 0.2); 
    transition: 0.5s;
}

/* Simple container */

.searchresult-simple-ads-box{
    max-width: 100%;
    min-height:160px;
    margin-top:10px;
    /* border:2px solid rgb(65, 203, 23); */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.simple-ad{
    border:2px solid white;
    background-color: white;
    width:230px;
    height:310px;
    border-radius:6px;
    margin:6px;
    transition: 0.3s;
}

.simple-ad:hover{
    transition: 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); 
}

.simple-ad-img{
    border-radius:6px;
    height:180px;
}

.simple-ad-img img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    border-radius:6px;
} 

.simple-ad-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding:10px;
    border-radius:6px;
    margin-top:4px;
}

.simple-ad-info p{
    font-size:12px;
}

.simple-ad-footer{
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:20px;
    padding-top:20px;
}

.mini-money-logo{
    font-size:16px;
}

.simple-ad-name{
    display: block;
    height:40px;
}


@media (max-width:700px){
    .right-arrow{
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .categories-filters-box {
        max-height: 0;
        opacity: 0;
        padding: 0;
    }
    .categories-filters-box.active {
        max-height: 500px !important;
        opacity: 1 !important;
        padding: 16px !important;
    }
 
}


@media (max-width:480px){
    .searchresult-page-container{
        margin-top:70px;
    }
    .category-name-place{
        font-size: 16px;
        font-weight: 500;
    }
    .condition-xxx{
        margin-right:120px;
    }
    .searchresult-simple-ads-box{
        /* background-color: black; */
        justify-content: space-around;
    }
    .simple-ad{
        /* background-color: red;  230 310 */
        width: 47%;       
        height: 330px;     
        margin: 4px;
        transform: none;


       
    }
    .simple-ad-footer{
        /* background-color: green; */
        flex-direction: column;
        justify-content: center;
        height:40px;
        align-items: flex-start;
    }
    
    
}