/* ======== Estrutura geral ======== */
.site-page__entry {
    padding: 6rem 0;
    background: #fffaf8;
}

.site-page__header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.site-page__title {
    font-family: "Syne", sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #3f1418;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ======== Container principal ======== */
.woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Remove ícones antigos ou caracteres fantasmas */
.woocommerce-MyAccount-navigation-link a::before,
.woocommerce-MyAccount-content p::before,
.woocommerce-orders-table__cell-order-actions::before,
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
    content: none !important;
    display: none !important;
}


/* ======== Navegação lateral ======== */
.woocommerce-MyAccount-navigation {
    flex: 0 0 260px;
    background: rgba(193, 47, 58, 0.08);
    border-radius: 14px;
    padding: 1.5rem;
    height: fit-content;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: #7a1422;
    transition: all 0.25s ease;
}

.woocommerce-MyAccount-navigation a:hover {
    background: rgba(193, 47, 58, 0.15);
    color: #53111c;
}

.woocommerce-MyAccount-navigation .is-active a {
    background: #7a1422;
    color: #fff;
}

/* ======== Conteúdo da conta ======== */
.woocommerce-MyAccount-content {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3f1418;
}

/* Links dentro do conteúdo */
.woocommerce-MyAccount-content a {
    color: #7a1422;
    text-decoration: underline;
}
.woocommerce-MyAccount-content a:hover {
    color: #53111c;
}

/* ======== Mensagens e alertas ======== */
.woocommerce-notices-wrapper {
    margin-bottom: 1.5rem;
}
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: none;
}
.woocommerce-message {
    background: #e7f5ec;
    color: #3a7b52;
}
.woocommerce-error {
    background: #ffe8e5;
    color: #b42b2b;
}
.woocommerce-info {
    background: #f2f2f2;
    color: #555;
}

/* ======== Responsivo ======== */
@media (max-width: 991px) {
    .woocommerce {
        flex-direction: column;
    }
    .woocommerce-MyAccount-navigation {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .woocommerce-MyAccount-navigation a {
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
    }
}

/* ======== Layout principal ======== */
/* ===============================
   Página "Minha Conta" (não logado)
   Escopada dentro do body.woocommerce-account
   =============================== */
body.woocommerce-account {
    background: #fffaf8;
    padding: 4rem 0;
}

/* ----- Título principal ----- */
body.woocommerce-account .site-page__title {
    font-family: "Syne", sans-serif;
    font-size: clamp(2.2rem, 5vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    color: #3f1418;
    margin-bottom: 1.8rem; /* antes estava 3rem */
}

/* ----- Mensagens (erro, aviso, sucesso) ----- */
body.woocommerce-account .woocommerce-notices-wrapper {
    max-width: 720px;
    margin: 0 auto 1.2rem auto; /* antes estava ~2.5rem */
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem; /* reduzido de 1.5rem */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body.woocommerce-account .woocommerce-error {
    background: #ffe8e5;
    color: #a32020;
}
body.woocommerce-account .woocommerce-message {
    background: #e7f5ec;
    color: #2f6946;
}
body.woocommerce-account .woocommerce-info {
    background: #f7f7f7;
    color: #555;
}

/* ----- Estrutura geral (colunas login / cadastro) ----- */
body.woocommerce-account #customer_login {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 0.5rem auto;
    max-width: 1100px;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    flex: 1 1 420px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* ----- Títulos das colunas ----- */
body.woocommerce-account #customer_login h2 {
    font-family: "Syne", sans-serif;
    font-size: 1.6rem;
    color: #3f1418;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

/* ----- Campos de formulário ----- */
body.woocommerce-account .woocommerce form .form-row,
body.woocommerce-account .woocommerce form .woocommerce-form-row {
    margin-bottom: 1.2rem;
}

body.woocommerce-account .woocommerce form label {
    font-weight: 500;
    color: #3f1418;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

body.woocommerce-account .woocommerce form .input-text {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(83, 17, 28, 0.25);
    border-radius: 8px;
    font-size: 1rem;
    color: #3f1418;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.woocommerce-account .woocommerce form .input-text:focus {
    border-color: #7a1422;
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 20, 34, 0.15);
}

/* ----- Botões ----- */
body.woocommerce-account .woocommerce button.button {
    background: #7a1422;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.8rem;
    cursor: pointer;
    transition: background 0.25s ease;
}

body.woocommerce-account .woocommerce button.button:hover {
    background: #53111c;
}

/* ----- Checkbox e links ----- */
body.woocommerce-account .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #3f1418;
}

body.woocommerce-account .woocommerce a {
    color: #7a1422;
    text-decoration: underline;
}
body.woocommerce-account .woocommerce a:hover {
    color: #53111c;
}

/* ----- Textos auxiliares ----- */
body.woocommerce-account .woocommerce p {
    font-size: 1rem;
    color: rgba(63, 20, 24, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
}

body.woocommerce-account .woocommerce-privacy-policy-text p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ----- Responsivo ----- */
@media (max-width: 768px) {
    body.woocommerce-account #customer_login {
        flex-direction: column;
        gap: 2rem;
    }
    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2 {
        width: 100%;
        padding: 2rem;
    }
}

/* Alinhamento lado a lado para redefinição de senha WooCommerce */
body.woocommerce-lost-password .woocommerce{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
}
body.woocommerce-lost-password .woocommerce:before{
    display: none !important;
}
.woocommerce-ResetPassword{
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 20px;
    background-color: #fff;
    border: 2px solid #fafafa;
}
.woocommerce-ResetPassword .form-row-first,
.woocommerce-ResetPassword .form-row-last {
    width: 100% !important;
    max-width: 100% !important;
    float: none;
}
.woocommerce-ResetPassword .form-row-first {
    margin-right:0 !important;
}
.woocommerce-ResetPassword .form-row-last {
    margin-right: 0 !important;
}
.woocommerce-ResetPassword .form-row {
    margin-bottom: 20px;
}
/* Corrige botão */
.woocommerce-ResetPassword .form-row button {
    margin-top: 10px;
}
.woocommerce-ResetPassword .woocommerce-Button{
    margin: 0 auto;
}


