/* Extracted from core/templates/seller_profile.html */

.seller-profile-page { position: relative; padding: 1.2rem 0 2.4rem; }
.seller-profile-page.has-custom-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.95) 100%),
        var(--seller-page-background-image);
    background-size: cover;
    background-position: var(--seller-page-background-position, 50% 50%);
    opacity: 0.92;
    pointer-events: none;
}
.seller-profile-page > .container { position: relative; z-index: 1; }
.seller-hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 360px);
    gap: 1.4rem;
    padding: 1.6rem;
    margin-bottom: 1.4rem;
}
.seller-hero-cover {
    position: relative;
    grid-column: 1 / -1;
    padding-top: 62.5%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 0.2rem;
    background: rgba(31,41,51,0.06);
}
.seller-hero-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.seller-hero-main {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 1.2rem;
    align-items: start;
}
.seller-avatar-large {
    position: relative;
    width: 124px;
    height: 124px;
}
.seller-avatar-large img,
.seller-avatar-large .avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
}
.seller-avatar-large .avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
}
.verified-badge {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f766e;
    color: #fff;
    border: 4px solid #fff;
}
.seller-eyebrow-row,
.specialties-row,
.seller-meta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.seller-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 800;
}
.seller-chip,
.specialty-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(31, 41, 51, 0.08);
    font-size: 0.82rem;
}
.seller-chip.accent { background: rgba(196, 107, 72, 0.14); color: #8b4513; }
.seller-chip.muted { background: rgba(17, 24, 39, 0.08); color: var(--ink-muted); }
.seller-name { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0.25rem 0 0.2rem; }
.seller-username { color: var(--ink-muted); margin-bottom: 0.6rem; }
.seller-tagline { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.55rem; }
.seller-bio { color: var(--ink-muted); line-height: 1.7; margin-bottom: 0.8rem; max-width: 720px; }
.seller-meta span { color: var(--ink-muted); }
.seller-action-card {
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(31, 41, 51, 0.08);
    min-height: 100%;
}
.seller-action-card h3 { margin-bottom: 0.4rem; }
.seller-action-card p { color: var(--ink-muted); }
.seller-actions { display: flex; flex-direction: column; gap: 0.7rem; margin: 1rem 0; }
.seller-action-note { font-size: 0.88rem; color: var(--ink-muted); margin: 0; }
.mini-trust-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.8rem;
    margin-top: 0.8rem;
    border-top: 1px solid rgba(31, 41, 51, 0.08);
    color: var(--ink-muted);
    font-size: 0.92rem;
}
.seller-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.seller-stat-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
}
.seller-stat-card strong { display: block; font-size: 1.8rem; margin-bottom: 0.2rem; }
.seller-stat-card span { color: var(--ink-muted); }
.seller-stat-card.accent { background: linear-gradient(135deg, rgba(196,107,72,0.16), rgba(255,240,228,0.82)); }
.studio-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.studio-story-card {
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(31, 41, 51, 0.08);
}
.section-kicker {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.story-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.story-points h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.story-points p,
.contact-links p { color: var(--ink-muted); line-height: 1.65; }
.contact-links { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.contact-links a {
    display: inline-flex;
    width: fit-content;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(31,41,51,0.08);
    text-decoration: none;
    color: var(--ink-color);
    font-weight: 700;
}
.muted-copy { color: var(--ink-muted); }
.seller-items-section { margin-bottom: 1.6rem; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}
.reviews-header { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.rating-breakdown {
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(31,41,51,0.08);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    margin: 1.1rem 0 1.4rem;
}
.rating-fill { background: linear-gradient(90deg, var(--accent-color), var(--primary-color)); }
.review-card { background: rgba(255,255,255,0.82); }
.review-item-link a { color: var(--primary-color); text-decoration: none; }
.verified-purchase-badge {
    display: inline-flex;
    margin-top: 0.8rem;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 700;
}
.no-reviews {
    text-align: center;
    padding: 2.4rem 1rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.7);
    color: var(--ink-muted);
}
@media (max-width: 980px) {
    .seller-hero,
    .studio-story-grid,
    .story-points,
    .seller-stats-strip {
        grid-template-columns: 1fr 1fr;
    }
    .seller-hero {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .seller-hero-main { grid-template-columns: 1fr; }
    .seller-avatar-large { margin: 0 auto; }
    .seller-identity, .seller-hero-side { text-align: center; }
    .seller-meta, .seller-eyebrow-row, .specialties-row { justify-content: center; }
    .seller-stats-strip,
    .studio-story-grid,
    .story-points,
    .section-head,
    .reviews-header {
        grid-template-columns: 1fr;
        display: grid;
    }
    .section-head .btn { width: 100%; }
    .mini-trust-row { flex-direction: column; align-items: flex-start; }
}
