/**
 * Bull Affiliates - Frontend Portal Styles
 * Design de Alta Conversão com Contraste Rigoroso
 */

/* ==========================================================================
   TEMA GLOBAL E BACKGROUND DA PÁGINA DE AFILIADOS (/afiliados/)
   Garante layout 100% limpo, fundo branco/slate (#f8fafc) no desktop e mobile,
   evitando faixas pretas ao redor do painel e forçando modo claro impecável.
   ========================================================================== */
html,
body.page-id-8454,
body.page-id-8454 #page,
body.page-id-8454 .site,
body.page-id-8454 #content,
body.page-id-8454 .site-main,
body.page-id-8454 .page-content,
body:has(#bull-affiliate-portal-root),
body:has(#bull-affiliate-portal-root) #content,
body:has(#bull-affiliate-portal-root) .site-main,
body:has(#bull-affiliate-portal-root) .page-content {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    color-scheme: light !important;
}

/* ==========================================================================
   REMOÇÃO DE ESPAÇO EM BRANCO EXCESSIVO NO TOPO (MOBILE & DESKTOP)
   Remove o cabeçalho duplicado do tema (.page-header / h1.entry-title) e
   zera os paddings desnecessários para que o "Painel do Afiliado" conecte
   diretamente abaixo do header da Bull Uniformes.
   ========================================================================== */
body.page-id-8454 .page-header,
body:has(#bull-affiliate-portal-root) .page-header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
}

body.page-id-8454 .site-main,
body.page-id-8454 #content,
body.page-id-8454 .page-content,
body:has(#bull-affiliate-portal-root) .site-main,
body:has(#bull-affiliate-portal-root) #content,
body:has(#bull-affiliate-portal-root) .page-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Proteção global contra quebras e rolagem horizontal */
html,
body {
    overflow-x: hidden !important;
}

/* Reset & Scope Isolation */
html body #bull-affiliate-portal-root,
html body .bull-aff-portal-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b !important;
    max-width: 1050px;
    margin: 0 auto;
    padding: 10px 0 50px;
    box-sizing: border-box;
}

html body #bull-affiliate-portal-root *,
html body .bull-aff-portal-wrap * {
    box-sizing: border-box;
}

/* Forçar cores escuras de alta legibilidade contra temas escuros globais */
html body #bull-affiliate-portal-root h1,
html body #bull-affiliate-portal-root h2,
html body #bull-affiliate-portal-root h3,
html body #bull-affiliate-portal-root h4,
html body #bull-affiliate-portal-root h5,
html body #bull-affiliate-portal-root h6,
html body .bull-aff-portal-wrap h1,
html body .bull-aff-portal-wrap h2,
html body .bull-aff-portal-wrap h3,
html body .bull-aff-portal-wrap h4,
html body .bull-aff-portal-wrap h5,
html body .bull-aff-portal-wrap h6,
html body .bull-aff-hero-title,
html body .bull-aff-box-title,
html body .bull-aff-step-title,
html body .bull-sim-sales,
html body .bull-aff-section-title,
html body .bull-why-title,
html body .bull-faq-question,
html body .bull-form-label,
html body .bull-kpi-value {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-family: inherit !important;
    text-shadow: none !important;
}

html body #bull-affiliate-portal-root p,
html body #bull-affiliate-portal-root li,
html body .bull-aff-portal-wrap p,
html body .bull-aff-portal-wrap li,
html body .bull-aff-hero-sub,
html body .bull-aff-step-text,
html body .bull-sim-desc,
html body .bull-why-desc,
html body .bull-faq-answer,
html body .bull-aff-cta-subtext {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

/* Card Principal da Landing Page */
.bull-aff-hero-card,
.bull-aff-register-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 45px 36px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Badge Superior */
.bull-aff-badge {
    display: inline-block;
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a;
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Títulos da Hero */
.bull-aff-hero-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.6px;
    line-height: 1.25 !important;
}

.bull-text-highlight {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #15803d !important;
}

.bull-aff-hero-sub {
    font-size: 16.5px !important;
    color: #475569 !important;
    max-width: 720px;
    margin: 0 auto 28px !important;
    line-height: 1.6 !important;
}
.bull-aff-hero-sub strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Pílulas de Vantagens */
.bull-aff-pills-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.bull-aff-pill-item {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1;
    color: #0f172a !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

/* Bloco de Simulação de Ganhos */
.bull-aff-simulation-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 30px 24px;
    margin-bottom: 36px;
    text-align: center;
}

.bull-aff-box-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 22px !important;
}

.bull-aff-sim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.bull-aff-sim-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.bull-aff-sim-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.bull-aff-sim-card.bull-sim-featured {
    border: 2px solid #eab308;
    background: linear-gradient(180deg, #ffffff 0%, #fefce8 100%);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.12);
}

.bull-sim-badge {
    display: inline-block;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    align-self: flex-start;
    background: #f1f5f9 !important;
    color: #334155 !important;
}
.bull-sim-badge.bull-badge-gold {
    background: #fef08a !important;
    color: #854d0e !important;
    border: 1px solid #facc15;
}

.bull-sim-sales {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 4px;
}

.bull-sim-calc {
    font-size: 13px !important;
    color: #64748b !important;
    margin-bottom: 12px;
}

.bull-sim-profit {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #15803d !important;
    margin-bottom: 8px;
    line-height: 1.1;
}
.bull-sim-profit-sub {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #166534 !important;
}

.bull-sim-desc {
    font-size: 12.5px !important;
    color: #475569 !important;
    line-height: 1.45;
    margin-top: auto;
}

.bull-sim-guarantee-bar {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13.5px !important;
    color: #334155 !important;
    line-height: 1.5;
    text-align: left;
}
.bull-sim-guarantee-bar strong {
    color: #0f172a !important;
}

/* Seção Por Que Vender Bull Uniformes */
.bull-aff-why-section {
    margin: 36px 0;
    text-align: center;
}

.bull-aff-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    text-align: left;
}

.bull-aff-why-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}
.bull-aff-why-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.bull-why-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: inline-block;
}

.bull-why-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    margin: 0 0 6px !important;
}

.bull-why-desc {
    font-size: 13.5px !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    line-height: 1.5;
    margin: 0 !important;
}

/* 4 Passos */
.bull-aff-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
    text-align: left;
}

.bull-aff-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bull-aff-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.bull-aff-step-num {
    width: 34px;
    height: 34px;
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    font-size: 15px !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.bull-aff-step-title {
    margin: 0 0 6px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

.bull-aff-step-text {
    margin: 0 !important;
    font-size: 13px !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    line-height: 1.5;
}

/* Botão CTA Principal de Conversão */
.bull-aff-guest-cta {
    margin-top: 10px;
}

.bull-aff-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #007aff;
    background: linear-gradient(135deg, #0056c6 0%, #007aff 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 16px 36px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.35);
    white-space: normal !important;
    word-break: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
.bull-aff-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.45);
    color: #ffffff !important;
}

#bull-btn-submit-sample {
    font-size: 16px !important;
    padding: 16px 20px !important;
    white-space: normal !important;
    word-break: normal !important;
    word-wrap: break-word !important;
    line-height: 1.35 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bull-aff-btn-cta-pulse {
    animation: bull-pulse-btn 2.5s infinite;
}
@keyframes bull-pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(0, 122, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 122, 255, 0); }
}

