/* ==========================================================
   SUPERGRAFENO — MINHA CONTA
   ========================================================== */


body.woocommerce-account {
    --sg-navy: #001b49;
    --sg-navy-2: #0b2340;
    --sg-green: #67b928;
    --sg-green-dark: #44920f;
    --sg-green-soft: #f3f9ed;
    --sg-text: #071b35;
    --sg-muted: #667489;
    --sg-border: #dce5ef;
    --sg-bg: #f6f8fb;
    --sg-white: #ffffff;
    --sg-radius: 14px;
}

body.sg-my-account {
    --sg-navy: #001b49;
    --sg-navy-2: #0b2340;
    --sg-green: #67b928;
    --sg-green-dark: #44920f;
    --sg-green-soft: #f3f9ed;

    --sg-text: #071b35;
    --sg-muted: #667489;

    --sg-border: #dce5ef;
    --sg-bg: #f6f8fb;
    --sg-white: #ffffff;

    --sg-radius: 14px;

    background: var(--sg-bg);
}


/* ==========================================================
   ESTRUTURA
   ========================================================== */

/*
 * IMPORTANTE:
 * #content limita esta regra ao WooCommerce da página Minha Conta.
 * Isso evita atingir elementos auxiliares do FiboSearch que também
 * utilizam a classe genérica .woocommerce fora da área principal.
 */

body.sg-my-account #content .woocommerce {
    display: grid !important;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;

    width: 100%;
    max-width: 1380px;

    margin: 0 auto;
    padding: 35px 24px 60px;

    align-items: start;
}


body.sg-my-account .woocommerce-notices-wrapper,
body.sg-my-account .sg-account-hero {
    grid-column: 1 / -1;
}


body.sg-my-account .woocommerce-MyAccount-navigation {
    float: none !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 10px;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);

    box-shadow:
        0 8px 25px rgba(0, 27, 73, .055);

    position: sticky;
    top: 25px;

    overflow: hidden;
}


body.sg-my-account .woocommerce-MyAccount-content {
    float: none !important;

    width: 100% !important;
    min-width: 0;

    margin: 0 !important;
}


/* ==========================================================
   HERO
   ========================================================== */

.sg-account-hero {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 27px 32px;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-left: 4px solid var(--sg-green);
    border-radius: var(--sg-radius);

    box-shadow:
        0 10px 30px rgba(0, 27, 73, .055);
}


.sg-account-eyebrow {
    display: block;

    margin-bottom: 5px;

    font-size: 12px;
    font-weight: 700;

    color: var(--sg-green-dark);

    text-transform: uppercase;
    letter-spacing: .08em;
}


.sg-account-hero h1 {
    margin: 0 0 4px;

    color: var(--sg-navy);

    font-size: 28px;
    line-height: 1.2;

    font-weight: 800;
}


.sg-account-hero p {
    margin: 0 !important;

    color: var(--sg-muted);

    font-size: 14px;
}


.sg-account-hero-user {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 230px;

    padding-left: 25px;

    border-left: 1px solid var(--sg-border);
}


.sg-account-avatar {
    display: flex;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--sg-green-soft);

    color: var(--sg-green-dark);

    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}



.sg-account-hero-user strong {
    color: var(--sg-navy);

    font-size: 14px;
}


.sg-account-hero-user div > span {
    margin-top: 2px;

    color: var(--sg-muted);

    font-size: 12px;

    word-break: break-word;
}


/* ==========================================================
   MENU
   ========================================================== */

body.sg-my-account .woocommerce-MyAccount-navigation ul {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


body.sg-my-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    list-style: none !important;
}


body.sg-my-account .woocommerce-MyAccount-navigation li a {
    display: flex;

    align-items: center;

    min-height: 46px;

    padding: 11px 14px;

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

    color: var(--sg-navy);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


body.sg-my-account .woocommerce-MyAccount-navigation li a:hover {
    background: #f7f9fc;

    border-color: var(--sg-border);
}


body.sg-my-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--sg-green-soft);

    border-color: #cce5b7;

    color: var(--sg-green-dark);

    font-weight: 800;
}


body.sg-my-account
.woocommerce-MyAccount-navigation
li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 8px !important;

    padding-top: 8px !important;

    border-top: 1px solid var(--sg-border) !important;
}


body.sg-my-account
.woocommerce-MyAccount-navigation
li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #a62b27;
}


/* ==========================================================
   REMOVE TEXTO PADRÃO DO DASHBOARD
   ========================================================== */

body.sg-account-dashboard
.woocommerce-MyAccount-content > p {
    display: none !important;
}


/* ==========================================================
   DASHBOARD
   ========================================================== */
body.sg-my-account
.woocommerce-MyAccount-content
> .sg-account-dashboard {
    display: flex;
    flex-direction: column;
    gap: 0;
} 



.sg-account-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}


.sg-account-summary-card {
    display: flex;

    min-height: 165px;

    flex-direction: column;

    padding: 22px;

    background: #fff;

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

    box-shadow:
        0 5px 18px rgba(0, 27, 73, .04);
}


.sg-summary-label {
    margin-bottom: 10px;

    color: var(--sg-muted);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .05em;
}


.sg-summary-value {
    margin-bottom: 4px;

    color: var(--sg-navy);

    font-size: 30px;
    line-height: 1;

    font-weight: 800;
}


.sg-summary-value.sg-summary-order {
    font-size: 24px;
}


.sg-summary-location {
    margin-bottom: 4px;

    color: var(--sg-navy);

    font-size: 18px;
    line-height: 1.35;

    font-weight: 800;
}


.sg-summary-sub {
    color: var(--sg-muted);

    font-size: 12px;
}


.sg-account-summary-card > a {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 15px;

    border-top: 1px solid #edf1f5;

    color: var(--sg-navy);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


.sg-account-summary-card > a:hover {
    color: var(--sg-green-dark);
}


/* ==========================================================
   PEDIDOS RECENTES
   ========================================================== */

.sg-recent-orders {
    padding: 25px;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);

    box-shadow:
        0 8px 25px rgba(0, 27, 73, .045);
}


.sg-account-section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.sg-account-section-header h2 {
    margin: 0;

    color: var(--sg-navy);

    font-size: 23px;
    font-weight: 800;
}


.sg-account-section-header > a {
    color: var(--sg-navy);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none !important;
}


.sg-account-section-header > a:hover {
    color: var(--sg-green-dark);
}


