/* ==========================================================================
   SE AGRÍCOLA — AVALIAÇÕES DO VENDEDOR
   Arquivo: classificados-vendedor-avaliacoes.css
========================================================================== */


/* ==========================================================================
   1. VARIÁVEIS LOCAIS
========================================================================== */

.seller-review-page {
    --seller-primary: var(--agro-green, #147f2b);
    --seller-primary-dark: var(--agro-green-dark, #0b5e1d);
    --seller-primary-light: var(--agro-green-light, #4ea84b);

    --seller-gold: var(--agro-gold, #d8b04c);
    --seller-gold-dark: #b88a22;
    --seller-gold-soft: rgba(216, 176, 76, 0.14);

    --seller-bg: #f5f7f5;
    --seller-surface: #ffffff;
    --seller-surface-soft: #f8faf8;

    --seller-text: #1e2921;
    --seller-text-soft: #5f6d63;
    --seller-text-muted: #7b887e;

    --seller-border: #e1e7e2;
    --seller-border-strong: #d4ddd6;

    --seller-success: #1e8a3c;
    --seller-success-soft: #eaf7ed;

    --seller-warning: #b7790b;
    --seller-warning-soft: #fff7df;

    --seller-danger: #bd2c2c;
    --seller-danger-soft: #fff0f0;

    --seller-info: #2768a8;
    --seller-info-soft: #edf6ff;

    --seller-radius-sm: 10px;
    --seller-radius: 16px;
    --seller-radius-lg: 22px;

    --seller-shadow-sm:
            0 4px 14px rgba(22, 45, 27, 0.05);

    --seller-shadow:
            0 14px 38px rgba(22, 45, 27, 0.08);

    --seller-shadow-hover:
            0 18px 46px rgba(22, 45, 27, 0.13);

    min-height: 100vh;
    padding: 34px 0 72px;

    color: var(--seller-text);
    background:
            radial-gradient(
                    circle at top right,
                    rgba(216, 176, 76, 0.08),
                    transparent 30%
            ),
            var(--seller-bg);
}

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


/* ==========================================================================
   2. CONTAINER
========================================================================== */

.seller-review-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}


/* ==========================================================================
   3. BREADCRUMB
========================================================================== */

.seller-review-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 20px;

    color: var(--seller-text-muted);

    font-size: 0.82rem;
    font-weight: 500;
}

.seller-review-breadcrumb a,
.seller-review-breadcrumb span {
    color: inherit;
    text-decoration: none;
}

.seller-review-breadcrumb a {
    transition:
            color 0.2s ease,
            text-decoration-color 0.2s ease;
}

.seller-review-breadcrumb a:hover {
    color: var(--seller-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.seller-review-breadcrumb > svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: #a4aea6;
}

.seller-review-breadcrumb span {
    color: var(--seller-text);
    font-weight: 650;
}


/* ==========================================================================
   4. CABEÇALHO DO VENDEDOR
========================================================================== */

.seller-profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    margin-bottom: 22px;
    padding: 28px;

    background:
            linear-gradient(
                    135deg,
                    rgba(255, 255, 255, 0.98),
                    rgba(248, 252, 248, 0.98)
            );

    border: 1px solid var(--seller-border);
    border-radius: var(--seller-radius-lg);
    box-shadow: var(--seller-shadow);
}

.seller-profile-hero__identity {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.seller-profile-avatar {
    position: relative;
    flex: 0 0 auto;
}

.seller-profile-avatar > img {
    display: block;

    width: 104px;
    height: 104px;

    object-fit: cover;

    background: var(--seller-surface-soft);
    border: 4px solid #ffffff;
    border-radius: 50%;

    box-shadow:
            0 0 0 1px var(--seller-border),
            0 10px 26px rgba(17, 57, 26, 0.12);
}

.seller-profile-avatar > span {
    position: absolute;
    right: 2px;
    bottom: 5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #ffffff;
    background:
            linear-gradient(
                    135deg,
                    var(--seller-primary),
                    var(--seller-primary-dark)
            );

    border: 3px solid #ffffff;
    border-radius: 50%;

    box-shadow: 0 5px 12px rgba(11, 94, 29, 0.25);
}

.seller-profile-avatar > span svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.4;
}

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

.seller-profile-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 7px;

    color: var(--seller-primary);

    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.seller-profile-hero__eyebrow svg {
    width: 16px;
    height: 16px;
}

.seller-profile-hero__content h1 {
    margin: 0;

    color: var(--seller-text);

    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.seller-profile-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;

    margin-top: 14px;
}

.seller-profile-hero__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--seller-text-soft);

    font-size: 0.82rem;
    font-weight: 550;
}