.bull-aff-cta-subtext {
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 10px !important;
}

/* FAQ Quebra de Objeções */
.bull-aff-faq-section {
    margin-top: 30px;
}

.bull-aff-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.bull-aff-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.bull-faq-question {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    margin-bottom: 6px;
}

.bull-faq-answer {
    font-size: 13px !important;
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    line-height: 1.5;
    margin: 0 !important;
}

/* Tela de Ativação do Afiliado */
.bull-aff-activation-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 16px 24px;
    max-width: 580px;
    margin: 0 auto 28px;
    gap: 20px;
    box-sizing: border-box;
}
.bull-act-col {
    text-align: center;
}
.bull-act-num {
    display: block;
    font-size: 20px !important;
    font-weight: 900 !important;
    color: #15803d !important;
    line-height: 1.1;
}
.bull-act-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase;
}
.bull-act-div {
    width: 1px;
    height: 32px;
    background: #cbd5e1;
}

@media (max-width: 640px) {
    .bull-aff-activation-highlight {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 6px !important;
        padding: 14px 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .bull-act-div {
        display: none !important;
    }
    .bull-act-col {
        padding: 0 2px !important;
        min-width: 0 !important;
        text-align: center !important;
    }
    .bull-act-num {
        font-size: 16px !important;
        line-height: 1.15 !important;
    }
    .bull-act-label {
        font-size: 9.5px !important;
        line-height: 1.2 !important;
        display: block !important;
        word-break: normal !important;
        letter-spacing: -0.2px !important;
    }
}

/* Formulário de Ativação */
.bull-aff-form {
    max-width: 580px;
    margin: 0 auto;
    text-align: left;
}

.bull-aff-form-group {
    margin-bottom: 20px;
}

.bull-form-label {
    display: block;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px;
}

.bull-aff-form-group input[type="text"],
.bull-aff-form-group select {
    width: 100%;
    height: 48px;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    background: #ffffff !important;
    box-sizing: border-box;
}

.bull-aff-form-group input:focus,
.bull-aff-form-group select:focus {
    border-color: #007aff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15) !important;
}

.bull-aff-help {
    display: block;
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 5px;
}
.bull-aff-help strong {
    color: #0f172a !important;
}

.bull-aff-form-row {
    display: flex;
    gap: 14px;
}
.bull-col-1 { flex: 0 0 calc(12% - 7px); }
.bull-col-2 { flex: 0 0 calc(15% - 7px); }
.bull-col-3 { flex: 0 0 calc(28% - 7px); }
.bull-col-4 { flex: 0 0 calc(35% - 7px); }
.bull-col-6 { flex: 0 0 calc(50% - 7px); }
.bull-col-8 { flex: 0 0 calc(65% - 7px); }

.bull-aff-terms-wrap {
    margin: 16px 0 24px;
    font-size: 13px !important;
    color: #475569 !important;
}
.bull-aff-terms-wrap label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #334155 !important;
}