.sg-order-list {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.sg-order-card {
    display: grid;

    grid-template-columns:
        minmax(190px, 1fr)
        minmax(230px, .9fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 16px 17px;

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

    background: #fff;
}


.sg-order-main {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


.sg-order-number {
    color: var(--sg-muted);

    font-size: 12px;
}


.sg-order-number strong {
    display: block;

    color: var(--sg-navy);

    font-size: 16px;
}


.sg-order-status {
    display: inline-flex;

    align-items: center;

    min-height: 27px;

    padding: 5px 10px;

    border-radius: 999px;

    background: #f3f6f9;

    border: 1px solid #dce4ec;

    color: #526276;

    font-size: 11px;
    font-weight: 700;
}


/* status positivos */

.sg-status-processing,
.sg-status-sg-await-ship,
.sg-status-sg-tracking,
.sg-status-sg-await-deliv,
.sg-status-completed {
    background: var(--sg-green-soft);

    border-color: #cbe3b7;

    color: var(--sg-green-dark);
}


/* aguardando pagamento */

.sg-status-pending {
    background: #fff8e8;

    border-color: #f0cc77;

    color: #9a6500;
}


/* análise */

.sg-status-on-hold,
.sg-status-checkout-draft {
    background: #f2f5f8;

    border-color: #d4dce5;

    color: #526276;
}


/* problemas */

.sg-status-failed,
.sg-status-cancelled,
.sg-status-refunded {
    background: #fff2f1;

    border-color: #efc1bd;

    color: #bb2f28;
}


.sg-order-meta {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.sg-order-meta span,
.sg-order-meta strong {
    display: block;
}


.sg-order-meta span {
    margin-bottom: 2px;

    color: var(--sg-muted);

    font-size: 11px;
}


.sg-order-meta strong {
    color: var(--sg-navy);

    font-size: 13px;
}


.sg-order-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 40px;

    padding: 9px 14px;

    background: var(--sg-green);

    border-radius: 7px;

    color: #fff !important;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none !important;

    white-space: nowrap;
}


.sg-order-action:hover {
    background: var(--sg-green-dark);
}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

.sg-account-empty {
    padding: 30px;

    text-align: center;

    background: #f8fafc;

    border: 1px dashed var(--sg-border);
    border-radius: 10px;
}


.sg-account-empty strong {
    color: var(--sg-navy);
}


.sg-account-empty p {
    margin: 5px 0 18px !important;

    color: var(--sg-muted);
}


.sg-account-empty a {
    display: inline-flex;

    padding: 10px 18px;

    background: var(--sg-green);

    border-radius: 7px;

    color: #fff !important;

    font-weight: 700;

    text-decoration: none !important;
}


/* ==========================================================
   TELAS INTERNAS DO WOOCOMMERCE
   ========================================================== */

body.sg-my-account
.woocommerce-MyAccount-content
> form,

body.sg-my-account
.woocommerce-MyAccount-content
> .woocommerce-Addresses,

body.sg-my-account
.woocommerce-MyAccount-content
> table,

body.sg-my-account
.woocommerce-MyAccount-content
> .woocommerce-orders-table {

    padding: 24px;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);

    box-shadow:
        0 8px 25px rgba(0, 27, 73, .04);
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 1000px) {

    body.sg-my-account #content .woocommerce {
        grid-template-columns: 210px minmax(0, 1fr);

        gap: 18px;
    }


    .sg-account-summary-grid {
        grid-template-columns: 1fr;
    }


    .sg-order-card {
        grid-template-columns: 1fr;
    }


    .sg-order-action {
        width: 100%;
    }
}


@media (max-width: 760px) {

    body.sg-my-account #content .woocommerce {
        display: block !important;

        padding: 20px 14px 45px;
    }


    .sg-account-hero {
        display: block;

        margin-bottom: 18px;

        padding: 22px;
    }


    .sg-account-hero-user {
        margin-top: 20px;
        padding-top: 18px;
        padding-left: 0;

        border-top: 1px solid var(--sg-border);
        border-left: 0;
    }


    body.sg-my-account
    .woocommerce-MyAccount-navigation {
        position: static;

        margin-bottom: 18px !important;
    }


    body.sg-my-account
    .woocommerce-MyAccount-navigation ul {

        display: grid;

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


    .sg-account-summary-grid {
        grid-template-columns: 1fr;
    }


    .sg-account-section-header {
        display: block;
    }


    .sg-account-section-header > a {
        display: inline-block;

        margin-top: 8px;
    }


    .sg-order-meta {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 480px) {

    body.sg-my-account
    .woocommerce-MyAccount-navigation ul {

        grid-template-columns: 1fr;
    }


    .sg-account-hero h1 {
        font-size: 24px;
    }


    .sg-order-meta {
        grid-template-columns: 1fr;
    }

}

/* ==========================================================
   TOTAIS / REEMBOLSOS DOS PEDIDOS
   ========================================================== */

body.sg-my-account .sg-order-total-column {
    min-width: 110px;
}


body.sg-my-account .sg-order-total-display,
body.sg-my-account .sg-summary-order-total {
    line-height: 1.3;
}


body.sg-my-account .sg-order-total-normal {
    display: block;

    color: var(--sg-navy);

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;
}


body.sg-my-account .sg-order-total-refunded {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 2px;

    min-width: 105px;
}


body.sg-my-account .sg-order-total-refunded del {
    display: block;

    color: #8995a5;

    font-size: 11px;
    line-height: 1.2;

    font-weight: 500;

    white-space: nowrap;
}


body.sg-my-account .sg-order-total-refunded .sg-refund-final {
    display: block;

    color: var(--sg-navy);

    font-size: 13px;
    line-height: 1.2;

    font-weight: 800;

    white-space: nowrap;
}


body.sg-my-account .sg-order-total-refunded small {
    display: block;

    color: #bb2f28;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 700;

    white-space: nowrap;
}


/* Dá um pouco mais de espaço para Data + Total */

body.sg-my-account .sg-order-meta {
    grid-template-columns:
        minmax(95px, 1fr)
        minmax(115px, 1fr);

    gap: 22px;
}


/* Mantém os cards alinhados */

body.sg-my-account .sg-order-card {
    min-height: 84px;
}


body.sg-my-account .sg-order-main,
body.sg-my-account .sg-order-meta,
body.sg-my-account .sg-order-action {
    align-self: center;
}

/* ==========================================================
   CORREÇÃO — VALORES MONETÁRIOS DOS PEDIDOS
   ========================================================== */

/*
 * O CSS original da área de pedidos transforma todos os spans
 * internos de .sg-order-meta em display:block.
 *
 * Como os preços do WooCommerce também são feitos com spans,
 * isso quebrava "R$ 950,63" em várias linhas.
 */


/* Mantém moeda + valor sempre juntos */

body.sg-my-account
.sg-order-meta
.woocommerce-Price-amount,

body.sg-my-account
.sg-order-meta
.woocommerce-Price-currencySymbol {

    display: inline !important;
}


/* Valor normal */

body.sg-my-account
.sg-order-total-normal {

    display: inline-block !important;

    color: var(--sg-navy);

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* ==========================================================
   PEDIDO REEMBOLSADO
   ========================================================== */

body.sg-my-account
.sg-order-total-refunded {

    display: flex !important;

    flex-direction: column;

    align-items: flex-start;

    gap: 2px;
}


/* Valor original riscado */

body.sg-my-account
.sg-order-total-refunded del {

    display: block !important;

    color: var(--sg-muted);

    font-size: 12px;

    line-height: 1.3;

    white-space: nowrap;
}


/* Valor final após reembolso */

body.sg-my-account
.sg-order-total-refunded
.sg-refund-final {

    display: block !important;

    color: var(--sg-navy);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}


/* Texto Reembolsado */

body.sg-my-account
.sg-order-total-refunded small {

    display: block !important;

    margin-top: 1px;

    color: #bb2f28;

    font-size: 10px;
    font-weight: 700;

    line-height: 1.3;
}


/* Garante que R$ e número não sejam separados
   dentro dos valores reembolsados */

body.sg-my-account
.sg-order-total-refunded
.woocommerce-Price-amount,

body.sg-my-account
.sg-order-total-refunded
.woocommerce-Price-currencySymbol {

    display: inline !important;
}

/* ==========================================================
   ABA PEDIDOS
   ========================================================== */

body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* ==========================================================
   AVISO / CONFIRMAÇÃO DE E-MAIL
   ========================================================== */

body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content > .woocommerce-notices-wrapper {
    margin: 0 !important;
}

body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-info,
body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-message {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin: 0 !important;
    padding: 18px 20px 18px 46px !important;

    background: #fff !important;

    border: 1px solid var(--sg-border) !important;
    border-top: 3px solid var(--sg-green) !important;
    border-radius: 12px !important;

    box-shadow: 0 6px 20px rgba(0, 27, 73, .04);

    color: var(--sg-navy) !important;
}

body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-info::before,
body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-message::before {
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%);
    color: var(--sg-green-dark) !important;
}

body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-info .button,
body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-message .button {
    float: none !important;
    margin: 0 !important;

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

    min-height: 40px;
    padding: 10px 18px !important;

    background: var(--sg-green) !important;
    border: 1px solid var(--sg-green) !important;
    border-radius: 8px !important;

    color: #fff !important;

    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;

    white-space: nowrap;
}

body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-info .button:hover,
body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-message .button:hover {
    background: var(--sg-green-dark) !important;
    border-color: var(--sg-green-dark) !important;
}


/* ==========================================================
   TABELA DE PEDIDOS
   ========================================================== */

body.sg-my-account.sg-account-orders .woocommerce-orders-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table thead th {
    padding: 16px 14px !important;

    background: #f8fafc;

    border-bottom: 1px solid var(--sg-border) !important;

    color: var(--sg-muted);

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table tbody td {
    padding: 16px 14px !important;

    border-bottom: 1px solid #edf2f7 !important;

    color: var(--sg-navy);

    font-size: 14px;
    vertical-align: middle;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table tbody tr:last-child td {
    border-bottom: 0 !important;
}


/* número do pedido */

.sg-order-number-link {
    color: var(--sg-navy) !important;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none !important;
}

.sg-order-number-link:hover {
    color: var(--sg-green-dark) !important;
}


/* total */

.sg-orders-total-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sg-orders-total-main {
    color: var(--sg-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.sg-orders-total-items {
    color: var(--sg-muted);
    font-size: 12px;
    line-height: 1.3;
}

.sg-orders-total-refund {
    color: #bb2f28;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}


/* ações */

body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions {
    white-space: normal;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 10px 14px !important;
    margin: 4px 6px 0 0 !important;

    border-radius: 8px !important;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;

    box-shadow: none !important;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions .button.view {
    background: #fff !important;
    border: 1px solid var(--sg-border) !important;
    color: var(--sg-navy) !important;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions .button.view:hover {
    border-color: var(--sg-green) !important;
    color: var(--sg-green-dark) !important;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions .button.pay {
    background: var(--sg-green) !important;
    border: 1px solid var(--sg-green) !important;
    color: #fff !important;
}

body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions .button.pay:hover {
    background: var(--sg-green-dark) !important;
    border-color: var(--sg-green-dark) !important;
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 900px) {

    body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-info,
    body.sg-my-account.sg-account-orders .woocommerce-MyAccount-content .woocommerce-message {
        flex-direction: column;
        align-items: flex-start;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table thead {
        display: none;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table,
    body.sg-my-account.sg-account-orders .woocommerce-orders-table tbody,
    body.sg-my-account.sg-account-orders .woocommerce-orders-table tr,
    body.sg-my-account.sg-account-orders .woocommerce-orders-table td {
        display: block;
        width: 100%;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table tr {
        margin-bottom: 14px;
        padding: 16px;

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

        background: #fff;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table tbody td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;

        padding: 8px 0 !important;
        border: 0 !important;

        text-align: right;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table tbody td::before {
        content: attr(data-title);
        flex: 0 0 110px;

        color: var(--sg-muted);
        font-size: 12px;
        font-weight: 700;
        text-align: left;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions {
        padding-top: 12px !important;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions::before {
        display: none;
    }

    body.sg-my-account.sg-account-orders .woocommerce-orders-table__cell-order-actions .button {
        width: 100%;
        margin: 8px 0 0 !important;
    }
}

/* ==========================================================
   PEDIDOS — AJUSTES FINAIS
   ========================================================== */


/* ==========================================================
   AVISO DE CONFIRMAÇÃO DE E-MAIL
   ========================================================== */

body.sg-my-account.sg-account-orders
.woocommerce-MyAccount-content > .woocommerce-info {

    display: flex !important;
    align-items: center !important;

    gap: 16px;

    min-height: 72px;

    margin: 0 0 20px !important;
    padding: 14px 18px !important;

    background: #ffffff !important;

    border: 1px solid var(--sg-border) !important;
    border-left: 4px solid var(--sg-green) !important;
    border-top: 1px solid var(--sg-border) !important;

    border-radius: 12px !important;

    box-shadow:
        0 6px 20px rgba(0, 27, 73, .04);

    color: var(--sg-muted) !important;

    font-size: 14px;
    line-height: 1.5;
}


/* remove o ícone quadrado padrão */

body.sg-my-account.sg-account-orders
.woocommerce-MyAccount-content > .woocommerce-info::before {

    content: "✓" !important;

    position: static !important;

    display: flex !important;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    align-items: center;
    justify-content: center;

    margin: 0 !important;

    background: var(--sg-green-soft);

    border-radius: 50%;

    color: var(--sg-green-dark) !important;

    font-size: 15px;
    font-weight: 900;
}


/* botão */

body.sg-my-account.sg-account-orders
.woocommerce-MyAccount-content > .woocommerce-info .button {

    order: 2;

    float: none !important;

    flex: 0 0 auto;

    margin: 0 0 0 auto !important;

    padding: 11px 18px !important;

    min-height: 42px;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    background: var(--sg-green) !important;

    border: 1px solid var(--sg-green) !important;
    border-radius: 8px !important;

    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    text-transform: none !important;

    white-space: nowrap;
}


body.sg-my-account.sg-account-orders
.woocommerce-MyAccount-content > .woocommerce-info .button:hover {

    background: var(--sg-green-dark) !important;
    border-color: var(--sg-green-dark) !important;
}


/* ==========================================================
   COLUNA TOTAL
   ========================================================== */

body.sg-my-account.sg-account-orders
.sg-orders-total-wrap {

    display: flex !important;

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 3px !important;

    white-space: normal !important;
}


body.sg-my-account.sg-account-orders
.sg-orders-total-main {

    display: block !important;

    color: var(--sg-navy);

    font-size: 14px;
    line-height: 1.25;

    font-weight: 800;
}


body.sg-my-account.sg-account-orders
.sg-orders-total-items {

    display: block !important;

    color: var(--sg-muted);

    font-size: 11px;
    line-height: 1.35;
}


body.sg-my-account.sg-account-orders
.sg-orders-total-original {

    display: block !important;

    color: var(--sg-muted);

    font-size: 11px;

    text-decoration: line-through;
}


body.sg-my-account.sg-account-orders
.sg-orders-total-refund {

    display: block !important;

    margin-top: 2px;

    color: #bb2f28;

    font-size: 11px;
    line-height: 1.3;

    font-weight: 800;
}


/* deixa a coluna total com espaço suficiente */

body.sg-my-account.sg-account-orders
.woocommerce-orders-table
.woocommerce-orders-table__header-order-total,

body.sg-my-account.sg-account-orders
.woocommerce-orders-table
.woocommerce-orders-table__cell-order-total {

    min-width: 130px;
}


/* ==========================================================
   MOBILE — AVISO
   ========================================================== */

@media (max-width: 760px) {

    body.sg-my-account.sg-account-orders
    .woocommerce-MyAccount-content > .woocommerce-info {

        flex-wrap: wrap;

        padding: 16px !important;
    }


    body.sg-my-account.sg-account-orders
    .woocommerce-MyAccount-content > .woocommerce-info .button {

        order: 3;

        width: 100%;

        margin: 6px 0 0 !important;
    }

}

/* ==========================================================
   DOWNLOADS
   ========================================================== */

body.sg-account-downloads .woocommerce-MyAccount-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* aviso padrão quando não há downloads */
body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 18px 22px !important;
    margin: 0 !important;

    background: #fff !important;
    border: 1px solid var(--sg-border) !important;
    border-left: 4px solid var(--sg-green) !important;
    border-radius: var(--sg-radius) !important;
    box-shadow: 0 8px 25px rgba(0, 27, 73, .04);

    color: var(--sg-muted) !important;
    font-size: 16px;
    line-height: 1.45;
}


/* remove visual feio padrão */
body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info::before {
    color: var(--sg-green) !important;
    top: 50%;
    transform: translateY(-50%);
    left: 18px;
}


/* espaço para o ícone */
body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info {
    padding-left: 54px !important;
}


/* botão "Ver produtos" */
body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info .button,
body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info a.button {
    order: 2;
    margin: 0 !important;
    margin-left: auto !important;
    float: none !important;

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

    min-height: 46px;
    padding: 0 24px !important;

    background: var(--sg-green) !important;
    border: 1px solid var(--sg-green) !important;
    border-radius: 10px !important;

    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;

    box-shadow: none !important;
}


body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info .button:hover,
body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info a.button:hover {
    background: var(--sg-green-dark) !important;
    border-color: var(--sg-green-dark) !important;
    color: #fff !important;
}


/* se algum dia houver tabela de downloads */
body.sg-account-downloads .woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
}

body.sg-account-downloads .woocommerce-MyAccount-content table th,
body.sg-account-downloads .woocommerce-MyAccount-content table td {
    padding: 16px 14px;
    border-bottom: 1px solid #edf1f5;
    text-align: left;
}

body.sg-account-downloads .woocommerce-MyAccount-content table th {
    color: var(--sg-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

body.sg-account-downloads .woocommerce-MyAccount-content table td {
    color: var(--sg-navy);
    font-size: 14px;
}


/* responsivo */
@media (max-width: 760px) {
    body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 18px 18px 52px !important;
    }

    body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info .button,
    body.sg-account-downloads .woocommerce-MyAccount-content .woocommerce-info a.button {
        width: 100%;
        margin-left: 0 !important;
    }
}

/* ==========================================================
   ENDEREÇOS — MINHA CONTA
   ========================================================== */

/* texto introdutório */
body.sg-account-edit-address
.woocommerce-MyAccount-content > p {
    margin: 0 0 20px !important;
    padding: 16px 20px !important;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-left: 4px solid var(--sg-green);
    border-radius: 10px;

    color: var(--sg-muted);

    font-size: 14px;
    line-height: 1.5;
}


/* ==========================================================
   CONTAINER DOS ENDEREÇOS
   ========================================================== */

body.sg-account-edit-address
.woocommerce-MyAccount-content
.woocommerce-Addresses {

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    grid-auto-flow: row !important;

    gap: 22px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 22px !important;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);

    box-shadow:
        0 8px 25px rgba(0, 27, 73, .04);

    box-sizing: border-box !important;
}


/* ==========================================================
   MATA O COL-1 / COL-2 ANTIGO DO WOOCOMMERCE
   ========================================================== */

body.sg-account-edit-address
.woocommerce-Addresses
> .woocommerce-Address,

body.sg-account-edit-address
.woocommerce-Addresses
> .u-column1,

body.sg-account-edit-address
.woocommerce-Addresses
> .u-column2,

body.sg-account-edit-address
.woocommerce-Addresses
> .col-1,

body.sg-account-edit-address
.woocommerce-Addresses
> .col-2 {

    float: none !important;
    clear: none !important;

    position: relative !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;

    transform: none !important;

    justify-self: stretch !important;
    align-self: stretch !important;

    box-sizing: border-box !important;
}


/* força cada endereço para sua coluna */
body.sg-account-edit-address
.woocommerce-Addresses
> .u-column1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
}


body.sg-account-edit-address
.woocommerce-Addresses
> .u-column2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
}


/* ==========================================================
   CARD
   ========================================================== */

body.sg-account-edit-address
.woocommerce-Address {

    display: flex !important;
    flex-direction: column !important;

    min-height: 285px !important;

    background: #fff;

    border: 1px solid var(--sg-border) !important;
    border-radius: 12px !important;

    overflow: hidden !important;

    box-shadow:
        0 5px 18px rgba(0, 27, 73, .035);
}


/* cobrança */
body.sg-account-edit-address
.woocommerce-Addresses
> .u-column1 {
    border-top: 3px solid var(--sg-green) !important;
}


/* entrega */
body.sg-account-edit-address
.woocommerce-Addresses
> .u-column2 {
    border-top: 3px solid var(--sg-navy) !important;
}


/* ==========================================================
   CABEÇALHO DO CARD
   ========================================================== */

body.sg-account-edit-address
.woocommerce-Address-title {

    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 15px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 18px 20px !important;

    background: #f9fbfd;

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

    box-sizing: border-box !important;
}


/* título */
body.sg-account-edit-address
.woocommerce-Address-title h2,

body.sg-account-edit-address
.woocommerce-Address-title h3 {

    float: none !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--sg-navy);

    font-size: 19px !important;
    line-height: 1.25 !important;

    font-weight: 800 !important;
}


/* ==========================================================
   BOTÃO EDITAR
   ========================================================== */

body.sg-account-edit-address
.woocommerce-Address-title .edit {

    float: none !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    min-height: 38px;

    margin: 0 !important;
    padding: 8px 13px !important;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-radius: 8px;

    color: var(--sg-navy) !important;

    font-size: 12px !important;
    line-height: 1.2;

    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


body.sg-account-edit-address
.woocommerce-Address-title .edit:hover {

    background: var(--sg-green-soft);

    border-color: #c9e2b5;

    color: var(--sg-green-dark) !important;
}


/* ==========================================================
   TEXTO DO ENDEREÇO
   ========================================================== */

body.sg-account-edit-address
.woocommerce-Address address {

    display: block !important;

    margin: 0 !important;
    padding: 20px !important;

    color: var(--sg-navy);

    font-size: 14px !important;
    line-height: 1.7 !important;

    font-style: normal !important;
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 760px) {

    body.sg-account-edit-address
    .woocommerce-MyAccount-content
    .woocommerce-Addresses {

        grid-template-columns: 1fr !important;

        gap: 16px !important;

        padding: 16px !important;
    }


    body.sg-account-edit-address
    .woocommerce-Addresses
    > .u-column1,

    body.sg-account-edit-address
    .woocommerce-Addresses
    > .u-column2 {

        grid-column: 1 !important;
        grid-row: auto !important;
    }


    body.sg-account-edit-address
    .woocommerce-Address {

        min-height: 0 !important;
    }


    body.sg-account-edit-address
    .woocommerce-Address-title {

        flex-direction: column !important;

        align-items: flex-start !important;
    }


    body.sg-account-edit-address
    .woocommerce-Address-title .edit {

        width: 100% !important;
    }
}

/* ==========================================================
   DADOS DA CONTA — CAMPOS PROTEGIDOS
   ========================================================== */

body.sg-account-edit-account
input.sg-account-locked-field {
    background: #f4f6f8 !important;
    border-color: #dce5ef !important;

    color: #677489 !important;

    cursor: not-allowed !important;

    box-shadow: none !important;
}


body.sg-account-edit-account
input.sg-account-locked-field:focus {
    border-color: #dce5ef !important;
    box-shadow: none !important;
    outline: none !important;
}


/* aviso */

body.sg-account-edit-account
.sg-account-data-notice {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 28px;
    padding: 18px 20px;

    background: #f7fbf3;

    border: 1px solid #d8e8ca;
    border-left: 4px solid var(--sg-green);
    border-radius: 10px;
}


body.sg-account-edit-account
.sg-account-data-notice-text {
    min-width: 0;
}


body.sg-account-edit-account
.sg-account-data-notice strong {
    display: block;

    margin-bottom: 4px;

    color: var(--sg-navy);

    font-size: 14px;
    font-weight: 800;
}


body.sg-account-edit-account
.sg-account-data-notice span {
    display: block;

    color: var(--sg-muted);

    font-size: 13px;
    line-height: 1.5;
}


body.sg-account-edit-account
.sg-account-data-notice a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 42px;

    padding: 10px 17px;

    background: #fff;

    border: 1px solid var(--sg-border);
    border-radius: 7px;

    color: var(--sg-navy) !important;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none !important;
}


body.sg-account-edit-account
.sg-account-data-notice a:hover {
    border-color: var(--sg-green);

    color: var(--sg-green-dark) !important;
}


@media (max-width: 760px) {

    body.sg-account-edit-account
    .sg-account-data-notice {
        display: block;
    }

    body.sg-account-edit-account
    .sg-account-data-notice a {
        width: 100%;

        margin-top: 15px;
    }
}






/* ==========================================================
   AVISOS — CENTRALIZA ÍCONE VERTICALMENTE
   ========================================================== */

body.sg-my-account .woocommerce-message,
body.sg-my-account .woocommerce-info {
    display: flex !important;
    align-items: center !important;
}

/* ícone/check do WooCommerce */
body.sg-my-account .woocommerce-message::before,
body.sg-my-account .woocommerce-info::before {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    flex: 0 0 auto;

    margin: 0 18px 0 0 !important;
}

/* wrapper de avisos — não cria linha vazia no grid */
body.sg-my-account .woocommerce-notices-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

body.sg-my-account .woocommerce-notices-wrapper:empty {
    display: none !important;
}

/* evita espaço extra antes do hero */
body.sg-my-account .sg-account-hero {
    margin-top: 0 !important;
}

/* ==========================================================
   MINHA CONTA — REMOVE ESPAÇO RESERVADO DA ADMIN BAR
   ========================================================== */

html:has(> body.sg-my-account) {
    margin-top: 0 !important;
    scroll-padding-top: 0 !important;
}

/* ==========================================================
   VISÃO GERAL — AVISO DE SENHA TEMPORÁRIA
   ========================================================== */

body.sg-account-dashboard
.woocommerce-MyAccount-content
.woocommerce-info {
    position: relative;

    display: flex !important;
    align-items: center !important;

    min-height: 76px;

    margin: 0 0 24px !important;
    padding: 18px 220px 18px 58px !important;

    background: #ffffff !important;

    border: 1px solid var(--sg-border) !important;
    border-left: 4px solid var(--sg-green) !important;
    border-radius: 12px !important;

    box-shadow:
        0 6px 20px rgba(0, 27, 73, .045);

    color: var(--sg-muted) !important;

    font-size: 13px;
    line-height: 1.55;
}


/* ícone do aviso */

body.sg-account-dashboard
.woocommerce-MyAccount-content
.woocommerce-info::before {
    position: absolute !important;

    top: 50% !important;
    left: 20px !important;

    transform: translateY(-50%) !important;

    margin: 0 !important;

    color: var(--sg-green-dark) !important;
}


/* botão REENVIAR */

body.sg-account-dashboard
.woocommerce-MyAccount-content
.woocommerce-info
a.button.wc-forward {
    position: absolute;

    top: 50%;
    right: 18px;

    transform: translateY(-50%);

    min-width: 165px;
    min-height: 42px;

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

    margin: 0 !important;
    padding: 10px 18px !important;

    background: var(--sg-green) !important;

    border: 0 !important;
    border-radius: 7px !important;

    color: #ffffff !important;

    font-size: 12px !important;
    font-weight: 800 !important;

    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;
}


body.sg-account-dashboard
.woocommerce-MyAccount-content
.woocommerce-info
a.button.wc-forward:hover {
    background: var(--sg-green-dark) !important;
}


/* ==========================================================
   MINHA CONTA — LOGIN E CADASTRO
   SOMENTE USUÁRIO DESLOGADO
   ========================================================== */


/* ----------------------------------------------------------
   ÁREA PRINCIPAL
   ---------------------------------------------------------- */

body.woocommerce-account:not(.logged-in) #content {
    background: #f6f8fb;
}


body.woocommerce-account:not(.logged-in)
#content
> .ast-container {

    width: 100%;
    max-width: 1240px;

    margin: 0 auto;
    padding: 45px 24px 70px;
}


/* remove larguras antigas do tema */

body.woocommerce-account:not(.logged-in)
#content .woocommerce {

    width: 100%;
    max-width: 1120px;

    margin: 0 auto;
}


/* ==========================================================
   DUAS COLUNAS
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login {

    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    width: 100%;
}


body.woocommerce-account:not(.logged-in)
#customer_login
> .u-column1,

body.woocommerce-account:not(.logged-in)
#customer_login
> .u-column2 {

    float: none !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 30px !important;

    background: #ffffff;

    border: 1px solid #dce5ef;
    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(0, 27, 73, .05);
}


/* detalhe verde no login */

body.woocommerce-account:not(.logged-in)
#customer_login
> .u-column1 {

    border-top: 4px solid #67b928;
}


/* detalhe azul no cadastro */

body.woocommerce-account:not(.logged-in)
#customer_login
> .u-column2 {

    border-top: 4px solid #001b49;
}


/* ==========================================================
   TÍTULOS
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login h2 {

    margin: 0 0 8px !important;

    color: #001b49;

    font-size: 25px;
    line-height: 1.25;

    font-weight: 800;
}


body.woocommerce-account:not(.logged-in)
#customer_login h2::after {

    content: '';

    display: block;

    width: 42px;
    height: 3px;

    margin-top: 12px;

    background: #67b928;

    border-radius: 10px;
}


/* ==========================================================
   FORMULÁRIOS
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login form {

    margin: 22px 0 0 !important;
    padding: 0 !important;

    border: 0 !important;

    background: transparent !important;
    box-shadow: none !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-form-row,

body.woocommerce-account:not(.logged-in)
#customer_login
.form-row {

    margin: 0 0 17px !important;
    padding: 0 !important;
}


/* ==========================================================
   LABELS
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login label {

    display: block;

    margin-bottom: 7px;

    color: #001b49;

    font-size: 13px;
    font-weight: 700;
}


body.woocommerce-account:not(.logged-in)
#customer_login .required {

    color: #d82c2c;
}


/* ==========================================================
   INPUTS
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login
input[type="text"],

body.woocommerce-account:not(.logged-in)
#customer_login
input[type="email"],

body.woocommerce-account:not(.logged-in)
#customer_login
input[type="password"] {

    width: 100%;

    min-height: 48px;

    padding: 10px 14px;

    background: #ffffff;

    border: 1px solid #dce5ef;
    border-radius: 8px;

    color: #071b35;

    font-size: 14px;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


body.woocommerce-account:not(.logged-in)
#customer_login
input[type="text"]:focus,

body.woocommerce-account:not(.logged-in)
#customer_login
input[type="email"]:focus,

body.woocommerce-account:not(.logged-in)
#customer_login
input[type="password"]:focus {

    outline: none;

    border-color: #67b928;

    box-shadow:
        0 0 0 3px rgba(103, 185, 40, .10);
}


/* ==========================================================
   LEMBRAR-ME
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-form-login__rememberme {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin: 2px 0 16px !important;

    color: #667489;

    font-size: 12px;
    font-weight: 500;
}


body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-form-login__rememberme input {

    width: 15px;
    height: 15px;

    margin: 0;
}


/* ==========================================================
   BOTÕES
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login
button.button,

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-button {

    min-height: 44px;

    padding: 10px 24px !important;

    background: #67b928 !important;

    border: 0 !important;
    border-radius: 7px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 800 !important;

    text-transform: none !important;

    box-shadow: none !important;

    transition:
        background .2s ease,
        transform .2s ease;
}


body.woocommerce-account:not(.logged-in)
#customer_login
button.button:hover,

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-button:hover {

    background: #44920f !important;

    transform: translateY(-1px);
}


/* ==========================================================
   PERDEU A SENHA?
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-LostPassword {

    margin: 13px 0 0 !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-LostPassword a {

    color: #001b49;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}


body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-LostPassword a:hover {

    color: #44920f;
}


/* ==========================================================
   TEXTO DO CADASTRO
   ========================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login
.u-column2 form > p:not(.form-row) {

    margin: 3px 0 20px;

    color: #667489;

    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================================
   LOGIN GOOGLE / SOCIAL LOGIN
   ========================================================== */

/*
 * Não alteramos a estrutura do plugin.
 * Apenas damos espaço para o botão ficar separado
 * do formulário tradicional.
 */

body.woocommerce-account:not(.logged-in)
#customer_login
.u-column1 form > div:first-child {

    margin-bottom: 18px;
}


/* ==========================================================
   MENSAGENS DO WOOCOMMERCE
   ========================================================== */

body.woocommerce-account:not(.logged-in)
.woocommerce-message,

body.woocommerce-account:not(.logged-in)
.woocommerce-info,

body.woocommerce-account:not(.logged-in)
.woocommerce-error {

    margin: 0 auto 24px !important;
    padding: 18px 22px 18px 55px !important;

    background: #ffffff;

    border: 1px solid #dce5ef;
    border-left: 4px solid #67b928;

    border-radius: 10px;

    color: #667489;

    box-shadow:
        0 5px 18px rgba(0, 27, 73, .04);
}


/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 820px) {

    body.woocommerce-account:not(.logged-in)
    #content
    > .ast-container {

        padding: 30px 16px 55px;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login
    > .u-column1,

    body.woocommerce-account:not(.logged-in)
    #customer_login
    > .u-column2 {

        padding: 24px !important;
    }

}


@media (max-width: 480px) {

    body.woocommerce-account:not(.logged-in)
    #customer_login h2 {

        font-size: 22px;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login
    button.button,

    body.woocommerce-account:not(.logged-in)
    #customer_login
    .woocommerce-button {

        width: 100%;
    }

}

body.woocommerce-account:not(.logged-in)
#customer_login {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    width: 100%;

    align-items: stretch;
}

/* ==========================================================
   SUPERGRAFENO CORE — AJUSTES FINAIS MIGRADOS
   ========================================================== */

/* Rodapé encostado ao fim da janela em páginas curtas. */
body.sg-my-account #page,
body.woocommerce-account:not(.logged-in) #page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.sg-my-account #content,
body.woocommerce-account:not(.logged-in) #content {
    flex: 1 0 auto;
}

body.sg-my-account footer,
body.sg-my-account .site-footer,
body.woocommerce-account:not(.logged-in) footer,
body.woocommerce-account:not(.logged-in) .site-footer {
    margin-top: auto;
}


/* ==========================================================
   MINHA CONTA — RECUPERAÇÃO DE SENHA
   ========================================================== */

body.woocommerce-lost-password:not(.logged-in) #content .woocommerce {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 32px !important;
    background: #ffffff;
    border: 1px solid #dce5ef !important;
    border-top: 4px solid #67b928 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 25px rgba(0, 27, 73, .05);
    box-sizing: border-box;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword::before {
    content: "Redefinir senha";
    display: block;
    margin: 0 0 8px;
    color: #001b49;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword > p:first-of-type {
    margin: 0 0 25px !important;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
    color: #667489;
    font-size: 14px;
    line-height: 1.6;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword label {
    display: block;
    margin-bottom: 7px;
    color: #001b49;
    font-size: 13px;
    font-weight: 700;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword input[type="text"],
body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    color: #071b35;
    font-size: 14px;
    box-shadow: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword input[type="text"]:focus,
body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword input[type="email"]:focus {
    outline: none;
    border-color: #67b928;
    box-shadow: 0 0 0 3px rgba(103, 185, 40, .10);
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword button.button {
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 24px !important;
    background: #67b928 !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword button.button:hover {
    background: #44920f !important;
}

body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword .clear {
    display: none !important;
}

@media (max-width: 680px) {
    body.woocommerce-lost-password:not(.logged-in) #content .woocommerce {
        max-width: 100%;
    }

    body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword {
        padding: 24px !important;
    }

    body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword::before {
        font-size: 22px;
    }

    body.woocommerce-lost-password:not(.logged-in) form.woocommerce-ResetPassword button.button {
        width: 100%;
    }
}


/* ==========================================================
   MINHA CONTA — E-MAIL DE REDEFINIÇÃO ENVIADO
   ========================================================== */

body.woocommerce-lost-password:not(.logged-in)
#content .woocommerce:has(> .woocommerce-message):not(:has(form)) {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #dce5ef;
    border-top: 4px solid #67b928;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 27, 73, .05);
    box-sizing: border-box;
}

body.woocommerce-lost-password:not(.logged-in)
#content .woocommerce:has(> .woocommerce-message):not(:has(form)) > .woocommerce-message {
    position: relative;
    display: block !important;
    min-height: 0 !important;
    margin: 0 0 20px !important;
    padding: 0 0 20px 38px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #001b49 !important;
    font-size: 18px !important;
    line-height: 1.4;
    font-weight: 800;
}

body.woocommerce-lost-password:not(.logged-in)
#content .woocommerce:has(> .woocommerce-message):not(:has(form)) > .woocommerce-message::before {
    position: absolute !important;
    top: 1px !important;
    left: 0 !important;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    background: #f3f9ed;
    border-radius: 50%;
    color: #44920f !important;
    font-size: 14px;
}

body.woocommerce-lost-password:not(.logged-in)
#content .woocommerce:has(> .woocommerce-message):not(:has(form)) > p {
    margin: 0 !important;
    color: #667489;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 680px) {
    body.woocommerce-lost-password:not(.logged-in)
    #content .woocommerce:has(> .woocommerce-message):not(:has(form)) {
        max-width: 100%;
        padding: 24px;
    }
}


/* ==========================================================
   VIEW ORDER — DETALHES DO PEDIDO
   ========================================================== */

body.sg-account-view-order .woocommerce-MyAccount-content {
    min-width: 0;
}

body.sg-account-view-order .woocommerce-MyAccount-content > p:first-child {
    margin: 0 0 20px !important;
    padding: 17px 20px;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef);
    border-left: 4px solid var(--sg-green, #67b928);
    border-radius: 10px;
    color: var(--sg-muted, #667489);
    font-size: 13px;
    line-height: 1.55;
    box-shadow: 0 5px 18px rgba(0, 27, 73, .035);
}

body.sg-account-view-order .woocommerce-MyAccount-content > p:first-child mark {
    padding: 2px 5px;
    background: var(--sg-green-soft, #f3f9ed);
    border-radius: 4px;
    color: var(--sg-green-dark, #44920f);
    font-weight: 700;
}

body.sg-account-view-order .woocommerce-MyAccount-content h2 {
    margin: 28px 0 14px !important;
    color: var(--sg-navy, #001b49);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

body.sg-account-view-order .woocommerce-MyAccount-content ol {
    margin: 0 0 24px !important;
    padding: 20px 20px 20px 42px !important;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef);
    border-radius: 12px;
    color: var(--sg-text, #071b35);
    box-shadow: 0 5px 18px rgba(0, 27, 73, .035);
}

body.sg-account-view-order .woocommerce-MyAccount-content ol li {
    margin-bottom: 10px;
    padding-left: 4px;
    line-height: 1.55;
}

body.sg-account-view-order .woocommerce-MyAccount-content ol li:last-child {
    margin-bottom: 0;
}

body.sg-account-view-order .woocommerce-order-details {
    margin: 0 !important;
}

body.sg-account-view-order .woocommerce-order-details .woocommerce-order-details__title {
    margin-top: 28px !important;
}

body.sg-account-view-order table.woocommerce-table--order-details {
    width: 100%;
    margin: 0 !important;
    border: 1px solid var(--sg-border, #dce5ef) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 27, 73, .04);
}

body.sg-account-view-order table.woocommerce-table--order-details thead th {
    padding: 14px 16px !important;
    background: #f7f9fc;
    border: 0 !important;
    border-bottom: 1px solid var(--sg-border, #dce5ef) !important;
    color: var(--sg-muted, #667489);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

body.sg-account-view-order table.woocommerce-table--order-details tbody td,
body.sg-account-view-order table.woocommerce-table--order-details tfoot th,
body.sg-account-view-order table.woocommerce-table--order-details tfoot td {
    padding: 13px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    color: var(--sg-text, #071b35);
    font-size: 13px;
    line-height: 1.45;
}

body.sg-account-view-order table.woocommerce-table--order-details tfoot tr:last-child th,
body.sg-account-view-order table.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0 !important;
}

body.sg-account-view-order table.woocommerce-table--order-details a {
    color: var(--sg-navy, #001b49);
    font-weight: 700;
    text-decoration: none !important;
}

body.sg-account-view-order table.woocommerce-table--order-details a:hover {
    color: var(--sg-green-dark, #44920f);
}

body.sg-account-view-order table.woocommerce-table--order-details tfoot tr:last-child {
    background: var(--sg-green-soft, #f3f9ed);
}

body.sg-account-view-order table.woocommerce-table--order-details tfoot tr:last-child th,
body.sg-account-view-order table.woocommerce-table--order-details tfoot tr:last-child td {
    color: var(--sg-navy, #001b49);
    font-weight: 800;
}

body.sg-account-view-order .woocommerce-customer-details {
    margin-top: 24px !important;
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 !important;
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-columns::before,
body.sg-account-view-order .woocommerce-customer-details .woocommerce-columns::after {
    content: none !important;
    display: none !important;
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-column {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 27, 73, .04);
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-column--billing-address {
    border-top: 3px solid var(--sg-green, #67b928);
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-column--shipping-address {
    border-top: 3px solid var(--sg-navy, #001b49);
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-column-title {
    margin: 0 !important;
    padding: 18px 20px !important;
    background: #fbfcfd;
    border-bottom: 1px solid var(--sg-border, #dce5ef);
    color: var(--sg-navy, #001b49);
    font-size: 19px;
    font-weight: 800;
}

body.sg-account-view-order .woocommerce-customer-details address {
    margin: 0 !important;
    padding: 20px !important;
    border: 0 !important;
    color: var(--sg-text, #071b35);
    font-size: 13px;
    font-style: normal;
    line-height: 1.65;
}

body.sg-account-view-order .woocommerce-customer-details .woocommerce-customer-details--phone,
body.sg-account-view-order .woocommerce-customer-details .woocommerce-customer-details--email {
    margin: 8px 0 0 !important;
    color: var(--sg-muted, #667489);
    font-size: 12px;
}

body.sg-account-view-order .woocommerce-MyAccount-content > p:not(:first-child) {
    color: var(--sg-muted, #667489);
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    body.sg-account-view-order .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: 1fr;
    }

    body.sg-account-view-order table.woocommerce-table--order-details {
        font-size: 12px;
    }
}


/* ==========================================================
   VIEW ORDER — RASTREAMENTO DOS CORREIOS
   ========================================================== */

body.sg-account-view-order #wc-correios-tracking {
    margin: 28px 0 0 !important;
    padding: 0 !important;
    color: var(--sg-navy, #001b49);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

body.sg-account-view-order .wc-correios-tracking-description {
    margin: 10px 0 16px !important;
    color: var(--sg-muted, #667489);
    font-size: 13px;
    line-height: 1.55;
}

body.sg-account-view-order .wc-correios-tracking-description strong {
    display: inline-flex;
    margin-left: 4px;
    padding: 4px 9px;
    background: var(--sg-green-soft, #f3f9ed);
    border: 1px solid #cbe3b7;
    border-radius: 6px;
    color: var(--sg-green-dark, #44920f);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
}

body.sg-account-view-order table.wc-correios-tracking-table {
    width: 100% !important;
    margin: 0 0 24px !important;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 27, 73, .04);
}

body.sg-account-view-order table.wc-correios-tracking-table thead th {
    padding: 13px 15px !important;
    background: #f7f9fc;
    border: 0 !important;
    border-bottom: 1px solid var(--sg-border, #dce5ef) !important;
    color: var(--sg-muted, #667489);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

body.sg-account-view-order table.wc-correios-tracking-table tbody td {
    padding: 14px 15px !important;
    background: #ffffff;
    border: 0 !important;
    border-bottom: 1px solid #edf1f5 !important;
    color: var(--sg-text, #071b35);
    font-size: 12px;
    line-height: 1.5;
    vertical-align: top;
}

body.sg-account-view-order table.wc-correios-tracking-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.sg-account-view-order table.wc-correios-tracking-table tbody tr:first-child td {
    background: var(--sg-green-soft, #f3f9ed);
}

body.sg-account-view-order table.wc-correios-tracking-table tbody tr:first-child td:last-child {
    color: var(--sg-green-dark, #44920f);
    font-weight: 800;
}

body.sg-account-view-order table.wc-correios-tracking-table th:nth-child(1),
body.sg-account-view-order table.wc-correios-tracking-table td:nth-child(1) { width: 24%; }
body.sg-account-view-order table.wc-correios-tracking-table th:nth-child(2),
body.sg-account-view-order table.wc-correios-tracking-table td:nth-child(2) { width: 31%; }
body.sg-account-view-order table.wc-correios-tracking-table th:nth-child(3),
body.sg-account-view-order table.wc-correios-tracking-table td:nth-child(3) { width: 45%; }

body.sg-account-view-order table.wc-correios-tracking-table td em {
    display: block;
    margin-top: 3px;
    color: var(--sg-muted, #667489);
    font-size: 11px;
    line-height: 1.45;
}

body.sg-account-view-order table.wc-correios-tracking-table tbody tr:not(:first-child):hover td {
    background: #fafbfd;
}

@media (max-width: 760px) {
    body.sg-account-view-order #wc-correios-tracking { font-size: 19px; }
    body.sg-account-view-order .wc-correios-tracking-description strong { margin-top: 5px; margin-left: 0; }
    body.sg-account-view-order table.wc-correios-tracking-table thead { display: none; }
    body.sg-account-view-order table.wc-correios-tracking-table,
    body.sg-account-view-order table.wc-correios-tracking-table tbody,
    body.sg-account-view-order table.wc-correios-tracking-table tr,
    body.sg-account-view-order table.wc-correios-tracking-table td {
        display: block;
        width: 100% !important;
    }
    body.sg-account-view-order table.wc-correios-tracking-table tr {
        padding: 13px 15px;
        border-bottom: 1px solid var(--sg-border, #dce5ef);
    }
    body.sg-account-view-order table.wc-correios-tracking-table tr:last-child { border-bottom: 0; }
    body.sg-account-view-order table.wc-correios-tracking-table td {
        position: relative;
        padding: 5px 0 5px 92px !important;
        border: 0 !important;
    }
    body.sg-account-view-order table.wc-correios-tracking-table td::before {
        position: absolute;
        top: 5px;
        left: 0;
        width: 78px;
        color: var(--sg-muted, #667489);
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
    body.sg-account-view-order table.wc-correios-tracking-table td:nth-child(1)::before { content: "Data"; }
    body.sg-account-view-order table.wc-correios-tracking-table td:nth-child(2)::before { content: "Local"; }
    body.sg-account-view-order table.wc-correios-tracking-table td:nth-child(3)::before { content: "Situação"; }
}


/* ==========================================================
   STATUS DO PEDIDO — RASTREADOR VISUAL
   ========================================================== */

.woocommerce-MyAccount-content .sg-order-progress {
    width: 100%;
    margin: 0 0 26px !important;
    padding: 24px 26px 26px !important;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef);
    border-left: 4px solid var(--sg-green, #67b928);
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0, 27, 73, .045);
    box-sizing: border-box;
}

.woocommerce-MyAccount-content .sg-order-progress-heading { margin: 0; }

.woocommerce-MyAccount-content .sg-order-progress-eyebrow {
    display: block;
    margin: 0 0 7px;
    color: var(--sg-green-dark, #44920f);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.woocommerce-MyAccount-content .sg-order-progress-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-MyAccount-content .sg-order-progress-title-row h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--sg-navy, #001b49);
    font-size: 22px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.woocommerce-MyAccount-content .sg-order-progress-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 11px;
    background: var(--sg-green-soft, #f3f9ed);
    border: 1px solid #cbe3b7;
    border-radius: 999px;
    color: var(--sg-green-dark, #44920f);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
}

.woocommerce-MyAccount-content .sg-order-progress-heading > p {
    margin: 8px 0 0 !important;
    color: var(--sg-muted, #667489);
    font-size: 13px;
    line-height: 1.55;
}

.woocommerce-MyAccount-content .sg-order-progress-steps {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    list-style: none;
}

.woocommerce-MyAccount-content .sg-order-progress-step {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;
}

.woocommerce-MyAccount-content .sg-order-progress-step:not(:first-child)::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 50%;
    left: -50%;
    height: 2px;
    background: #dce5ef;
}

.woocommerce-MyAccount-content .sg-order-progress-step.is-done::before,
.woocommerce-MyAccount-content .sg-order-progress-step.is-current::before {
    background: var(--sg-green, #67b928);
}

.woocommerce-MyAccount-content .sg-order-progress-dot {
    position: relative;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    margin: 0 !important;
    background: #ffffff;
    border: 2px solid #d4dee8;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    box-sizing: border-box;
}

.woocommerce-MyAccount-content .sg-order-progress-step.is-done .sg-order-progress-dot {
    background: var(--sg-green, #67b928);
    border-color: var(--sg-green, #67b928);
}

.woocommerce-MyAccount-content .sg-order-progress-step.is-current .sg-order-progress-dot {
    background: var(--sg-green, #67b928);
    border-color: var(--sg-green, #67b928);
    box-shadow: 0 0 0 5px rgba(103, 185, 40, .14);
}

.woocommerce-MyAccount-content .sg-order-progress-step.is-current .sg-order-progress-dot::after {
    content: "";
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
}

.woocommerce-MyAccount-content .sg-order-progress-label {
    display: block;
    margin: 11px 0 0 !important;
    color: var(--sg-muted, #667489);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
}

.woocommerce-MyAccount-content .sg-order-progress-step.is-done .sg-order-progress-label {
    color: var(--sg-navy, #001b49);
    font-weight: 700;
}

.woocommerce-MyAccount-content .sg-order-progress-step.is-current .sg-order-progress-label {
    color: var(--sg-green-dark, #44920f);
    font-weight: 800;
}

.woocommerce-MyAccount-content .sg-order-progress.sg-order-progress-terminal { border-left-color: #d9534f; }
.woocommerce-MyAccount-content .sg-order-progress-terminal .sg-order-progress-eyebrow { color: #b62f2a; }
.woocommerce-MyAccount-content .sg-order-progress-terminal .sg-order-progress-badge {
    background: #fff2f1;
    border-color: #efc1bd;
    color: #b62f2a;
}

@media (max-width: 760px) {
    .woocommerce-MyAccount-content .sg-order-progress { padding: 21px 19px 20px !important; }
    .woocommerce-MyAccount-content .sg-order-progress-title-row h2 { font-size: 20px !important; }
    .woocommerce-MyAccount-content .sg-order-progress-steps {
        display: flex !important;
        flex-direction: column;
        margin-top: 24px !important;
    }
    .woocommerce-MyAccount-content .sg-order-progress-step {
        min-height: 52px;
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        text-align: left;
    }
    .woocommerce-MyAccount-content .sg-order-progress-step:not(:first-child)::before {
        top: -26px;
        left: 12px;
        right: auto;
        width: 2px;
        height: 52px;
    }
    .woocommerce-MyAccount-content .sg-order-progress-label {
        margin-top: 5px !important;
        font-size: 12px;
    }
}


/* ==========================================================
   VIEW ORDER — OCULTA ATUALIZAÇÕES REDUNDANTES
   ========================================================== */

body.sg-view-order-status-pending .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-pending .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-processing .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-processing .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-sg-await-ship .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-sg-await-ship .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-sg-tracking .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-sg-tracking .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-sg-await-deliv .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-sg-await-deliv .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-completed .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-completed .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-cancelled .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-cancelled .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates,
body.sg-view-order-status-refunded .woocommerce-MyAccount-content h2:has(+ ol.woocommerce-OrderUpdates),
body.sg-view-order-status-refunded .woocommerce-MyAccount-content ol.woocommerce-OrderUpdates {
    display: none !important;
}


/* ==========================================================
   VIEW ORDER — PAGAMENTO PIX
   ========================================================== */

.woocommerce-MyAccount-content .mp-pix-image-container.sg-pix-ready {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 18px;
    width: 100%;
    margin: 24px 0 28px !important;
    padding: 26px !important;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef);
    border-left: 4px solid var(--sg-green, #67b928);
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(0, 27, 73, .045);
    box-sizing: border-box;
}

.woocommerce-MyAccount-content .sg-pix-header {
    grid-column: 1 / -1;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f5;
}

.woocommerce-MyAccount-content .sg-pix-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--sg-green-dark, #44920f);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.woocommerce-MyAccount-content .sg-pix-header h2 {
    margin: 0 !important;
    color: var(--sg-navy, #001b49);
    font-size: 22px !important;
    line-height: 1.25;
    font-weight: 800;
}

.woocommerce-MyAccount-content .sg-pix-header p {
    max-width: 670px;
    margin: 8px 0 0 !important;
    color: var(--sg-muted, #667489);
    font-size: 13px;
    line-height: 1.55;
}

.woocommerce-MyAccount-content .sg-pix-qr-wrap {
    grid-column: 1;
    grid-row: 2 / span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--sg-border, #dce5ef);
    border-radius: 12px;
    box-sizing: border-box;
}

.woocommerce-MyAccount-content .sg-pix-qr-wrap img.mp-pix-image {
    display: block;
    width: 188px !important;
    height: 188px !important;
    max-width: 100%;
    margin: 0 !important;
    object-fit: contain;
}

.woocommerce-MyAccount-content .sg-pix-expiration {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 !important;
    padding: 6px 10px;
    background: #fff9e8;
    border: 1px solid #efd997;
    border-radius: 999px;
    color: #85630a;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.woocommerce-MyAccount-content .sg-pix-code-section {
    grid-column: 2;
    min-width: 0;
}

.woocommerce-MyAccount-content .sg-pix-code-label {
    display: block;
    margin: 0 0 7px;
    color: var(--sg-navy, #001b49);
    font-size: 12px;
    font-weight: 800;
}

.woocommerce-MyAccount-content .mp-pix-image-qr-code {
    display: block;
    width: 100%;
    max-height: 84px;
    margin: 0 !important;
    padding: 12px 14px !important;
    overflow-y: auto;
    overflow-wrap: anywhere;
    word-break: break-all;
    background: #f7f9fc;
    border: 1px solid var(--sg-border, #dce5ef);
    border-radius: 8px;
    color: #334155;
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px !important;
    line-height: 1.55;
    box-sizing: border-box;
}

.woocommerce-MyAccount-content .sg-pix-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 12px 0 0 !important;
    padding: 9px 18px !important;
    background: #ffffff !important;
    border: 1px solid var(--sg-green, #67b928) !important;
    border-radius: 7px !important;
    color: var(--sg-green-dark, #44920f) !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.woocommerce-MyAccount-content .sg-pix-copy-button:hover {
    background: var(--sg-green-soft, #f3f9ed) !important;
}

.woocommerce-MyAccount-content .sg-pix-copy-button.is-copied {
    background: var(--sg-green, #67b928) !important;
    color: #ffffff !important;
}

.woocommerce-MyAccount-content .sg-pix-actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.woocommerce-MyAccount-content .sg-pix-actions a,
.woocommerce-MyAccount-content .sg-pix-actions button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 22px !important;
    background: var(--sg-green, #67b928) !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.woocommerce-MyAccount-content .sg-pix-actions a:hover,
.woocommerce-MyAccount-content .sg-pix-actions button:hover {
    background: var(--sg-green-dark, #44920f) !important;
}

@media (max-width: 760px) {
    .woocommerce-MyAccount-content .mp-pix-image-container.sg-pix-ready {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 21px 18px !important;
    }
    .woocommerce-MyAccount-content .sg-pix-header,
    .woocommerce-MyAccount-content .sg-pix-qr-wrap,
    .woocommerce-MyAccount-content .sg-pix-code-section {
        width: 100%;
    }
    .woocommerce-MyAccount-content .sg-pix-qr-wrap { padding: 18px; }
    .woocommerce-MyAccount-content .sg-pix-qr-wrap img.mp-pix-image {
        width: 210px !important;
        height: 210px !important;
    }
    .woocommerce-MyAccount-content .sg-pix-expiration { align-self: center; }
    .woocommerce-MyAccount-content .sg-pix-copy-button,
    .woocommerce-MyAccount-content .sg-pix-actions,
    .woocommerce-MyAccount-content .sg-pix-actions a,
    .woocommerce-MyAccount-content .sg-pix-actions button {
        width: 100% !important;
    }
}