.seller-profile-hero__meta > span svg {
    width: 16px;
    height: 16px;
    color: var(--seller-primary);
}

.seller-profile-hero__meta .is-verified {
    color: var(--seller-success);
    font-weight: 700;
}

.seller-profile-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.seller-profile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;
    padding: 10px 16px;

    border: 1px solid transparent;
    border-radius: 12px;

    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            color 0.2s ease,
            background 0.2s ease,
            border-color 0.2s ease;
}

.seller-profile-action svg {
    width: 18px;
    height: 18px;
}

.seller-profile-action.is-primary {
    color: #ffffff;
    background:
            linear-gradient(
                    135deg,
                    var(--seller-primary),
                    var(--seller-primary-dark)
            );

    box-shadow: 0 8px 18px rgba(11, 94, 29, 0.2);
}

.seller-profile-action.is-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(11, 94, 29, 0.26);
}

.seller-profile-action.is-secondary {
    color: var(--seller-primary-dark);
    background: #ffffff;
    border-color: var(--seller-border-strong);
}

.seller-profile-action.is-secondary:hover {
    color: var(--seller-primary-dark);
    background: #f7faf7;
    border-color: rgba(20, 127, 43, 0.35);
    transform: translateY(-2px);
}


/* ==========================================================================
   5. RESUMO DA REPUTAÇÃO
========================================================================== */

.seller-reputation-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1.3fr);
    gap: 36px;
    align-items: center;

    margin-bottom: 24px;
    padding: 28px;

    background: var(--seller-surface);
    border: 1px solid var(--seller-border);
    border-radius: var(--seller-radius-lg);

    box-shadow: var(--seller-shadow);
}

.seller-reputation-score {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    min-height: 210px;
    padding-right: 32px;

    text-align: center;
    border-right: 1px solid var(--seller-border);
}

.seller-reputation-score__label {
    margin-bottom: 8px;

    color: var(--seller-text-soft);

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.seller-reputation-score > strong {
    color: var(--seller-text);

    font-size: clamp(3.2rem, 6vw, 4.8rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.06em;
}

.seller-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    margin-top: 13px;
}

.seller-stars svg {
    width: 25px;
    height: 25px;

    color: #cbd2cc;
    fill: transparent;
    stroke-width: 1.8;
}

.seller-stars svg.is-filled {
    color: var(--seller-gold);
    fill: var(--seller-gold);
}

.seller-reputation-score p {
    margin: 13px 0 0;

    color: var(--seller-text-muted);

    font-size: 0.84rem;
    line-height: 1.6;
}

.seller-reputation-score p strong {
    color: var(--seller-text);
}

.seller-rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.seller-rating-row {
    display: grid;
    grid-template-columns: 48px minmax(100px, 1fr) 34px;
    gap: 12px;
    align-items: center;
}

.seller-rating-row__label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;

    color: var(--seller-text-soft);

    font-size: 0.82rem;
    font-weight: 700;
}

.seller-rating-row__label svg {
    width: 14px;
    height: 14px;
    color: var(--seller-gold);
    fill: var(--seller-gold);
}

.seller-rating-row__track {
    position: relative;
    display: block;

    height: 9px;
    overflow: hidden;

    background: #edf1ed;
    border-radius: 999px;
}

.seller-rating-row__track > span {
    display: block;

    min-width: 0;
    height: 100%;

    background:
            linear-gradient(
                    90deg,
                    var(--seller-gold),
                    #e9c86c
            );

    border-radius: inherit;

    transition: width 0.5s ease;
}