.bull-aff-btn-block {
    width: 100%;
}

/* Dashboard Elements */
.bull-aff-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}
.bull-aff-dash-welcome h3 {
    margin: 0 0 4px !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}
.bull-aff-dash-welcome p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #64748b !important;
}

.bull-aff-dash-badges {
    display: flex;
    gap: 8px;
}
.bull-badge-comm,
.bull-badge-disc {
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
}
.bull-badge-comm {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0;
}
.bull-badge-disc {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe;
}

/* KPI Grid */
.bull-aff-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.bull-aff-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.bull-aff-kpi-card.bull-kpi-highlight {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-color: #86efac;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.08);
}

.bull-kpi-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b !important;
    margin-bottom: 8px;
}

.bull-kpi-value {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.1;
    margin-bottom: 8px;
}
.bull-kpi-value small {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}

.bull-kpi-highlight .bull-kpi-value {
    color: #15803d !important;
}

.bull-kpi-hint {
    font-size: 12px !important;
    color: #64748b !important;
}
.bull-text-success {
    color: #16a34a !important;
    font-weight: 700 !important;
}

/* Share Box */
.bull-aff-share-box,
.bull-aff-payout-box,
.bull-aff-table-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.bull-aff-section-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 16px !important;
}

.bull-aff-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.bull-tool-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 16px;
}

.bull-tool-icon {
    font-size: 28px;
}

.bull-tool-content {
    flex: 1;
    min-width: 0;
}

.bull-tool-tag {
    display: block;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.bull-tool-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bull-coupon-display {
    font-family: monospace;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: 1px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    border-radius: 6px;
}

.bull-link-input {
    flex: 1;
    height: 38px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    color: #475569 !important;
    background: #ffffff !important;
}

.bull-btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a !important;
    color: #ffffff !important;
    border: none;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 9px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.bull-btn-copy:hover {
    background: #1e293b !important;
}

.bull-btn-copy.bull-copied {
    background: #16a34a !important;
}

/* WhatsApp Share */
.bull-whatsapp-share-bar {
    margin-top: 14px;
}
.bull-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    padding: 13px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
}
.bull-btn-whatsapp:hover {
    background: #20bd5a !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Payout Box */
.bull-payout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}
.bull-aff-subtext {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
}
.bull-pix-key-val {
    font-weight: 800 !important;
    color: #0f172a !important;
}
.bull-link-edit {
    background: none;
    border: none;
    color: #007aff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
    margin-left: 8px;
    text-decoration: underline !important;
}

