/*
 Theme Name: Virtual Fans
 Theme URI: https://virtualfans.com.br/
 Description: Tema personalizado Virtual Fans
 Author: Virtual Fans
 Author URI: https://virtualfans.com.br/
 Version: 1.0
 Tested up to: 6.6
 Requires at least: 5.0
 Requires PHP: 7.0
 Text Domain: virtualfans
*/

:root {
    --vf-primary: #D00100;
    --vf-bg-dark: #050505;
    --vf-bg-darker: #111;
    --vf-text-light: #fff;
    --vf-text-dark: #111;
    --vf-font-primary: var(--theme-font-h1_font-family, 'Inter', sans-serif);
}

/* =Theme customization starts here
------------------------------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 {
    hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}



.wpforms-field-container input,
.wpforms-field-container textarea {
    color: #000 !important;
    background: var(--vf-text-light) !important;
}

select#wpforms-67370-field_4 {
    color: #000 !important;
    background-color: var(--vf-text-light) !important;
}

select#wpforms-67370-field_4 option {
    color: #000 !important;
}

.woocommerce .checkout #order_review .payment_methods li label,
.woocommerce-page .checkout #order_review .payment_methods li label {
    padding: 9px;
}

.woocommerce .checkout #order_review .payment_methods li label:hover,
.woocommerce-page .checkout #order_review .payment_methods li label:hover,
.woocommerce .checkout #order_review .payment_methods li label:active,
.woocommerce-page .checkout #order_review .payment_methods li label:active .woocommerce .checkout #order_review .payment_methods li label:focus,
.woocommerce-page .checkout #order_review .payment_methods li label:focus {
    background: #D00100 !important;
    cursor: pointer;
}

/* ==========================================================================
   Estilos Premium para a Página "Minha Conta" (Login/Cadastro)
   ========================================================================== */

/* Remove pseudo-elementos nativos do Woo que quebram o Flexbox */
.woocommerce-account .u-columns.col2-set::before,
.woocommerce-account .u-columns.col2-set::after {
    display: none !important;
}

/* Container das duas colunas */
.woocommerce-account .u-columns.col2-set {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    margin: 60px auto;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .woocommerce-account .u-columns.col2-set {
        flex-wrap: wrap;
        gap: 40px;
    }
}

/* Transformando as colunas em "Cards" (Cartões Premium Sharp) */
.woocommerce-account .u-columns.col2-set .u-column1,
.woocommerce-account .u-columns.col2-set .u-column2 {
    flex: 1 1 50%;
    min-width: 320px;
    background: var(--vf-text-light);
    padding: 50px 40px;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Títulos "Entrar" e "Cadastre-se" */
.woocommerce-account .u-columns.col2-set h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 35px;
    text-align: center;
    color: var(--vf-bg-darker);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Remove bordas nativas dos forms do Woo */
.woocommerce-account form.login,
.woocommerce-account form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0;
}

/* Organização de Nome e Sobrenome lado a lado */
.woocommerce-account .form-row-first {
    width: 48%;
    float: left;
}

.woocommerce-account .form-row-last {
    width: 48%;
    float: right;
}

.woocommerce-account .form-row-wide {
    clear: both;
    width: 100%;
}

.woocommerce-account .clear {
    clear: both;
    display: block;
}