.seller-rating-row > strong {
    color: var(--seller-text-soft);

    font-size: 0.8rem;
    font-weight: 750;
    text-align: right;
}


/* ==========================================================================
   6. LAYOUT PRINCIPAL
========================================================================== */

.seller-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.seller-review-main,
.seller-review-sidebar {
    min-width: 0;
}

.seller-review-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* ==========================================================================
   7. CARDS DE SEÇÃO
========================================================================== */

.seller-section-card {
    overflow: hidden;

    background: var(--seller-surface);
    border: 1px solid var(--seller-border);
    border-radius: var(--seller-radius-lg);

    box-shadow: var(--seller-shadow-sm);
}

.seller-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    padding: 24px 26px;

    border-bottom: 1px solid var(--seller-border);
}

.seller-section-heading > div > span,
.seller-ads-heading > div > span {
    display: block;

    margin-bottom: 4px;

    color: var(--seller-primary);

    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.seller-section-heading h2,
.seller-ads-heading h2 {
    margin: 0;

    color: var(--seller-text);

    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.seller-section-heading p {
    margin: 6px 0 0;

    color: var(--seller-text-muted);

    font-size: 0.82rem;
    line-height: 1.5;
}

.seller-review-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;
    padding: 0 10px;

    color: var(--seller-primary-dark);
    background: rgba(20, 127, 43, 0.09);

    border: 1px solid rgba(20, 127, 43, 0.14);
    border-radius: 12px;

    font-size: 0.88rem;
    font-weight: 800;
}


/* ==========================================================================
   8. LISTAGEM DE AVALIAÇÕES
========================================================================== */

.seller-review-list {
    display: flex;
    flex-direction: column;
}

.seller-review-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 15px;

    padding: 23px 26px;

    border-bottom: 1px solid var(--seller-border);

    transition: background 0.2s ease;
}

.seller-review-item:last-child {
    border-bottom: 0;
}

.seller-review-item:hover {
    background: var(--seller-surface-soft);
}

.seller-review-item__avatar {
    flex: 0 0 auto;
}

.seller-review-item__avatar img {
    display: block;

    width: 52px;
    height: 52px;

    object-fit: cover;

    background: #f1f3f1;
    border: 2px solid #ffffff;
    border-radius: 50%;

    box-shadow:
            0 0 0 1px var(--seller-border),
            0 5px 12px rgba(22, 45, 27, 0.08);
}

.seller-review-item__content {
    min-width: 0;
}

.seller-review-item__content > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.seller-review-item__content > header > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.seller-review-item__content > header strong {
    overflow: hidden;

    color: var(--seller-text);

    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-review-item__content > header small {
    color: var(--seller-text-muted);

    font-size: 0.72rem;
    font-weight: 500;
}

.seller-review-item__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
}

.seller-review-item__stars svg {
    width: 17px;
    height: 17px;

    color: #cdd4ce;
    fill: transparent;
}

.seller-review-item__stars svg.is-filled {
    color: var(--seller-gold);
    fill: var(--seller-gold);
}

.seller-review-item__content > p {
    margin: 13px 0 0;

    color: #445047;

    font-size: 0.88rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.seller-review-item__content > p.is-muted {
    color: var(--seller-text-muted);
    font-style: italic;
}


/* ==========================================================================
   9. ESTADO VAZIO DAS AVALIAÇÕES
========================================================================== */

.seller-review-empty {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 26px;
    padding: 24px;

    background:
            linear-gradient(
                    135deg,
                    rgba(20, 127, 43, 0.045),
                    rgba(216, 176, 76, 0.07)
            );

    border: 1px dashed rgba(20, 127, 43, 0.25);
    border-radius: var(--seller-radius);
}

.seller-review-empty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;
    width: 52px;
    height: 52px;

    color: var(--seller-primary);
    background: #ffffff;

    border: 1px solid var(--seller-border);
    border-radius: 15px;

    box-shadow: var(--seller-shadow-sm);
}

.seller-review-empty > span svg {
    width: 25px;
    height: 25px;
}

.seller-review-empty strong {
    display: block;

    margin-bottom: 4px;

    color: var(--seller-text);

    font-size: 0.95rem;
    font-weight: 800;
}

