:root {
    --seller-profile-navy: #002b41;
    --seller-profile-blue: #00486c;
    --seller-profile-teal: #008e97;
    --seller-profile-lime: #cdf600;
    --seller-profile-green: #22c55e;
    --seller-profile-border: #e5e7eb;
    --seller-profile-page: #f9fafb;
    --seller-profile-muted: #4b5563;
}

body.seller-profile-body {
    background: var(--seller-profile-page);
}

.seller-profile,
.seller-profile *,
.seller-profile *::before,
.seller-profile *::after {
    box-sizing: border-box;
}

.seller-profile {
    width: 100%;
    overflow: hidden;
    color: #000;
    background: var(--seller-profile-page);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -.16px;
}

.seller-profile h1,
.seller-profile h2,
.seller-profile p,
.seller-profile dl,
.seller-profile dd {
    margin: 0;
}

.seller-profile button,
.seller-profile a {
    font-family: inherit;
}

.seller-profile a,
.seller-profile a:hover {
    text-decoration: none;
}

.seller-profile a[href^="tel:"] {
    pointer-events: auto;
}

.seller-profile__banner {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: #d9d9d9;
}

.seller-profile__banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.seller-profile__banner > span {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(217, 217, 217, .18) 0%, rgba(0, 0, 0, .52) 100%);
}

.seller-profile__shell {
    position: relative;
    z-index: 2;
    width: min(1170px, calc(100% - 48px));
    margin: -67px auto 0;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seller-profile__identity {
    width: 100%;
    min-height: 148px;
    padding: 24px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}

.seller-profile__identity-inner {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.seller-profile__logo {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    padding: 16px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--seller-profile-blue);
    border-radius: 12px;
}

.seller-profile__logo img {
    width: 80px;
    max-width: 100%;
    max-height: 68px;
    display: block;
    object-fit: contain;
}

.seller-profile__identity-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.seller-profile__verified {
    min-height: 24px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--seller-profile-teal);
    background: #e7f3f4;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: -.12px;
}

.seller-profile__verified i {
    font-size: 16px;
}

.seller-profile__identity-copy h1 {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -.15px;
}

.seller-profile__meta,
.seller-profile__review-score {
    display: flex;
    align-items: center;
    gap: 16px;
}

.seller-profile__rating,
.seller-profile__review-rating,
.seller-profile__review-score > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.seller-profile__rating i,
.seller-profile__review-rating i,
.seller-profile__review-score i.fa-star {
    color: var(--seller-profile-green);
}

.seller-profile__rating i {
    font-size: 21px;
}

.seller-profile__separator {
    flex: 0 0 1px;
    width: 1px;
    height: 14px;
    display: inline-block;
    background: #d1d5db;
}

.seller-profile__contact {
    flex: 0 0 auto;
    width: 124px;
    height: 42px;
    margin-left: auto;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--seller-profile-blue);
    border-radius: 48px;
    color: #fff;
    background: var(--seller-profile-blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -.16px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.seller-profile__contact:hover,
.seller-profile__contact:focus-visible {
    color: #fff;
    background: #003853;
    box-shadow: 0 8px 20px rgba(0, 72, 108, .18);
    transform: translateY(-1px);
}

.seller-profile__stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.seller-profile__stat {
    position: relative;
    min-width: 0;
    height: 162px;
    padding: 26px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
}

.seller-profile--stats-ready .seller-profile__stat {
    opacity: 0;
    transform: translateY(18px) scale(.98);
    transition: opacity .48s ease, transform .48s cubic-bezier(.2, .7, .2, 1);
}

.seller-profile--stats-ready .seller-profile__stat.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.seller-profile__stat-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccdae2;
    border-radius: 50%;
    color: var(--seller-profile-blue);
    font-size: 19px;
}

.seller-profile--stats-ready .seller-profile__stat.is-visible .seller-profile__stat-icon {
    animation: seller-stat-icon-pop .62s cubic-bezier(.2, .75, .25, 1.35) both;
}

.seller-profile__stat > span:last-child {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.seller-profile__stat strong {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -.15px;
}

.seller-profile__stat small {
    color: rgba(0, 0, 0, .7);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -.16px;
}

.seller-profile__content-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 778px) minmax(300px, 368px);
    align-items: start;
    gap: 24px;
}

.seller-profile__main-column,
.seller-profile__side-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seller-profile__card {
    background: #fff;
    border-radius: 12px;
}

.seller-profile__card h2 {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
}