/* Estilo dos Inputs - Clean Design */
.woocommerce-account input.input-text {
    background: var(--vf-text-light) !important;
    border: 1px solid #ddd !important;
    border-bottom: 2px solid #ddd !important;
    padding: 14px 15px !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    color: var(--vf-bg-darker) !important;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.woocommerce-account input.input-text:focus {
    border-color: #eee !important;
    border-bottom: 2px solid #CB0016 !important;
    background: #fafafa !important;
    box-shadow: none !important;
    outline: none;
}

/* Estilo das Labels - Tipografia Moderna */
.woocommerce-account label {
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-account label .required {
    color: #CB0016;
}

/* Checkbox Lembre-me */
.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

/* Botões Nativos do WooCommerce */
.woocommerce-account .woocommerce-Button.button {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 900;
    border-radius: 0;
    margin-top: 10px;
    background: var(--vf-bg-darker) !important;
    color: var(--vf-text-light) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.woocommerce-account .woocommerce-Button.button:hover {
    background: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Prompt para Cadastrar (Visível Apenas no Mobile) */
.woocommerce-account .mobile-register-prompt {
    display: none;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.woocommerce-account .mobile-register-prompt p {
    margin-bottom: 5px;
    color: #666;
    font-size: 14px;
}

.woocommerce-account .mobile-register-prompt a {
    font-weight: 900;
    color: var(--vf-bg-darker);
    text-decoration: underline;
    font-size: 15px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .woocommerce-account .mobile-register-prompt {
        display: block !important;
    }
}

/* Divisor Visual (OU) para o Google */
.woocommerce-account .sgl-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.woocommerce-account .sgl-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.woocommerce-account .sgl-divider span {
    background: var(--vf-text-light);
    padding: 0 15px;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

/* Botões do Google */
.woocommerce-account .btn-google-login {
    width: 100% !important;
    justify-content: center;
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 0 !important;
    background: var(--vf-text-light) !important;
    color: var(--vf-bg-darker) !important;
    border: 2px solid var(--vf-bg-darker) !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.woocommerce-account .btn-google-login:hover {
    background: #f9f9f9 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

/* Centraliza o link "Perdeu sua senha?" */
.woocommerce-account .lost_password {
    text-align: center;
    margin-top: 25px;
}

.woocommerce-account .lost_password a {
    color: var(--vf-bg-darker);
    text-decoration: underline;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.woocommerce-account .lost_password a:hover {
    color: #CB0016;
}

/* ==========================================================================
   Unified UI Header (Virtual Fans)
   ========================================================================== */
/* Esconde partes nativas do tema pai que podem sobrepor ou ocupar espaco */
#masthead,
.site-header,
.top_panel_title,
.top_panel {
    display: none !important;
}

.vf-ui-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 9999999 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    font-family: var(--vf-font-primary);
    transition: background 0.3s ease;
}

.vf-ui-header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vf-ui-logo img {
    height: 35px;
    transition: transform 0.3s;
}

.vf-ui-logo:hover img {
    transform: scale(1.05);
}

.vf-ui-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Logged Out Links */
.vf-ui-nav-link {
    color: var(--vf-text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.vf-ui-nav-link:hover {
    color: var(--vf-primary);
}

.vf-ui-btn-login {
    background: transparent;
    border: 2px solid var(--vf-text-light);
    padding: 8px 24px;
    color: var(--vf-text-light);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.vf-ui-btn-login:hover {
    background: var(--vf-text-light);
    color: var(--vf-bg-darker);
}

/* Logged In Elements */
.vf-ui-points {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vf-ui-user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 0;
}

.vf-ui-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vf-text-light);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vf-ui-user-info svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.vf-ui-user-menu:hover .vf-ui-user-info svg,
.vf-ui-user-menu.active .vf-ui-user-info svg {
    transform: rotate(180deg);
}

.vf-ui-user-name {
    display: inline-block;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.vf-ui-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--vf-text-light);
    object-fit: cover;
}

/* Dropdown */
.vf-ui-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--vf-bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.vf-ui-user-menu:hover .vf-ui-dropdown,
.vf-ui-user-menu.active .vf-ui-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vf-ui-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.vf-ui-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--vf-primary);
    padding-left: 25px;
}

/* Responsive */
@media (max-width: 992px) {
    .vf-ui-nav-link {
        display: none;
    }
}

@media (max-width: 768px) {
    .vf-ui-header {
        height: 60px;
        padding: 0 15px;
    }

    .vf-ui-logo img {
        height: 30px;
    }

    .vf-ui-btn-login {
        white-space: nowrap;
        padding: 6px 16px;
        font-size: 12px;
    }

    .vf-ui-nav {
        gap: 10px;
    }

    .vf-ui-avatar {
        width: 32px;
        height: 32px;
    }

    .vf-ui-user-info {
        font-size: 12px;
        gap: 4px;
    }

    .vf-ui-user-welcome {
        display: none;
    }

    .vf-ui-user-info svg {
        width: 12px;
        height: 12px;
    }

    /* Points widget mobile scaling */
    .vf-points-widget {
        height: 40px !important;
        min-width: 90px !important;
        padding: 6px 8px !important;
    }

    .vf-points-value {
        font-size: 17px !important;
    }

    .vf-points-label {
        font-size: 10px !important;
    }

    .vf-points-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .vf-points-icon img {
        width: 17px !important;
    }

    /* Dropdown alignment adjust */
    .vf-ui-dropdown {
        top: 45px;
    }

    .vf-points-dropdown {
        top: 50px !important;
    }
}

@media (max-width: 480px) {
    .vf-ui-header {
        padding: 0 10px;
    }

    .vf-ui-logo img {
        height: 25px;
    }

    .vf-ui-user-name {
        max-width: 55px;
    }

    .vf-ui-user-info svg {
        display: none;
    }

    .vf-ui-nav {
        gap: 8px;
    }
}




/* ==========================================================================
   Unified UI Footer (Virtual Fans)
   ========================================================================== */
/* Esconde o footer nativo/Elementor do tema pai */
.footer_wrap {
    display: none !important;
}

.vf-ui-footer {
    background-color: #050505;
    /* Fundo escuro premium */
    color: var(--vf-text-light);
    padding: 60px 40px 20px 40px;
    font-family: var(--vf-font-primary);
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vf-ui-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vf-ui-footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.vf-ui-footer-col {
    flex: 1;
    min-width: 300px;
}

.vf-ui-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Alinhado a direita conforme original */
}

@media (max-width: 768px) {
    .vf-ui-footer-right {
        align-items: flex-start;
    }
}

.vf-ui-footer-logo img {
    max-width: 250px;
    margin-bottom: 25px;
}

.vf-ui-footer-socials {
    display: flex;
    gap: 15px;
}

.vf-ui-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--vf-text-light);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vf-ui-footer-socials a:hover {
    background: var(--vf-primary);
    color: var(--vf-bg-darker);
    transform: translateY(-3px);
}

.vf-ui-footer-title {
    color: var(--vf-text-light);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vf-ui-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vf-ui-footer-right .vf-ui-footer-links {
    text-align: right;
}

@media (max-width: 768px) {
    .vf-ui-footer-right .vf-ui-footer-links {
        text-align: left;
    }
}

.vf-ui-footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s;
}

.vf-ui-footer-links a:hover {
    color: var(--vf-primary);
}

.vf-ui-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.vf-ui-footer-bottom p {
    color: #888888;
    font-size: 14px;
    margin: 0;
}

.vf-ui-footer-bottom a {
    color: #cccccc;
    transition: color 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.vf-ui-footer-bottom a:hover {
    color: var(--vf-primary);
}

/* ==========================================================================
   Ajustes de Layout e Responsividade para Páginas Padrão
   ========================================================================== */

/* 1. Containers Principais com Respiro Lateral, Vertical e Largura Máxima (com suporte a fallback para article) */
body.woocommerce-checkout.body_style_wide.expand_content .page_content_wrap,
body.woocommerce-cart.body_style_wide.expand_content .page_content_wrap,
body.woocommerce-account.body_style_wide.expand_content .page_content_wrap,
body.page.body_style_wide.expand_content:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) .page_content_wrap,
body.woocommerce-checkout .page_content_wrap,
body.woocommerce-cart .page_content_wrap,
body.woocommerce-account .page_content_wrap,
body.page:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) .page_content_wrap,
body.woocommerce-checkout.body_style_wide.expand_content article.post_item_single,
body.woocommerce-cart.body_style_wide.expand_content article.post_item_single,
body.woocommerce-account.body_style_wide.expand_content article.post_item_single,
body.page.body_style_wide.expand_content:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) article.post_item_single,
body.woocommerce-checkout article.post_item_single,
body.woocommerce-cart article.post_item_single,
body.woocommerce-account article.post_item_single,
body.page:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) article.post_item_single {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 90px !important;
    padding-bottom: 60px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}

@media (min-width: 768px) {

    body.woocommerce-checkout.body_style_wide.expand_content .page_content_wrap,
    body.woocommerce-cart.body_style_wide.expand_content .page_content_wrap,
    body.woocommerce-account.body_style_wide.expand_content .page_content_wrap,
    body.page.body_style_wide.expand_content:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) .page_content_wrap,
    body.woocommerce-checkout .page_content_wrap,
    body.woocommerce-cart .page_content_wrap,
    body.woocommerce-account .page_content_wrap,
    body.page:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) .page_content_wrap,
    body.woocommerce-checkout.body_style_wide.expand_content article.post_item_single,
    body.woocommerce-cart.body_style_wide.expand_content article.post_item_single,
    body.woocommerce-account.body_style_wide.expand_content article.post_item_single,
    body.page.body_style_wide.expand_content:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) article.post_item_single,
    body.woocommerce-checkout article.post_item_single,
    body.woocommerce-cart article.post_item_single,
    body.woocommerce-account article.post_item_single,
    body.page:not(.home):not(.frontpage):not(.page-template-page-tours):not(.page-template-page-portal-do-torcedor) article.post_item_single {
        padding-left: 40px !important;
        padding-right: 40px !important;
        padding-top: 120px !important;
        padding-bottom: 80px !important;
    }
}