.seller-review-empty p {
    margin: 0;

    color: var(--seller-text-muted);

    font-size: 0.82rem;
    line-height: 1.55;
}


/* ==========================================================================
   10. PAGINAÇÃO
========================================================================== */

.seller-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 19px 26px;

    background: #fbfcfb;
    border-top: 1px solid var(--seller-border);
}

.seller-pagination > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    min-height: 38px;
    padding: 8px 12px;

    color: var(--seller-primary-dark);
    background: #ffffff;

    border: 1px solid var(--seller-border-strong);
    border-radius: 10px;

    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;

    transition:
            color 0.2s ease,
            background 0.2s ease,
            border-color 0.2s ease,
            transform 0.2s ease;
}

.seller-pagination > a svg {
    width: 16px;
    height: 16px;
}

.seller-pagination > a:hover {
    color: #ffffff;
    background: var(--seller-primary);
    border-color: var(--seller-primary);
    transform: translateY(-1px);
}

.seller-pagination > span {
    color: var(--seller-text-muted);

    font-size: 0.78rem;
    font-weight: 550;
    text-align: center;
}

.seller-pagination > span strong {
    color: var(--seller-text);
}


/* ==========================================================================
   11. CARD DE AVALIAÇÃO
========================================================================== */

.seller-evaluation-card {
    position: sticky;
    top: 92px;
}

.seller-evaluation-card > header {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 22px 22px 18px;

    border-bottom: 1px solid var(--seller-border);
}

.seller-evaluation-card > header > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    color: #ffffff;
    background:
            linear-gradient(
                    135deg,
                    var(--seller-gold),
                    var(--seller-gold-dark)
            );

    border-radius: 12px;

    box-shadow: 0 7px 16px rgba(184, 138, 34, 0.22);
}

.seller-evaluation-card > header > span svg {
    width: 21px;
    height: 21px;
}

.seller-evaluation-card > header h2 {
    margin: 0;

    color: var(--seller-text);

    font-size: 1.08rem;
    font-weight: 800;
}

.seller-evaluation-card > header p {
    margin: 4px 0 0;

    color: var(--seller-text-muted);

    font-size: 0.75rem;
    line-height: 1.45;
}

.seller-evaluation-card > form {
    padding: 22px;
}


/* ==========================================================================
   12. ESTADOS DO FORMULÁRIO
========================================================================== */

.seller-evaluation-state {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 20px;
    padding: 15px;

    border: 1px solid var(--seller-border);
    border-radius: 13px;
}

.seller-evaluation-state > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 1px;
}

.seller-evaluation-state strong {
    display: block;

    margin-bottom: 3px;

    font-size: 0.85rem;
    font-weight: 750;
}

.seller-evaluation-state p {
    margin: 0;

    font-size: 0.76rem;
    line-height: 1.5;
}

.seller-evaluation-state.is-info {
    color: var(--seller-info);
    background: var(--seller-info-soft);
    border-color: rgba(39, 104, 168, 0.18);
}

.seller-evaluation-state.is-login {
    color: var(--seller-primary-dark);
    background: rgba(20, 127, 43, 0.07);
    border-color: rgba(20, 127, 43, 0.18);
}

.seller-evaluation-state.is-success {
    color: var(--seller-success);
    background: var(--seller-success-soft);
    border-color: rgba(30, 138, 60, 0.18);
}

.seller-evaluation-state.is-pending {
    color: var(--seller-warning);
    background: var(--seller-warning-soft);
    border-color: rgba(183, 121, 11, 0.2);
}

.seller-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0 20px 20px;
    min-height: 44px;
    padding: 10px 16px;

    color: #ffffff;
    background:
            linear-gradient(
                    135deg,
                    var(--seller-primary),
                    var(--seller-primary-dark)
            );

    border-radius: 12px;

    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(11, 94, 29, 0.18);

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.seller-login-button svg {
    width: 18px;
    height: 18px;
}

.seller-login-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(11, 94, 29, 0.24);
}


/* ==========================================================================
   13. AVALIAÇÃO ATUAL
========================================================================== */