.bull-aff-pix-edit-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

/* Table Styles */
.bull-table-responsive {
    overflow-x: auto;
}
.bull-aff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
.bull-aff-table th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-weight: 700 !important;
    padding: 12px 14px;
    border-bottom: 2px solid #e2e8f0;
}
.bull-aff-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b !important;
}
.bull-cell-commission {
    font-weight: 800 !important;
    color: #16a34a !important;
}

/* Status Badges */
.bull-status-badge {
    display: inline-block;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 3px 10px;
    border-radius: 12px;
}
.bull-st-approved {
    background: #dcfce7 !important;
    color: #15803d !important;
}
.bull-st-pending {
    background: #fef9c3 !important;
    color: #854d0e !important;
}
.bull-st-paid {
    background: #dbeafe !important;
    color: #1e40af !important;
}
.bull-st-cancelled {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bull-aff-hero-card,
    .bull-aff-register-card {
        padding: 26px 18px;
    }
    .bull-aff-hero-title {
        font-size: 24px !important;
    }
    .bull-aff-hero-sub {
        font-size: 14.5px !important;
    }
    .bull-aff-sim-grid {
        grid-template-columns: 1fr;
    }
    .bull-aff-steps-grid {
        grid-template-columns: 1fr;
    }
    .bull-aff-form-row {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .bull-col-1, .bull-col-2, .bull-col-3, .bull-col-4, .bull-col-6, .bull-col-8 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .bull-aff-tools-grid {
        grid-template-columns: 1fr !important;
    }
    .bull-payout-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .bull-aff-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }
    html body #bull-affiliate-portal-root,
    html body .bull-aff-portal-wrap,
    body.page-id-8454 .bull-aff-portal-wrap {
        padding-top: 8px !important;
        margin-top: 0 !important;
    }
    .bull-aff-dash-header {
        margin-top: 0 !important;
        margin-bottom: 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .bull-aff-dash-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .bull-btn-rules-header {
        width: 100% !important;
        justify-content: center !important;
        padding: 9px 14px !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
        order: 1 !important;
    }
    .bull-badge-comm,
    .bull-badge-disc {
        flex: 1 1 calc(50% - 4px) !important;
        text-align: center !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 8px 6px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        line-height: 1.2 !important;
        order: 2 !important;
    }
    #bull-btn-submit-sample {
        font-size: 14px !important;
        padding: 14px 16px !important;
        line-height: 1.35 !important;
        border-radius: 25px !important;
    }
    .bull-aff-portal-wrap,
    .bull-aff-sample-box,
    .bull-aff-sample-form-card,
    .bull-aff-sample-tracker-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* ==========================================================================
   Novos Estilos: Aviso de Saque em 24h, Carência de 7 Dias e Regulamento
   ========================================================================== */

/* 1. Aviso de Saque em até 24 Horas */
.bull-payout-notice-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ecfdf5 !important;
    border: 1.5px solid #a7f3d0 !important;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
}

.bull-payout-notice-icon {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.bull-payout-notice-content strong {
    color: #065f46 !important;
    font-size: 14.5px;
    font-weight: 800;
}

.bull-payout-notice-content p {
    color: #047857 !important;
    font-size: 13.5px;
    margin: 3px 0 0;
    line-height: 1.45;
}

/* 2. Botão de Regulamento no Header do Dashboard */
.bull-btn-rules-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bull-btn-rules-header:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a !important;
    transform: translateY(-1px);
}

/* 3. Status Badge: Carência de 7 Dias */
.bull-status-badge.bull-st-holding {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-weight: 700;
}

/* 4. Regulamento Oficial no Formulário de Cadastro */
.bull-aff-rules-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
}

.bull-rules-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.bull-rules-icon {
    font-size: 26px;
}

.bull-rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bull-rule-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bull-rule-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.bull-rule-highlight-card {
    background: #fffbeb !important;
    border-color: #fde68a !important;
}