/* 1b. Evita duplo padding e dupla limitação quando o article está dentro de .page_content_wrap */
.page_content_wrap article.post_item_single {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

/* 3. Ajustes Finos para Colunas do Checkout em Telas Médias e Pequenas */
@media (max-width: 1200px) {
    form.woocommerce-checkout #customer_details {
        padding-right: 40px !important;
    }
}

@media (max-width: 991px) {
    form.woocommerce-checkout #customer_details {
        padding-right: 20px !important;
    }
}

@media (max-width: 767px) {
    form.woocommerce-checkout #customer_details {
        padding-right: 0 !important;
        width: 100% !important;
        float: none !important;
    }

    form.woocommerce-checkout #order_review {
        width: 100% !important;
        float: none !important;
    }
}

/* 4. Ajustes Finos para Colunas de Login/Registro no Mobile */
@media (max-width: 768px) {

    .woocommerce-account .u-columns.col2-set .u-column1,
    .woocommerce-account .u-columns.col2-set .u-column2 {
        flex: 1 1 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   Customização Premium do Checkout do WooCommerce
   ========================================================================== */

/* 1. Ocultar Barra de Status do Checkout */
.woocommerce-checkout .woocommerce_status_bar {
    display: none !important;
}

/* 2. Estilização Destacada do Cupom de Desconto */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 25px;
}

.woocommerce-checkout .woocommerce-info {
    border: 1px dashed #ffab00 !important;
    background-color: #fffdec !important;
    color: #444 !important;
    padding: 15px 20px 15px 50px !important;
    /* Aumentado padding esquerdo para acomodar o ícone posicionado absolutamente */
    border-radius: 8px !important;
    font-size: 15px !important;
    display: block !important;
    box-shadow: 0 2px 8px rgba(255, 171, 0, 0.05) !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout .woocommerce-info:before {
    content: '\e87f' !important;
    /* Ícone de cupom / tag do Fontello */
    font-family: 'fontello' !important;
    color: #ffab00 !important;
    font-size: 18px !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: inline-block !important;
    margin: 0 !important;
}

.woocommerce-checkout .woocommerce-info a.showcoupon {
    color: #000 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: color 0.2s !important;
}

.woocommerce-checkout .woocommerce-info a.showcoupon:hover {
    color: #ffab00 !important;
}

/* Form de Cupom */
form.checkout_coupon.woocommerce-form-coupon {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 20px !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

form.checkout_coupon.woocommerce-form-coupon .cart-coupon-inner {
    display: flex !important;
    flex-direction: row-reverse !important;
    gap: 10px !important;
    max-width: 450px !important;
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

form.checkout_coupon.woocommerce-form-coupon .cart-coupon-inner:before {
    display: none !important;
}

form.checkout_coupon.woocommerce-form-coupon input#coupon_code {
    flex: 1 !important;
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
}

form.checkout_coupon.woocommerce-form-coupon button.apply_coupon {
    position: static !important;
    height: 42px !important;
    width: auto !important;
    background: #000 !important;
    color: #fff !important;
    font-family: var(--theme-font-button_font-family) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 0 20px !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

form.checkout_coupon.woocommerce-form-coupon button.apply_coupon:before {
    display: none !important;
}

form.checkout_coupon.woocommerce-form-coupon button.apply_coupon:hover {
    background: #ffab00 !important;
    color: #000 !important;
}

/* 3. Customização de Métodos de Pagamento */
.woocommerce-checkout #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
    border: 1px solid #e2e8f0 !important;
    background-color: #fafbfc !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
}

/* Efeito de Destaque no Card Selecionado */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked) {
    border-color: #ffab00 !important;
    background-color: #fffdf5 !important;
    box-shadow: 0 4px 12px rgba(255, 171, 0, 0.08) !important;
}

/* Ocultar Radio Button Padrão e criar customizado */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label:hover,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label:active,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label:focus {
    display: block !important;
    position: relative !important;
    padding: 0 0 0 28px !important;
    /* Forçado padding-left de 28px e zerado o resto do padding nativo */
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a202c !important;
    cursor: pointer !important;
    user-select: none !important;
    background: transparent !important;
    /* Remove o fundo amarelo/laranja nativo do tema */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Círculo do Radio Customizado */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method>label:before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
}

/* Ponto Central do Radio Selecionado */
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(input[type="radio"]:checked)>label:before {
    border-color: #ffab00 !important;
    background-color: #ffab00 !important;
    box-shadow: inset 0 0 0 3px #fffdf5 !important;
}

/* Ícones de Pagamento na Direita */
.woocommerce-checkout #payment ul.payment_methods li.payment_method_rm-pagbank-pix>label:after {
    content: '' !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    float: right !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath fill='%2332BCAD' d='M60 0L24.8 35.2L0 60l24.8 24.8L60 120l35.2-35.2L120 60L95.2 35.2L60 0zm0 17.6L91.4 49L60 80.4L28.6 49L60 17.6zm0 46.2L42.4 81.4L60 99l17.6-17.6L60 63.8z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin-top: -2px !important;
}

.woocommerce-checkout #payment ul.payment_methods li.payment_method_rm-pagbank-cc>label:after {
    content: '' !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    float: right !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b6b6b' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    margin-top: -2px !important;
}