.seller-current-review {
    margin: 0 20px 20px;
    padding: 16px;

    background: var(--seller-surface-soft);
    border: 1px solid var(--seller-border);
    border-radius: 13px;
}

.seller-current-review__stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.seller-current-review__stars svg {
    width: 18px;
    height: 18px;

    color: #cbd2cc;
    fill: transparent;
}

.seller-current-review__stars svg.is-filled {
    color: var(--seller-gold);
    fill: var(--seller-gold);
}

.seller-current-review p {
    margin: 12px 0 0;

    color: var(--seller-text-soft);

    font-size: 0.8rem;
    line-height: 1.6;
}


/* ==========================================================================
   14. CAMPOS DO FORMULÁRIO
========================================================================== */

.seller-form-field {
    margin-bottom: 18px;
}

.seller-form-field > label {
    display: block;

    margin-bottom: 8px;

    color: var(--seller-text);

    font-size: 0.8rem;
    font-weight: 700;
}

.seller-form-field > label > span {
    color: var(--seller-danger);
}

.seller-form-field textarea {
    display: block;

    width: 100%;
    min-height: 126px;
    padding: 12px 13px;

    color: var(--seller-text);
    background: #ffffff;

    border: 1px solid var(--seller-border-strong);
    border-radius: 12px;

    font-family: inherit;
    font-size: 0.84rem;
    line-height: 1.55;

    resize: vertical;

    outline: none;

    transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease,
            background 0.2s ease;
}

.seller-form-field textarea::placeholder {
    color: #9da7a0;
}

.seller-form-field textarea:hover {
    border-color: #bcc9bf;
}

.seller-form-field textarea:focus {
    background: #ffffff;
    border-color: var(--seller-primary);

    box-shadow:
            0 0 0 4px rgba(20, 127, 43, 0.1);
}

.seller-form-field > small {
    display: block;

    margin-top: 7px;

    color: var(--seller-text-muted);

    font-size: 0.71rem;
    line-height: 1.4;
}

.seller-form-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: 7px;
}

.seller-form-counter small {
    color: var(--seller-text-muted);

    font-size: 0.7rem;
}


/* ==========================================================================
   15. SELETOR DE ESTRELAS
========================================================================== */

.seller-rating-input {
    display: flex;
    align-items: center;
    gap: 5px;
}

.seller-rating-input > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 0;

    color: #c8d0ca;
    background: #f8faf8;

    border: 1px solid var(--seller-border);
    border-radius: 10px;

    cursor: pointer;

    transition:
            color 0.18s ease,
            background 0.18s ease,
            border-color 0.18s ease,
            transform 0.18s ease,
            box-shadow 0.18s ease;
}

.seller-rating-input > button svg {
    width: 23px;
    height: 23px;

    fill: transparent;

    transition:
            fill 0.18s ease,
            transform 0.18s ease;
}

.seller-rating-input > button:hover,
.seller-rating-input > button:focus-visible {
    color: var(--seller-gold);
    background: var(--seller-warning-soft);
    border-color: rgba(216, 176, 76, 0.55);

    transform: translateY(-2px);

    outline: none;
    box-shadow: 0 5px 14px rgba(184, 138, 34, 0.13);
}

.seller-rating-input > button.is-active {
    color: var(--seller-gold);
    background: var(--seller-warning-soft);
    border-color: rgba(216, 176, 76, 0.55);
}

.seller-rating-input > button.is-active svg {
    fill: var(--seller-gold);
}

.seller-rating-input > button:active {
    transform: translateY(0);
}


/* ==========================================================================
   16. RESPOSTA E BOTÃO DE ENVIO
========================================================================== */

.seller-form-response {
    margin-bottom: 14px;
}

.seller-form-response:empty {
    display: none;
}

.seller-form-response .alert,
.seller-form-response .message {
    margin: 0;
    padding: 11px 12px;

    border-radius: 10px;

    font-size: 0.76rem;
    line-height: 1.45;
}

