.seller-profile{
    padding:36px 0 90px;
}

.seller-shop-hero{
    position:relative;
    min-height:430px;
    margin-bottom:28px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    background:
        linear-gradient(135deg, rgba(255,120,133,.22), transparent 36%),
        linear-gradient(145deg, #121a30, #0b1020);
}

.seller-shop-banner{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}

.seller-shop-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(
            to bottom,
            rgba(8,13,26,.22) 0%,
            rgba(8,13,26,.58) 48%,
            #0b1020 100%
        ),
        linear-gradient(
            to right,
            rgba(8,13,26,.92) 0%,
            rgba(8,13,26,.38) 46%,
            rgba(8,13,26,.78) 100%
        );
    pointer-events:none;
}

.seller-shop-hero::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:45%;
    z-index:2;
    background:linear-gradient(to bottom, transparent, #0b1020);
    pointer-events:none;
}

.seller-shop-content{
    position:relative;
    z-index:3;
    min-height:430px;
    display:flex;
    align-items:flex-end;
    gap:26px;
    padding:42px;
}

.seller-shop-avatar{
    width:142px;
    height:142px;
    flex:0 0 142px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:5px solid #0b1020;
    border-radius:24px;
    background:linear-gradient(135deg, #1d2747, #10172c);
    box-shadow:0 18px 42px rgba(0,0,0,.34);
}

.seller-shop-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.seller-shop-avatar span{
    color:white;
    font-size:56px;
    font-weight:800;
}

.seller-shop-info{
    max-width:850px;
    color:white;
}

.verified-badge{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 13px;
    margin-bottom:12px;
    border-radius:999px;
    background:rgba(255,120,133,.18);
    color:#ff9aa4;
    font-size:13px;
    font-weight:800;
}

.verified-badge.muted{
    background:rgba(255,255,255,.1);
    color:#c7d1ef;
}

.seller-shop-info h1{
    margin:0 0 10px;
    color:white;
    font-size:42px;
    line-height:1.08;
}

.seller-description{
    max-width:720px;
    margin:0;
    color:#c6cee8;
    font-size:16px;
    line-height:1.65;
}

.seller-stats{
    display:grid;
    grid-template-columns:repeat(5,minmax(108px,1fr));
    gap:12px;
    margin:24px 0 14px;
}

.seller-stats div,
.seller-section,
.seller-empty{
    background:#11182f;
    border:1px solid rgba(255,255,255,.07);
    border-radius:18px;
}

.seller-stats div{
    padding:15px 16px;
}

.seller-stats b{
    display:block;
    color:white;
    font-size:23px;
}

.seller-stats span{
    color:#96a2c4;
    font-size:13px;
}

.seller-date{
    margin:0 0 20px;
    color:#98a4c7;
}

.seller-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.seller-actions button,
.message-button{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 22px;
    border:0;
    border-radius:12px;
    color:white;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

.seller-actions button{
    background:#ff7885;
}

.seller-actions button.active{
    background:#35d07f;
}

.message-button{
    background:#1e294a;
}

.seller-tabs{
    display:flex;
    gap:28px;
    margin:0 0 28px;
    border-bottom:1px solid #242b50;
}

.seller-tabs button{
    padding:16px 4px;
    border:0;
    background:transparent;
    color:#9fa8ca;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}

.seller-tabs button.active,
.seller-tabs button:hover{
    color:#ff7885;
    border-bottom:2px solid #ff7885;
}

.seller-tab-panel{
    display:none;
}

.seller-tab-panel.active{
    display:block;
}

.seller-products-section,
.seller-section{
    margin-top:28px;
}

.section-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}

.section-heading h2{
    margin:0;
    color:white;
    font-size:26px;
}

.section-heading span{
    color:#9fa8ca;
    font-weight:800;
}

.seller-products{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:22px;
}

.seller-empty{
    padding:28px;
    color:#aeb8d8;
}

.seller-section{
    padding:26px;
}

.seller-reviews{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:16px;
}

.seller-review{
    padding:18px;
    border-radius:16px;
    background:#171f38;
    color:#c8d1ec;
}

.seller-review-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
    color:white;
}

.seller-review-author{
    display:flex;
    align-items:center;
    gap:12px;
}

.seller-review-avatar{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:12px;
    background:#253154;
    color:white;
    font-weight:800;
}

.seller-review-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.seller-review-author small{
    display:block;
    margin-top:4px;
    color:#8f9abd;
}

.seller-review-rating{
    color:#ffd166;
    white-space:nowrap;
}

.seller-review p{
    margin:0;
    line-height:1.55;
}

.seller-review time{
    display:block;
    margin-top:12px;
    color:#7f8aae;
    font-size:13px;
}

.seller-review-reply{
    margin-top:16px;
    padding:14px;
    border-left:3px solid #ff7885;
    border-radius:12px;
    background:#10172c;
}

.seller-review-reply strong{
    display:block;
    margin-bottom:7px;
    color:white;
}

.seller-review-reply time{
    margin-top:8px;
}

.about-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:14px;
    margin-bottom:20px;
}

.about-grid div{
    padding:16px;
    border-radius:14px;
    background:#171f38;
}

.about-grid span{
    display:block;
    margin-bottom:7px;
    color:#96a2c4;
    font-size:13px;
}

.about-grid strong{
    color:white;
}

.seller-about p{
    margin:0;
    color:#c8d1ec;
    line-height:1.65;
}

/* =================================
   MOBILE SELLER SHOP
================================= */

@media(max-width:768px){


.seller-profile{

    padding:20px 0 50px;

}


/* HERO */

.seller-shop-hero{

    min-height:auto;

    border-radius:22px;

}


.seller-shop-content{

    min-height:auto;

    padding:24px 20px 30px;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:18px;

}


/* Аватар */

.seller-shop-avatar{

    width:96px;

    height:96px;

    flex:0 0 96px;

    border-radius:50%;

    border-width:4px;

}


/* Имя */

.seller-shop-info h1{

    font-size:32px;

    margin-bottom:8px;

}


.seller-description{

    font-size:15px;

    line-height:1.5;

}



/* Статистика */

.seller-stats{

    width:100%;

    grid-template-columns:repeat(2,1fr);

    gap:10px;

    margin:20px 0;

}


.seller-stats div{

    padding:14px;

}


.seller-stats b{

    font-size:22px;

}


.seller-stats span{

    font-size:12px;

}



/* Кнопки */

.seller-actions{

    width:100%;

    flex-direction:column;

}


.seller-actions button,
.message-button{

    width:100%;

}



/* Вкладки */

.seller-tabs{

    gap:20px;

    overflow-x:auto;

    white-space:nowrap;

}


.seller-tabs button{

    flex:0 0 auto;

}



/* Товары продавца */

.seller-products{

    grid-template-columns:1fr;

    gap:16px;

}


.section-heading h2{

    font-size:22px;

}



}

@media(max-width:400px){

    .seller-products{
        grid-template-columns:1fr;
    }


    .seller-shop-info h1{
        font-size:28px;
    }

}

@media(max-width:768px){

.seller-products .product-card{

    width:100%;

}


}

@media(max-width:768px){

.seller-tabs{

    scrollbar-width:none;

}


.seller-tabs::-webkit-scrollbar{

    display:none;

}

}