/* Caixa de Instruções (PIX) */
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-pix {
    background-color: #ffffff !important;
    border: none !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 8px 8px !important;
    padding: 16px 20px !important;
    margin: 16px -20px -16px -20px !important;
    font-size: 14px !important;
    color: #4a5568 !important;
    box-shadow: none !important;
    width: auto !important;
}

/* Caixa de Formulário (Cartão de Crédito) */
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc {
    background-color: #ffffff !important;
    border: none !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 8px 8px !important;
    padding: 20px !important;
    margin: 16px -20px -16px -20px !important;
    box-shadow: none !important;
    width: auto !important;
}

/* Estilização dos Inputs do Cartão */
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc fieldset {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.form-row-wide {
    width: 100% !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.form-row-first,
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.form-row-last {
    width: calc(50% - 6px) !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc label {
    padding-left: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4a5568 !important;
    margin-bottom: 6px !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc label:before {
    display: none !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc input.input-text,
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc select {
    width: 100% !important;
    height: 42px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;
    color: #1a202c !important;
    transition: all 0.2s ease !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc input.input-text:focus,
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc select:focus {
    border-color: #ffab00 !important;
    box-shadow: 0 0 0 3px rgba(255, 171, 0, 0.15) !important;
    outline: none !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc .select_container {
    width: 100% !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc .select_container:after {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.woocommerce-SavedPaymentMethods-saveNew {
    margin-top: 15px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.woocommerce-SavedPaymentMethods-saveNew input[type="checkbox"] {
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc p.woocommerce-SavedPaymentMethods-saveNew label {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* 4. Botão Finalizar Pedido Customizado */
.woocommerce-checkout button#place_order {
    width: 100% !important;
    height: 52px !important;
    background: #ffab00 !important;
    color: #000000 !important;
    font-family: var(--theme-font-button_font-family) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(208, 1, 0, 0.25) !important;
    transition: all 0.2s ease !important;
    margin-top: 15px !important;
}

.woocommerce-checkout button#place_order:hover {
    background: #990000 !important;
    box-shadow: 0 6px 20px rgba(208, 1, 0, 0.35) !important;
    transform: translateY(-2px) !important;
}

.woocommerce-checkout button#place_order:active {
    transform: translateY(0) !important;
}

/* Fix Overflow do form do cartão de crédito */
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc * {
    box-sizing: border-box !important;
}

.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc input.input-text,
.woocommerce-checkout #payment div.payment_box.payment_method_rm-pagbank-cc select {
    max-width: 100% !important;
}

/* 5. Ocultar Informação Adicional */
.woocommerce-additional-fields,
.woocommerce-additional-fields h3,
.woocommerce-additional-fields__field-wrapper {
    display: none !important;
}

/* ==========================================================================
   Customização Premium Minha Conta (Dashboard)
   ========================================================================== */

/* Layout Flex em Coluna: Menu no topo + Conteúdo embaixo */
.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    align-items: stretch !important;
}

/* Navegação transformadas em GRID de botões no topo */
.woocommerce-MyAccount-navigation {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 15px !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 15px !important;
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 16px !important;
    color: #4a5568 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

/* Efeito Hover e Estado Ativo (Inovador) */
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #ffab00 !important;
    color: #000000 !important;
    border-color: #ffab00 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(255, 171, 0, 0.3) !important;
}

/* Área de Conteúdo (Dashboard, Pedidos, etc) */
.woocommerce-MyAccount-content {
    width: 94% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

/* Estilo do Botão Padrão na Minha Conta */
.woocommerce-MyAccount-content .button {
    background: #ffab00 !important;
    color: #000 !important;
    padding: 12px 25px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    box-shadow: 0 4px 15px rgba(208, 1, 0, 0.2) !important;
    transition: all 0.2s !important;
}

.woocommerce-MyAccount-content .button:hover {
    background: #990000 !important;
    transform: scale(1.03) !important;
}

/* Remover os links azuis padrão e customizar cor principal */
.woocommerce-MyAccount-content a {
    color: #D00100 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.woocommerce-MyAccount-content a:hover {
    color: #990000 !important;
    text-decoration: underline !important;
}

/* Tabelas padrão do woo na minha conta (Pedidos) */
.woocommerce-MyAccount-content table.woocommerce-orders-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    border: 1px solid #edf2f7 !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table th {
    background: #f8f9fa !important;
    padding: 18px !important;
    color: #4a5568 !important;
    font-weight: 700 !important;
}

.woocommerce-MyAccount-content table.woocommerce-orders-table td {
    padding: 18px !important;
    border-top: 1px solid #edf2f7 !important;
}

/* Mobile Responsivo Extremo */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 colunas para parecer botões de app */
        gap: 10px !important;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 15px 10px !important;
        font-size: 11px !important;
        border-radius: 12px !important;
    }

    .woocommerce-MyAccount-navigation ul li.is-active a,
    .woocommerce-MyAccount-navigation ul li a:hover {
        transform: translateY(-2px) !important;
        /* Suaviza no mobile */
    }

    .woocommerce-MyAccount-content {
        padding: 25px 20px !important;
        border-radius: 12px !important;
    }
}

/* Fundo Escuro (Preto/Dark) para a página Minha Conta */
body.woocommerce-account,
body.woocommerce-account .page_content_wrap {
    background-color: #060303 !important;
}

/* Garantir que títulos fora do card fiquem brancos no fundo escuro */
body.woocommerce-account .sc_layouts_title_title,
body.woocommerce-account h1.page_title,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    /* No menu os cards já são brancos, não vamos forçar a cor do menu aqui, então omitindo essa linha para focar só no fundo */
}

body.woocommerce-account .sc_layouts_title_title,
body.woocommerce-account h1.page_title {
    color: #ffffff !important;
}