.seller-submit-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    min-height: 46px;
    padding: 11px 16px;

    color: #ffffff;
    background:
            linear-gradient(
                    135deg,
                    var(--seller-primary),
                    var(--seller-primary-dark)
            );

    border: 0;
    border-radius: 12px;

    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 750;

    cursor: pointer;

    box-shadow: 0 9px 22px rgba(11, 94, 29, 0.2);

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            opacity 0.2s ease;
}

.seller-submit-review svg {
    width: 18px;
    height: 18px;
}

.seller-submit-review:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(11, 94, 29, 0.26);
}

.seller-submit-review:active:not(:disabled) {
    transform: translateY(0);
}

.seller-submit-review:focus-visible {
    outline: 3px solid rgba(20, 127, 43, 0.2);
    outline-offset: 3px;
}

.seller-submit-review:disabled {
    opacity: 0.65;
    cursor: wait;
    box-shadow: none;
}

.seller-review-moderation-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    margin: 13px 0 0;

    color: var(--seller-text-muted);

    font-size: 0.69rem;
    line-height: 1.45;
}

.seller-review-moderation-note svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    margin-top: 1px;

    color: var(--seller-primary);
}


/* ==========================================================================
   17. CARD DE ANÚNCIOS
========================================================================== */

.seller-ads-card {
    overflow: hidden;
}

.seller-ads-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 21px 22px;

    border-bottom: 1px solid var(--seller-border);
}

.seller-ads-heading > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;
    padding: 0 9px;

    color: var(--seller-primary-dark);
    background: rgba(20, 127, 43, 0.08);

    border: 1px solid rgba(20, 127, 43, 0.12);
    border-radius: 11px;

    font-size: 0.8rem;
    font-weight: 800;
}

.seller-ads-list {
    display: flex;
    flex-direction: column;
}

.seller-ad-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 13px;

    padding: 15px 18px;

    border-bottom: 1px solid var(--seller-border);

    transition: background 0.2s ease;
}

.seller-ad-item:hover {
    background: var(--seller-surface-soft);
}

.seller-ad-item__image {
    display: block;

    width: 108px;
    height: 88px;
    overflow: hidden;

    background: #edf1ed;
    border-radius: 11px;
}

.seller-ad-item__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.seller-ad-item:hover .seller-ad-item__image img {
    transform: scale(1.05);
}

.seller-ad-item__content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
    padding: 2px 0;
}

.seller-ad-item__content h3 {
    width: 100%;
    margin: 0;

    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.4;
}

.seller-ad-item__content h3 a {
    display: -webkit-box;
    overflow: hidden;

    color: var(--seller-text);
    text-decoration: none;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    transition: color 0.2s ease;
}

.seller-ad-item__content h3 a:hover {
    color: var(--seller-primary);
}

.seller-ad-item__content > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    margin-top: 6px;

    color: var(--seller-text-muted);

    font-size: 0.68rem;
    font-weight: 500;
}

.seller-ad-item__content > span svg {
    width: 13px;
    height: 13px;
    color: var(--seller-primary);
}

.seller-ad-item__content > strong {
    margin-top: auto;
    padding-top: 7px;

    color: var(--seller-primary-dark);

    font-size: 0.86rem;
    font-weight: 800;
}

.seller-view-all-ads {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 48px;
    padding: 12px 18px;

    color: var(--seller-primary-dark);
    background: #fbfcfb;

    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;

    transition:
            color 0.2s ease,
            background 0.2s ease;
}

.seller-view-all-ads svg {
    width: 17px;
    height: 17px;

    transition: transform 0.2s ease;
}

.seller-view-all-ads:hover {
    color: #ffffff;
    background: var(--seller-primary);
}

.seller-view-all-ads:hover svg {
    transform: translateX(3px);
}

.seller-ads-empty {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;

    padding: 30px 22px;

    color: var(--seller-text-muted);
    text-align: center;
}

.seller-ads-empty svg {
    width: 31px;
    height: 31px;
    color: var(--seller-primary);
}

.seller-ads-empty p {
    margin: 0;

    font-size: 0.8rem;
    line-height: 1.55;
}


/* ==========================================================================
   18. ACESSIBILIDADE
========================================================================== */