.bull-rule-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #334155;
    letter-spacing: 0.5px;
}

.bull-rule-badge-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.bull-rule-badge-pix {
    background: #ecfdf5 !important;
    color: #065f46 !important;
}

.bull-rule-badge-anti {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

/* 5. Modal de Regulamento */
.bull-rules-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.bull-rules-modal-box {
    background: #ffffff;
    border-radius: 18px;
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    animation: bullModalFadeIn 0.2s ease-out;
}

@keyframes bullModalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.bull-rules-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.bull-rules-modal-close {
    background: transparent;
    border: none;
    font-size: 26px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.bull-rules-modal-close:hover {
    color: #0f172a;
}

.bull-rules-modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bull-rules-modal-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.bull-rules-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    border-radius: 0 0 18px 18px;
}

@media (max-width: 768px) {
    .bull-rules-grid {
        grid-template-columns: 1fr;
    }
    .bull-payout-notice-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ========================================================
   SEÇÃO: LINKS PERSONALIZADOS POR PRODUTO & CATÁLOGO
   ======================================================== */
.bull-aff-product-links-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.bull-aff-generator-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.bull-aff-gen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.bull-aff-gen-icon {
    font-size: 26px;
    line-height: 1;
}

.bull-aff-gen-input-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.bull-aff-gen-input-wrap {
    flex: 1;
    min-width: 260px;
}

.bull-aff-gen-input-wrap input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: #0f172a !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bull-aff-gen-input-wrap input:focus {
    border-color: #d4af37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.bull-aff-btn-generate {
    background: #0f172a;
    color: #ffffff !important;
    border: 1.5px solid #d4af37;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bull-aff-btn-generate:hover {
    background: #1e293b;
    border-color: #facc15;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.bull-aff-gen-result {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 10px;
    padding: 16px;
    margin-top: 14px;
    animation: bullFadeIn 0.3s ease;
}

.bull-aff-result-tag {
    font-size: 13px;
    font-weight: 800;
    color: #065f46 !important;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bull-aff-result-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.bull-btn-wa-sm {
    background: #25d366;
    color: #ffffff !important;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s, transform 0.2s;
}

.bull-btn-wa-sm:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.bull-btn-test-sm {
    background: #ffffff;
    color: #0f172a !important;
    border: 1px solid #cbd5e1;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.bull-btn-test-sm:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* Catálogo de Produtos */
.bull-aff-catalog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.bull-aff-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.bull-aff-catalog-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bull-aff-cat-icon {
    font-size: 26px;
    line-height: 1;
}

.bull-aff-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 24px;
    padding: 4px 12px 4px 14px;
    min-width: 280px;
    flex: 0 1 380px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.bull-aff-search-box:focus-within {
    background: #ffffff;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.bull-aff-search-box svg {
    position: static !important;
    color: #64748b;
    flex-shrink: 0;
    margin-right: 10px;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.bull-aff-search-box input,
.bull-aff-search-box input[type="text"] {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 8px 6px 8px 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
}

.bull-aff-search-box input:focus {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.bull-aff-count-badge {
    position: static !important;
    flex-shrink: 0;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: #475569;
    padding: 4px 10px;
    border-radius: 12px;
    pointer-events: none;
    white-space: nowrap;
}

.bull-aff-prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    max-height: 620px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Custom Scrollbar */
.bull-aff-prod-grid::-webkit-scrollbar {
    width: 6px;
}
.bull-aff-prod-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.bull-aff-prod-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.bull-aff-prod-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.bull-aff-prod-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.bull-aff-prod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.bull-aff-prod-thumb-wrap {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
    border-bottom: 1px solid #f1f5f9;
}

.bull-aff-prod-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transition: transform 0.25s ease;
}

.bull-aff-prod-card:hover .bull-aff-prod-thumb {
    transform: scale(1.05);
}

.bull-aff-badge-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.18);
    z-index: 2;
    pointer-events: none;
    letter-spacing: 0.3px;
}

.bull-aff-prod-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bull-aff-prod-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}

.bull-aff-prod-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.bull-aff-prod-price {
    font-weight: 800;
    color: #0f172a !important;
    font-size: 13.5px;
    line-height: 1.2;
}

