body.seller-profile-body {
    height: auto;
    min-height: 100vh;
}

.seller-profile-page {
    display: block;
}

.seller-profile-shell {
    width: 1250px;
}

.seller-profile-card {
    box-sizing: border-box;
    position: relative;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    padding: 22px 0 0;
    overflow: hidden;
}

.seller-profile-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: -5px 18px 8px;
    padding-right: 112px;
}

.seller-profile-avatar {
    width: 82px;
    height: 82px;
    flex: 0 0 auto;
    border: 1px solid #d3d3d3;
    border-radius: 50%;
    object-fit: cover;
}

.seller-profile-identity {
    min-width: 0;
}

.seller-profile-count-label {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.seller-profile-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}

.seller-profile-title-row h1 {
    margin: 0;
    color: #242424;
    font-size: 28px;
    overflow-wrap: anywhere;
}

.seller-profile-ucsb-badge {
    display: inline-flex;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-left: -4px;
}

.seller-profile-ucsb-badge img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.seller-profile-socials {
    display: flex;
    gap: 3px;
    margin-left: -4px;
    margin-bottom: -4px;
}

.seller-profile-socials a {
    color: #3d3d3d;
    font-size: 20px;
}

.seller-profile-socials a:hover {
    color: #0b74c9;
}

.seller-profile-socials a:focus-visible {
    outline: 2px solid #0b74c9;
    outline-offset: 3px;
    border-radius: 3px;
}

.seller-profile-gallery .pagination {
    margin-top: 16px;
}

@media (max-width: 1350px) {
    .seller-profile-shell {
        width: 1000px;
    }
}

@media (max-width: 1150px) {
    .seller-profile-shell {
        width: 800px;
    }
}

@media (max-width: 850px) {
    .seller-profile-shell {
        width: 680px;
    }
}

@media (max-width: 710px) {
    .seller-profile-shell {
        max-width: 620px;
    }
}

@media (max-width: 700px) {
    .seller-profile-header {
        padding-right: 46px;
    }
}

@media (max-width: 640px) {
    .seller-profile-shell {
        max-width: 545px;
    }
}

@media (max-width: 480px) {
    .seller-profile-card {
        padding: 16px 0 0;
    }

    .seller-profile-header {
        align-items: center;
        gap: 12px;
        margin: 0 10px 4px;
    }

    .seller-profile-avatar {
        width: 58px;
        height: 58px;
    }

    .seller-profile-title-row {
        gap: 8px;
    }

    .seller-profile-title-row h1 {
        font-size: 21px;
    }
}
