﻿/* =========================
   Seller page styles
   ========================= */

.seller-hero {
    position: relative;
}

.seller-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 220px at 20% 0%, rgba(24,66,125,.18), transparent 60%), radial-gradient(700px 220px at 80% 0%, rgba(25,135,84,.12), transparent 55%), linear-gradient(180deg, rgba(15,23,42,.04), transparent 60%);
    pointer-events: none;
}

/* =========================
   Hero layout (LEFT + RIGHT)
   ========================= */

.seller-hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.seller-hero-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1 1 auto;
}

/* Right column = socials */
.seller-hero-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: .25rem; /* coboară puțin ca să fie pe aceeași zonă cu info */
    min-width: 140px;
}

.seller-socials {
    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: .25rem .25rem;
}

/* butoane mici, pătrate, doar icon */
.seller-social-btn {
    width: 38px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* =========================
   Avatar
   ========================= */

.seller-avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    flex: 0 0 auto;
}

/* =========================
   Sidebar / map
   ========================= */

.seller-map {
    height: 280px;
    border-radius: .75rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    .seller-sidebar {
        position: sticky;
        top: 1rem;
    }
}

/* =========================
   Mobile responsive
   ========================= */

@media (max-width: 767.98px) {
    .seller-hero-inner {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .seller-hero-left {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .seller-hero-right {
        width: 100%;
        justify-content: center;
        margin-top: .5rem;
        min-width: 0;
    }

    .seller-socials {
        justify-content: center;
    }

    .seller-meta {
        width: 100%;
        text-align: center;
    }

        .seller-meta > div:first-child {
            justify-content: center !important;
        }

        .seller-meta .text-muted {
            text-align: center;
        }
}

.seller-description {
    white-space: pre-line;
    line-height: 1.6;
    max-height: 520px; /* desktop */
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
}

@media (max-width: 768px) {
    .seller-description {
        max-height: 280px;
    }
}

/* Chrome scrollbar */
.seller-description::-webkit-scrollbar {
    width: 6px;
}

.seller-description::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 10px;
}