.bull-aff-prod-comm {
    font-size: 9.5px;
    font-weight: 800;
    color: #047857 !important;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.2;
}

.bull-aff-prod-btn-group {
    display: flex;
    gap: 4px;
    margin-top: auto;
    width: 100%;
}

.bull-btn-prod-copy {
    flex: 1;
    min-width: 0;
    background: #0f172a;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 7px 4px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bull-btn-prod-copy:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.bull-btn-prod-copy svg {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
}

.bull-btn-prod-wa {
    flex: 1;
    min-width: 0;
    background: #25d366;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 7px 4px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color 0.2s, transform 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bull-btn-prod-wa:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.bull-btn-prod-wa svg {
    flex-shrink: 0;
    width: 13px;
    height: 13px;
}

.bull-aff-empty-search {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    margin-top: 10px;
}

/* Otimização Específica para Computadores / Telas Maiores */
@media (min-width: 992px) {
    .bull-aff-product-links-box {
        padding: 20px 18px !important;
    }

    .bull-aff-catalog-card {
        padding: 16px !important;
    }

    .bull-aff-prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
        gap: 12px !important;
        max-height: 640px !important;
    }
}

@media (min-width: 1280px) {
    .bull-aff-prod-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 14px !important;
    }
}

/* ========================================================
   BARRA FLUTUANTE VIP NA PÁGINA DO PRODUTO (is_product)
   ======================================================== */
.bull-aff-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    border-top: 2px solid #d4af37;
    box-shadow: 0 -6px 30px rgba(0,0,0,0.45);
    padding: 10px 20px;
    color: #ffffff;
    box-sizing: border-box;
    animation: bullSlideUp 0.3s ease;
}

.bull-aff-float-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.bull-aff-float-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #fde047;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.bull-aff-float-info {
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bull-aff-float-desc {
    font-size: 12px;
    color: #e2e8f0;
    white-space: nowrap;
}

.bull-aff-float-input {
    flex: 1;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #ffffff;
    padding: 7px 10px;
    font-size: 12px;
    font-family: monospace;
}

.bull-aff-float-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.bull-aff-btn-copy-float {
    background: #d4af37;
    color: #000000 !important;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.bull-aff-btn-copy-float:hover {
    background: #facc15;
    transform: translateY(-1px);
}

.bull-aff-btn-wa-float {
    background: #25d366;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    padding: 7px 12px;
    font-weight: 800;
    font-size: 12px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.bull-aff-btn-wa-float:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.bull-aff-btn-panel-float {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.2s;
}

.bull-aff-btn-panel-float:hover {
    background: rgba(255, 255, 255, 0.25);
}

.bull-aff-btn-close-float {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}

.bull-aff-btn-close-float:hover {
    color: #ffffff;
}

.bull-aff-min-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999998;
    background: #0f172a;
    color: #fde047;
    border: 1.5px solid #d4af37;
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bull-aff-min-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

@keyframes bullSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes bullFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   RESPONSIVIDADE MOBILE: PROPORÇÃO DO PRODUTO & CATÁLOGO
   ======================================================== */
@media (max-width: 768px) {
    /* Caixa e barra de busca no mobile */
    .bull-aff-product-links-box {
        padding: 16px 12px !important;
    }

    .bull-aff-generator-card,
    .bull-aff-catalog-card {
        padding: 14px 12px !important;
    }

    .bull-aff-catalog-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .bull-aff-search-box {
        min-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    /* Grid de produtos em 2 colunas proporcionais */
    .bull-aff-prod-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        max-height: 520px !important;
        padding-right: 2px !important;
    }

    /* Card compacto e elegante */
    .bull-aff-prod-card {
        border-radius: 8px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    }

    /* Proporção perfeita da imagem dentro da caixa (sem cortes e sem zoom exagerado) */
    .bull-aff-prod-thumb-wrap {
        height: 140px !important;
        background: #f8fafc !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    .bull-aff-prod-thumb {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        transition: none !important;
    }

    .bull-aff-badge-tag {
        top: 6px !important;
        right: 6px !important;
        font-size: 9px !important;
        padding: 2px 5px !important;
    }

    /* Informações e textos proporcionais para mobile */
    .bull-aff-prod-info {
        padding: 8px 10px !important;
    }

    .bull-aff-prod-title {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
        min-height: 30px !important;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 2 !important;
    }

    .bull-aff-prod-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
        margin-bottom: 8px !important;
    }

    .bull-aff-prod-price {
        font-size: 13px !important;
    }

    .bull-aff-prod-comm {
        font-size: 9.5px !important;
        padding: 1px 5px !important;
    }

    /* Botões de ação dos cards no mobile: empilhados com largura total para evitar truncamento 'Co...' */
    .bull-aff-prod-btn-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        width: 100% !important;
    }

    .bull-btn-prod-copy,
    .bull-btn-prod-wa {
        width: 100% !important;
        flex: none !important;
        padding: 7px 6px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        box-sizing: border-box !important;
        text-overflow: clip !important;
    }

    .bull-btn-prod-copy span,
    .bull-btn-prod-wa span {
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    .bull-btn-prod-copy svg,
    .bull-btn-prod-wa svg {
        width: 13px !important;
        height: 13px !important;
        flex-shrink: 0 !important;
    }

    /* Barra flutuante em telas menores */
    .bull-aff-floating-bar {
        padding: 8px 12px !important;
    }
    .bull-aff-float-inner {
        gap: 8px !important;
    }
    .bull-aff-float-desc {
        font-size: 11px !important;
    }
    .bull-aff-float-actions {
        width: 100% !important;
        justify-content: flex-end !important;
    }
}