.seller-profile__about {
    min-height: 184px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.seller-profile__about p {
    width: 100%;
    max-height: 60px;
    overflow: hidden;
    color: #000;
    font-size: 14px;
    line-height: 20px;
}

.seller-profile__about.is-expanded p {
    max-height: none;
}

.seller-profile__text-button {
    min-height: 20px;
    padding: 0;
    border: 0;
    color: var(--seller-profile-blue);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -.16px;
    cursor: pointer;
}

.seller-profile__text-button:hover,
.seller-profile__text-button:focus-visible {
    color: var(--seller-profile-teal);
    text-decoration: underline;
}

.seller-profile__reviews {
    min-height: 560px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seller-profile__reviews-heading {
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.seller-profile__review-score {
    flex: 0 0 auto;
    font-size: 14px;
}

.seller-profile__review-score i.fa-star {
    font-size: 21px;
}

.seller-profile__distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seller-profile__distribution-row {
    min-height: 20px;
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 16px;
}

.seller-profile__distribution-row > span:first-child,
.seller-profile__distribution-row > span:last-child {
    color: #000;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.seller-profile__distribution-track {
    position: relative;
    width: 100%;
    height: 5px;
    overflow: hidden;
    background: #d9d9d9;
    border-radius: 16px;
}

.seller-profile__distribution-track i {
    width: max(var(--rating-width), 5px);
    height: 100%;
    display: block;
    background: var(--seller-profile-green);
    border-radius: 16px 0 0 16px;
    transform-origin: left center;
    animation: seller-rating-grow .8s ease both;
}

.seller-profile__review-list {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--seller-profile-border);
}

.seller-profile__review {
    min-height: 112px;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--seller-profile-border);
}

.seller-profile__review header {
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.seller-profile__review header strong {
    font-size: 14px;
    font-weight: 700;
}

.seller-profile__review time {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -.12px;
}

.seller-profile__review-rating {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -.12px;
}

.seller-profile__review-rating i {
    font-size: 16px;
}

.seller-profile__review p {
    font-size: 14px;
    line-height: 20px;
}

.seller-profile__all-reviews {
    align-self: center;
    color: var(--seller-profile-blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.seller-profile__all-reviews:hover,
.seller-profile__all-reviews:focus-visible {
    color: var(--seller-profile-teal);
    text-decoration: underline;
}

.seller-profile__information {
    min-height: 304px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.seller-profile__information dl {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seller-profile__information dl > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.seller-profile__information dt {
    color: #000;
    font-weight: 600;
}

.seller-profile__information dd {
    white-space: normal;
}

.seller-profile__information a {
    color: var(--seller-profile-teal);
    font-weight: 600;
}

.seller-profile__information a:hover,
.seller-profile__information a:focus-visible {
    color: var(--seller-profile-blue);
    text-decoration: underline;
}

.seller-profile__protection {
    position: relative;
    min-height: 125px;
    padding: 22px 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    background: var(--seller-profile-navy);
    border-radius: 12px;
}

.seller-profile__protection::before,
.seller-profile__protection::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205, 246, 0, .18), rgba(0, 43, 65, 0) 70%);
}

.seller-profile__protection::before {
    width: 349px;
    height: 349px;
    left: -146px;
    bottom: -270px;
}

.seller-profile__protection::after {
    width: 213px;
    height: 213px;
    right: -58px;
    top: -118px;
}

.seller-profile__protection-heading,
.seller-profile__protection p {
    position: relative;
    z-index: 1;
}

.seller-profile__protection-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seller-profile__protection-heading i {
    color: var(--seller-profile-lime);
    font-size: 20px;
}

.seller-profile__protection h2 {
    margin: 0;
    color: var(--seller-profile-lime);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.seller-profile__protection p {
    max-width: 279px;
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -.12px;
}

body.seller-profile-body .page-footer,
body.seller-profile-body .bg-dark-footer,
body.seller-profile-body .brebox-footer-trustbar {
    background: var(--seller-profile-navy) !important;
}

@keyframes seller-rating-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes seller-stat-icon-pop {
    0% { transform: scale(.65) rotate(-8deg); }
    65% { transform: scale(1.12) rotate(2deg); }
    100% { transform: scale(1) rotate(0); }
}

@media (max-width: 992px) {
    .seller-profile__content-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .seller-profile__identity-copy {
        gap: 9px;
    }

    .seller-profile__meta {
        flex-wrap: wrap;
        gap: 8px 12px;
    }
}

@media (max-width: 768px) {
    .seller-profile__banner {
        height: 210px;
    }

    .seller-profile__shell {
        width: calc(100% - 32px);
        margin-top: -48px;
        padding-bottom: 36px;
    }

    .seller-profile__identity-inner {
        flex-wrap: wrap;
    }

    .seller-profile__identity-copy {
        flex-basis: calc(100% - 124px);
    }

    .seller-profile__contact {
        width: 100%;
        margin-left: 0;
    }

    .seller-profile__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .seller-profile__about,
    .seller-profile__reviews,
    .seller-profile__information,
    .seller-profile__protection {
        min-height: 0;
        height: auto;
    }

    .seller-profile__side-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-profile__protection {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .seller-profile__banner {
        height: 180px;
    }

    .seller-profile__identity {
        padding: 20px;
    }

    .seller-profile__identity-inner {
        align-items: flex-start;
        gap: 16px;
    }

    .seller-profile__logo {
        flex-basis: 82px;
        width: 82px;
        height: 82px;
        padding: 12px 8px;
    }

    .seller-profile__identity-copy {
        flex-basis: calc(100% - 98px);
    }

    .seller-profile__identity-copy h1 {
        font-size: 21px;
        line-height: 27px;
    }

    .seller-profile__meta {
        font-size: 12px;
        line-height: 18px;
    }

    .seller-profile__meta .seller-profile__separator:last-of-type {
        display: none;
    }

    .seller-profile__meta > span:last-child {
        width: 100%;
    }

    .seller-profile__stat {
        height: 146px;
        padding: 20px 8px;
    }

    .seller-profile__stat strong {
        font-size: 21px;
        line-height: 27px;
    }

    .seller-profile__about,
    .seller-profile__reviews {
        padding: 24px 20px;
    }

    .seller-profile__reviews-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .seller-profile__distribution-row {
        gap: 10px;
    }

    .seller-profile__review p {
        font-size: 13px;
    }

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

@media (max-width: 380px) {
    .seller-profile__stats {
        grid-template-columns: 1fr;
    }

    .seller-profile__stat {
        height: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seller-profile *,
    .seller-profile *::before,
    .seller-profile *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
