@media(max-width:768px){

.header-container{

    width:100%;
    height:70px;

    padding:0 16px;

    display:flex;

    justify-content:space-between;

    gap:10px;

}


/* логотип уменьшаем */

.logo img{

    width:34px;
    height:34px;

}


.logo-title{

    font-size:16px;

}


.logo-market{

    font-size:8px;

    letter-spacing:3px;

}


/* каталог пока скрываем */

.catalog-wrapper{

    display:none;

}


/* поиск убираем из шапки */

.search-box{

    display:none;

}


/* меню скрываем */

.menu{

    display:none;

}


/* кнопки справа */

.actions{

    gap:8px;

}


.icon-button{

    width:40px;
    height:40px;

}


.profile{

    padding:0 10px;

}


.profile span{

    display:none;

}


.avatar{

    width:32px;
    height:32px;

}

}

@media(max-width:768px){

    /* Новости на телефоне */

 .news-grid{

        display:flex;

        flex-direction:row;

        gap:16px;

        padding:20px;

        overflow-x:auto;

        overflow-y:hidden;

        scroll-snap-type:x mandatory;

        -webkit-overflow-scrolling:touch;

    }


    .news-grid::-webkit-scrollbar{

        height:4px;

    }


    .news-grid::-webkit-scrollbar-thumb{

        background:#ff7885;

        border-radius:20px;

    }


    .news-card{

        flex:0 0 300px;

        min-width:300px;

        flex-direction:column;

        gap:12px;

        padding:16px;

        scroll-snap-align:start;

    }


    .news-image{

        width:100%;

        height:180px;

        border-radius:14px;

    }


    .news-title{

        font-size:18px;

    }


    .news-link{

        font-size:14px;

    }




    .news-image{

        width:100%;

        height:180px;

        border-radius:14px;

    }


    .news-title{

        font-size:18px;

    }


    .news-link{

        font-size:14px;

    }

}

@media(max-width:768px){

    .top-sellers{

        padding:16px;

    }


    .sidebar-head h3{

        font-size:24px;

    }


    .seller-row{

        gap:10px;

        margin-bottom:14px;

    }


    .seller-avatar{

        width:42px;

        height:42px;

    }


    .seller-place{

        font-size:22px;

    }

}

@media(max-width:768px){

    .seller-banner{

        height:270px;

        border-radius:18px;

    }


    .seller-banner-overlay{

        left:18px;

        right:18px;

        bottom:18px;

    }


    .seller-banner h3{

        font-size:28px;

        margin-bottom:10px;

    }


    .seller-banner p{

        font-size:14px;

        line-height:1.5;

        margin-bottom:16px;

    }


    .seller-banner a{

        height:48px;

    }

}

@media(max-width:768px){

    .seller-banner h3{

        font-size:24px;

    }


    .seller-banner p{

        font-size:13px;

        max-width:260px;

    }

}

@media(max-width:768px){

    .categories-list{

        display:grid;

        grid-template-columns:repeat(2,1fr);

        gap:12px;

        padding:12px;

    }


    .category-card{

        min-height:90px;

        padding:16px;

    }


    .category-card h3{

        font-size:16px;

    }


    .category-card span{

        font-size:13px;

    }

    


}

@media(max-width:768px){


.mobile-menu-btn{

    display:flex;

    width:40px;
    height:40px;

    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:#1A1F3D;

    color:white;

    border:1px solid rgba(255,255,255,.05);

    font-size:22px;

    cursor:pointer;

}



.mobile-menu{

    position:absolute;

    top:60px;

    right:16px;

    width:220px;

    padding:14px;


    background:#171d38;


    border:1px solid rgba(255,255,255,.08);


    border-radius:20px;


    box-shadow:
    0 20px 50px rgba(0,0,0,.45);


    display:flex;

    flex-direction:column;

    gap:8px;


    opacity:0;

    visibility:hidden;


    transform:translateY(-10px);


    transition:.25s;


    z-index:3000;

}



.mobile-menu.active{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.mobile-menu{

    left:16px;

    right:auto;

}

.mobile-menu a{

    padding:14px;

    border-radius:12px;

    text-decoration:none;

    color:#DDE3FF;

    font-weight:600;

}



.mobile-menu a:hover{

    background:linear-gradient(135deg,#ff617d,#ff9578)
;

}

}



@media(min-width:769px){

.mobile-menu-btn{

    display:none;

}

}



@media(max-width:768px){

.profile-sidebar-menu{

    overflow-x:auto;

    display:flex;

    gap:10px;

    white-space:nowrap;

}


.profile-sidebar-menu a{

    flex-shrink:0;

}

}