.seller-review-page a:focus-visible,
.seller-review-page button:focus-visible,
.seller-review-page textarea:focus-visible {
    outline: 3px solid rgba(20, 127, 43, 0.22);
    outline-offset: 3px;
}


/* ==========================================================================
   19. RESPONSIVO — TABLETS
========================================================================== */

@media (max-width: 1099.98px) {
    .seller-review-layout {
        grid-template-columns: minmax(0, 1fr) 350px;
    }

    .seller-profile-hero {
        align-items: flex-start;
    }

    .seller-profile-hero__actions {
        max-width: 190px;
    }

    .seller-profile-action {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .seller-review-page {
        padding-top: 24px;
    }

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

    .seller-review-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .seller-evaluation-card {
        position: static;
    }

    .seller-profile-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .seller-profile-hero__actions {
        max-width: none;
        justify-content: flex-start;
    }

    .seller-profile-action {
        width: auto;
    }

    .seller-reputation-card {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 25px;
    }

    .seller-reputation-score {
        min-height: 185px;
        padding-right: 25px;
    }
}


/* ==========================================================================
   20. RESPONSIVO — CELULAR
========================================================================== */

@media (max-width: 767.98px) {
    .seller-review-page {
        padding: 18px 0 54px;
    }

    .seller-review-container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .seller-review-breadcrumb {
        margin-bottom: 15px;
        font-size: 0.75rem;
    }

    .seller-profile-hero {
        gap: 21px;
        padding: 21px;

        border-radius: 18px;
    }

    .seller-profile-hero__identity {
        align-items: flex-start;
    }

    .seller-profile-avatar > img {
        width: 82px;
        height: 82px;
    }

    .seller-profile-avatar > span {
        width: 27px;
        height: 27px;
    }

    .seller-profile-hero__content h1 {
        font-size: 1.55rem;
    }

    .seller-profile-hero__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-top: 11px;
    }

    .seller-profile-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .seller-profile-action {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .seller-reputation-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px;

        border-radius: 18px;
    }

    .seller-reputation-score {
        min-height: auto;
        padding: 0 0 23px;

        border-right: 0;
        border-bottom: 1px solid var(--seller-border);
    }

    .seller-reputation-score > strong {
        font-size: 3.7rem;
    }

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

    .seller-section-card {
        border-radius: 18px;
    }

    .seller-section-heading {
        padding: 20px;
    }

    .seller-review-item {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 19px 20px;
    }

    .seller-review-item__avatar img {
        width: 44px;
        height: 44px;
    }

    .seller-review-item__content > header {
        flex-direction: column;
        gap: 8px;
    }

    .seller-review-item__stars {
        order: 2;
    }

    .seller-pagination {
        padding: 16px 20px;
    }

    .seller-pagination > span {
        display: none;
    }

    .seller-review-empty {
        margin: 20px;
    }
}


/* ==========================================================================
   21. RESPONSIVO — CELULARES PEQUENOS
========================================================================== */

@media (max-width: 479.98px) {
    .seller-profile-hero__identity {
        flex-direction: column;
    }

    .seller-profile-avatar > img {
        width: 88px;
        height: 88px;
    }

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

    .seller-rating-row {
        grid-template-columns: 42px minmax(80px, 1fr) 28px;
        gap: 9px;
    }

    .seller-rating-input {
        justify-content: space-between;
        gap: 3px;
    }

    .seller-rating-input > button {
        width: 38px;
        height: 38px;
    }

    .seller-rating-input > button svg {
        width: 21px;
        height: 21px;
    }

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

    .seller-review-item__avatar img {
        width: 48px;
        height: 48px;
    }

    .seller-review-empty {
        align-items: flex-start;
        flex-direction: column;
    }

    .seller-ad-item {
        grid-template-columns: 92px minmax(0, 1fr);
        padding-right: 14px;
        padding-left: 14px;
    }

    .seller-ad-item__image {
        width: 92px;
        height: 82px;
    }

    .seller-pagination > a {
        padding-right: 10px;
        padding-left: 10px;
    }
}


/* ==========================================================================
   22. REDUÇÃO DE MOVIMENTO
========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .seller-review-page *,
    .seller-review-page *::before,
    .seller-review-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}