/* ============================================================
   BULL AFILIADOS - SISTEMA DE AMOSTRA GRÁTIS
   ============================================================ */
.bull-aff-sample-box {
    margin-bottom: 24px;
}

/* Card de Rastreamento / Amostra Ativa */
.bull-aff-sample-tracker-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.bull-aff-sample-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.bull-sample-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bull-sample-icon {
    font-size: 28px;
    line-height: 1;
}

/* Stepper de Progresso Visual */
.bull-stepper-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 24px;
    padding: 0 10px;
}

.bull-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.bull-step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 6px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.bull-step-item.active .bull-step-circle {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.bull-step-item.completed .bull-step-circle {
    background: #16a34a;
    color: #ffffff;
}

.bull-step-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.bull-step-date {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.bull-step-line {
    flex: 1.5;
    height: 4px;
    background: #e2e8f0;
    margin: 0 -10px 22px;
    z-index: 1;
}

.bull-step-line.active {
    background: linear-gradient(90deg, #16a34a, #2563eb);
}

.bull-step-line.completed {
    background: #16a34a;
}

/* Resumo da Camiseta e Endereço */
.bull-sample-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.bull-sample-prod-card-mini {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bull-sample-thumb-mini {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 4px;
    flex-shrink: 0;
}

.bull-badge-size-chosen {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.bull-sample-dest-card-mini {
    border-left: 2px solid #e2e8f0;
    padding-left: 16px;
}

/* Caixa de Rastreamento Ativo */
.bull-tracking-box-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.bull-tracking-btn-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bull-sample-info-footer {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

/* Card do Formulário de Solicitação */
.bull-aff-sample-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.bull-size-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.bull-sample-size-btn {
    min-width: 52px;
    height: 44px;
    padding: 0 16px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bull-sample-size-btn:hover {
    border-color: #0f172a;
    background: #f8fafc;
    transform: translateY(-1px);
}

.bull-sample-size-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.bull-sample-preview-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
}

@media (max-width: 768px) {
    .bull-aff-sample-form-card,
    .bull-aff-sample-tracker-card {
        padding: 18px 14px;
    }
    .bull-stepper-container {
        padding: 0;
    }
    .bull-step-label {
        font-size: 11px;
    }
    .bull-step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .bull-sample-dest-card-mini {
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-left: 0;
        padding-top: 12px;
    }
    .bull-sample-size-btn {
        flex: 1 1 calc(25% - 8px);
        min-width: 0;
        padding: 0 8px;
    }
    .bull-tracking-box-active {
        flex-direction: column;
        align-items: flex-start;
    }
    .bull-tracking-btn-group {
        width: 100%;
    }
    .bull-tracking-btn-group button,
    .bull-tracking-btn-group a {
        flex: 1;
        text-align: center;
    }
}