/* Avião Branco — página Solicitar Catálogo */
body.aviao-catalog-request-page .entry-title,
body.aviao-catalog-request-page .entry-header,
body.aviao-catalog-request-page .page-header,
body.aviao-catalog-request-page .breadcrumb,
body.aviao-catalog-request-page .breadcrumbs,
body.aviao-catalog-request-page .woocommerce-breadcrumb,
body.aviao-catalog-request-page nav.woocommerce-breadcrumb{
    display:none !important;
}

body.aviao-catalog-request-page .site-content,
body.aviao-catalog-request-page .content-area,
body.aviao-catalog-request-page .site-main,
body.aviao-catalog-request-page article.page,
body.aviao-catalog-request-page .entry-content{
    background:transparent !important;
    box-shadow:none !important;
}

.ab-catalog-request{
    width:100%;
    max-width:760px;
    margin:26px auto 44px;
    box-sizing:border-box;
}

.ab-catalog-request-head{
    margin:0 0 16px;
    padding:24px 26px;
    border-radius:16px;
    background:linear-gradient(135deg,#0457c8 0%,#16b7db 52%,#0a54c7 100%);
    box-shadow:0 14px 30px rgba(0,62,170,.16);
    color:#fff;
    text-align:center;
}
.ab-catalog-request-head span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    margin:0 auto 10px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.26);
    border-radius:999px;
    background:rgba(255,255,255,.10);
    color:#edfaff;
    font-size:11px;
    line-height:1.1;
    font-weight:800;
    letter-spacing:.07em;
    text-align:center;
}
.ab-catalog-request-head h1{
    margin:0 0 8px;
    color:#fff;
    font-size:31px;
    line-height:1.08;
    font-weight:900;
    text-align:center;
}
.ab-catalog-request-head p{
    max-width:520px;
    margin:0 auto;
    color:#eefaff;
    font-size:15px;
    line-height:1.45;
    text-align:center;
}

.ab-catalog-request-form{
    padding:22px 24px;
    border:1px solid #dce6f2;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(0,62,170,.08);
}
.ab-catalog-request-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}
.ab-catalog-request-full{grid-column:1/-1;}
.ab-catalog-request-field{display:block;margin:0;}
.ab-catalog-request-field>span,
.ab-catalog-request-group legend{
    display:block;
    margin:0 0 7px;
    padding:0;
    color:#233951;
    font-size:13px;
    line-height:1.2;
    font-weight:800;
}
.ab-catalog-request-field input{
    width:100%;
    height:46px;
    margin:0;
    padding:0 12px;
    box-sizing:border-box;
    border:1px solid #cbd8e7;
    border-radius:8px;
    background:#fff;
    color:#1e2d3d;
    font-size:14px;
    box-shadow:none;
}
.ab-catalog-request-field input:focus{
    outline:3px solid rgba(8,169,212,.14);
    border-color:#168ed1;
}
.ab-catalog-request-group{
    margin:18px 0 0;
    padding:0;
    border:0;
}
.ab-catalog-request-options{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}
.ab-catalog-request-options-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.ab-catalog-request-options label{
    position:relative;
    margin:0;
    cursor:pointer;
}
.ab-catalog-request-options input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.ab-catalog-request-options span{
    min-height:44px;
    padding:9px 12px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    border:1px solid #cbd8e7;
    border-radius:8px;
    background:#f8fbff;
    color:#233951;
    font-size:13px;
    font-weight:800;
    text-align:center;
    transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.ab-catalog-request-options input:checked+span{
    border-color:#168ed1;
    background:#eaf7fd;
    color:#0049a8;
    box-shadow:0 0 0 2px rgba(22,142,209,.10);
}
.ab-catalog-request-warning{
    margin:14px 0 0;
    padding:13px 14px;
    border:1px solid #e3b44d;
    border-radius:9px;
    background:#fff8e7;
    color:#674900;
}
.ab-catalog-request-warning strong{display:block;margin-bottom:3px;font-size:13px;}
.ab-catalog-request-warning p{margin:0;font-size:12px;line-height:1.45;color:#674900;}
.ab-catalog-request-submit{
    width:100%;
    min-height:52px;
    margin:22px 0 0;
    padding:12px 18px;
    border:2px solid #fff;
    border-radius:9px;
    background:linear-gradient(135deg,#08a9d4 0%,#168ed1 48%,#003eaa 100%);
    color:#fff;
    font-size:14px;
    line-height:1.15;
    font-weight:900;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,62,170,.22);
    cursor:pointer;
}
.ab-catalog-request-submit:hover{filter:brightness(1.03);transform:translateY(-1px);}
.ab-catalog-request-submit[disabled]{opacity:.55;cursor:not-allowed;transform:none;}
.ab-catalog-request-error{min-height:18px;margin:7px 0 0;color:#b42318;font-size:12px;text-align:center;}

@media(max-width:767px){
    .ab-catalog-request{margin:14px auto 28px;padding:0 12px;}
    .ab-catalog-request-head{padding:18px 16px;border-radius:14px;}
    .ab-catalog-request-head span{font-size:9px;min-height:28px;padding:0 11px;margin-bottom:9px;}
    .ab-catalog-request-head h1{font-size:24px;line-height:1.08;}
    .ab-catalog-request-head p{font-size:12px;max-width:100%;}
    .ab-catalog-request-form{padding:16px 14px;border-radius:11px;}
    .ab-catalog-request-grid{grid-template-columns:1fr;gap:12px;}
    .ab-catalog-request-full{grid-column:auto;}
    .ab-catalog-request-field input{height:44px;font-size:13px;}
    .ab-catalog-request-options-3{grid-template-columns:1fr;}
    .ab-catalog-request-options span{min-height:42px;font-size:12px;}
}

/* AVIAO BRANCO — Solicitar catálogo em modal, sem troca de página */
html.ab-catalog-modal-open,
body.ab-catalog-modal-open{overflow:hidden!important;}
.ab-catalog-modal[hidden]{display:none!important;}
.ab-catalog-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
    box-sizing:border-box;
    opacity:0;
    transition:opacity .18s ease;
}
.ab-catalog-modal.is-open{opacity:1;}
.ab-catalog-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,20,38,.62);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
}
.ab-catalog-modal-dialog{
    position:relative;
    z-index:1;
    width:min(780px,100%);
    max-height:calc(100vh - 36px);
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    box-shadow:0 24px 70px rgba(0,0,0,.28);
    transform:translateY(10px) scale(.985);
    transition:transform .18s ease;
}
.ab-catalog-modal.is-open .ab-catalog-modal-dialog{transform:translateY(0) scale(1);}
.ab-catalog-modal-scroll{
    max-height:calc(100vh - 36px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding:12px 14px 18px;
    box-sizing:border-box;
}
.ab-catalog-modal .ab-catalog-request{margin:0 auto;}
.ab-catalog-modal-close{
    position:absolute;
    z-index:3;
    top:18px;
    right:20px;
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid rgba(255,255,255,.55);
    border-radius:50%;
    background:rgba(255,255,255,.18);
    color:#fff;
    font:700 30px/1 Arial,sans-serif;
    cursor:pointer;
}
.ab-catalog-modal-close:hover{background:rgba(255,255,255,.28);}

@media(max-width:767px){
    .ab-catalog-modal{align-items:flex-end;padding:0;}
    .ab-catalog-modal-dialog{
        width:100%;
        max-height:92vh;
        border-radius:18px 18px 0 0;
        transform:translateY(24px);
    }
    .ab-catalog-modal-scroll{max-height:92vh;padding:10px 8px 18px;}
    .ab-catalog-modal .ab-catalog-request{padding:0 4px 8px;}
    .ab-catalog-modal-close{top:17px;right:18px;width:34px;height:34px;font-size:27px;}
}


/* AVIAO BRANCO — REFINO DA PÁGINA DE CATÁLOGO */
body.aviao-catalog-request-page .ab-catalog-request{
    margin-top:22px;
}
body.aviao-catalog-request-page .ab-catalog-request-form{
    border-radius:16px;
}
body.aviao-catalog-request-page .entry-content > *:not(.ab-catalog-request){
    display:none !important;
}


/* AVIAO BRANCO — LIMPEZA DEFINITIVA DA PÁGINA SOLICITAR CATÁLOGO */
body.aviao-catalog-request-page .page-title,
body.aviao-catalog-request-page h1.entry-title,
body.aviao-catalog-request-page .site-main > .page-header,
body.aviao-catalog-request-page .site-main > header,
body.aviao-catalog-request-page article.page > .entry-header,
body.aviao-catalog-request-page .content-area > .page-header,
body.aviao-catalog-request-page .site-content > .page-header,
body.aviao-catalog-request-page .woocommerce-breadcrumb,
body.aviao-catalog-request-page nav.woocommerce-breadcrumb,
body.aviao-catalog-request-page .breadcrumb,
body.aviao-catalog-request-page .breadcrumbs{
    display:none !important;
}

body.aviao-catalog-request-page .ab-catalog-request-head,
body.aviao-catalog-request-page .ab-catalog-request-head h1,
body.aviao-catalog-request-page .ab-catalog-request-head span,
body.aviao-catalog-request-page .ab-catalog-request-head p{
    display:block !important;
}

body.aviao-catalog-request-page .ab-catalog-request-head span{
    display:inline-flex !important;
}

/* ==========================================================
   AVIÃO BRANCO — CABEÇALHO SOLICITAR CATÁLOGO / OPÇÃO 4
   Reprodução em HTML/CSS do layout escolhido.
   ========================================================== */
.ab-catalog-request-head.ab-catalog-head-option4{
    position:relative !important;
    overflow:visible !important;
    margin:0 0 28px !important;
    padding:24px 28px 24px !important;
    border:0 !important;
    border-radius:18px !important;
    background:linear-gradient(135deg,#0457c8 0%,#16b7db 52%,#0a54c7 100%) !important;
    box-shadow:0 14px 30px rgba(5,71,170,.18) !important;
    color:#fff !important;
    text-align:center !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-kicker{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:30px !important;
    margin:0 auto 13px !important;
    padding:0 16px !important;
    border:1px solid rgba(255,255,255,.78) !important;
    border-radius:999px !important;
    background:rgba(0,75,180,.10) !important;
    color:#fff !important;
    font-size:11px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.055em !important;
    text-align:center !important;
    white-space:nowrap !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 h1{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:13px !important;
    width:100% !important;
    margin:0 auto 9px !important;
    color:#fff !important;
    font-size:32px !important;
    line-height:1.08 !important;
    font-weight:900 !important;
    letter-spacing:-.02em !important;
    text-align:center !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 h1::before,
.ab-catalog-request-head.ab-catalog-head-option4 h1::after{
    content:"" !important;
    display:block !important;
    width:28px !important;
    height:2px !important;
    flex:0 0 28px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.55) !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 p{
    max-width:560px !important;
    margin:0 auto !important;
    color:#fff !important;
    font-size:15px !important;
    line-height:1.45 !important;
    font-weight:500 !important;
    text-align:center !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-notch{
    position:absolute !important;
    left:50% !important;
    bottom:-19px !important;
    transform:translateX(-50%) !important;
    width:86px !important;
    height:38px !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
    padding-top:7px !important;
    box-sizing:border-box !important;
    border-radius:28px 28px 0 0 !important;
    background:#fff !important;
    color:#0964c9 !important;
    box-shadow:0 -1px 0 rgba(255,255,255,.55) !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-notch svg{
    width:25px !important;
    height:25px !important;
    display:block !important;
    fill:currentColor !important;
}

/* No modal o X continua acima do banner e não interfere no desenho. */
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4{
    margin-bottom:16px !important;
}

@media(max-width:767px){
    .ab-catalog-request-head.ab-catalog-head-option4{
        margin-bottom:16px !important;
        padding:19px 14px 19px !important;
        border-radius:15px !important;
    }

    .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-kicker{
        min-height:27px !important;
        margin-bottom:11px !important;
        padding:0 12px !important;
        font-size:9px !important;
    }

    .ab-catalog-request-head.ab-catalog-head-option4 h1{
        gap:8px !important;
        margin-bottom:8px !important;
        font-size:24px !important;
        line-height:1.08 !important;
    }

    .ab-catalog-request-head.ab-catalog-head-option4 h1::before,
    .ab-catalog-request-head.ab-catalog-head-option4 h1::after{
        width:16px !important;
        flex-basis:16px !important;
        height:1px !important;
    }

    .ab-catalog-request-head.ab-catalog-head-option4 p{
        max-width:92% !important;
        font-size:12px !important;
        line-height:1.4 !important;
    }

    .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-notch{
        bottom:-17px !important;
        width:72px !important;
        height:34px !important;
        padding-top:6px !important;
    }

    .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-notch svg{
        width:23px !important;
        height:23px !important;
    }
}


/* AVIAO BRANCO — REFINO OPÇÃO 4 SEM LINHAS E SEM NOTCH */
.ab-catalog-request-head.ab-catalog-head-option4 h1::before,
.ab-catalog-request-head.ab-catalog-head-option4 h1::after{
    content:none !important;
    display:none !important;
}

.ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-notch{
    display:none !important;
}

.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4{
    margin-bottom:16px !important;
}

@media(max-width:767px){
    .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-notch{
        display:none !important;
    }
}

/* AVIÃO BRANCO — TEXTO BRANCO NOS BOTÕES DE ENVIO DO CATÁLOGO */
body.aviao-catalog-request-page .ab-catalog-request-submit,
.ab-catalog-modal .ab-catalog-request-submit,
.ab-catalog-request .ab-catalog-request-submit{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

body.aviao-catalog-request-page .ab-catalog-request-submit:hover,
body.aviao-catalog-request-page .ab-catalog-request-submit:focus,
.ab-catalog-modal .ab-catalog-request-submit:hover,
.ab-catalog-modal .ab-catalog-request-submit:focus,
.ab-catalog-request .ab-catalog-request-submit:hover,
.ab-catalog-request .ab-catalog-request-submit:focus{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}

/* ==========================================================
   AVIÃO BRANCO — PÁGINA SOLICITAR CATÁLOGO LIMPA
   Remove fundo/rodapé do tema pai somente nesta página.
   ========================================================== */
body.aviao-catalog-request-page,
body.aviao-catalog-request-page #page,
body.aviao-catalog-request-page .site,
body.aviao-catalog-request-page .site-content,
body.aviao-catalog-request-page #content,
body.aviao-catalog-request-page .content-area,
body.aviao-catalog-request-page .site-main,
body.aviao-catalog-request-page article.page,
body.aviao-catalog-request-page .entry-content{
    background:#fff !important;
    min-height:0 !important;
    height:auto !important;
    margin-bottom:0 !important;
    padding-bottom:0 !important;
    box-shadow:none !important;
}

body.aviao-catalog-request-page footer,
body.aviao-catalog-request-page .site-footer,
body.aviao-catalog-request-page .footer-v1,
body.aviao-catalog-request-page .footer-v2,
body.aviao-catalog-request-page .footer-widgets,
body.aviao-catalog-request-page .footer-newsletter,
body.aviao-catalog-request-page .footer-contact,
body.aviao-catalog-request-page .footer-contact-info,
body.aviao-catalog-request-page .footer-bottom,
body.aviao-catalog-request-page .footer-social-icons,
body.aviao-catalog-request-page .site-info,
body.aviao-catalog-request-page .copyright,
body.aviao-catalog-request-page .handheld-footer-bar,
body.aviao-catalog-request-page .footer-mobile-sticky{
    display:none !important;
    min-height:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
}

body.aviao-catalog-request-page .ab-catalog-request{
    margin-bottom:24px !important;
}

/* Texto branco garantido no botão final, inclusive contra estilos do tema pai. */
body.aviao-catalog-request-page .ab-catalog-request-submit,
body.aviao-catalog-request-page .ab-catalog-request-submit:hover,
body.aviao-catalog-request-page .ab-catalog-request-submit:focus,
.ab-catalog-modal .ab-catalog-request-submit,
.ab-catalog-modal .ab-catalog-request-submit:hover,
.ab-catalog-modal .ab-catalog-request-submit:focus{
    color:#fff !important;
    -webkit-text-fill-color:#fff !important;
}


/* AVIAO BRANCO — fechar página Solicitar Catálogo */
body.aviao-catalog-request-page .ab-catalog-request{position:relative;}
body.aviao-catalog-request-page .ab-catalog-page-close{
    position:absolute;z-index:5;top:10px;right:10px;width:34px;height:34px;margin:0;padding:0;
    display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.72);
    border-radius:50%;background:rgba(0,61,155,.18);color:#fff !important;font:400 28px/1 Arial,sans-serif;
    box-shadow:none;cursor:pointer;
}
body.aviao-catalog-request-page .ab-catalog-page-close:hover,
body.aviao-catalog-request-page .ab-catalog-page-close:focus{background:rgba(0,61,155,.32);color:#fff !important;outline:none;}
@media(max-width:767px){body.aviao-catalog-request-page .ab-catalog-page-close{top:8px;right:18px;width:30px;height:30px;font-size:24px;}}


/* AVIÃO BRANCO — FORMULÁRIO ÚNICO / AVISO DE ATACADO V36 */
.ab-catalog-wholesale-notice{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px 10px;
    flex-wrap:wrap;
    margin:-4px 0 14px;
    padding:10px 14px;
    border:1px solid #d7e4f2;
    border-radius:10px;
    background:#f7fbff;
    color:#23405f;
    text-align:center;
}
.ab-catalog-wholesale-notice strong{
    color:#064faa;
    font-size:12px;
    line-height:1.25;
    font-weight:900;
}
.ab-catalog-wholesale-notice span{
    color:#4b6075;
    font-size:12px;
    line-height:1.25;
    font-weight:600;
}
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4{
    background:linear-gradient(135deg,#0457c8 0%,#16b7db 52%,#0a54c7 100%) !important;
}
.ab-catalog-modal .ab-catalog-head-option4 h1::before,
.ab-catalog-modal .ab-catalog-head-option4 h1::after,
.ab-catalog-modal .ab-catalog-head-notch{
    display:none !important;
    content:none !important;
}
@media(max-width:767px){
    .ab-catalog-wholesale-notice{
        margin:0 0 12px;
        padding:9px 10px;
        gap:3px;
        flex-direction:column;
    }
    .ab-catalog-wholesale-notice strong,
    .ab-catalog-wholesale-notice span{font-size:11px;}
}


/* ==========================================================
   AVIÃO BRANCO — V39 CORREÇÃO DEFINITIVA DO MODAL
   Banner vertical + aviso de unidade acionado no modal.
   ========================================================== */
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    width:100% !important;
    min-width:0 !important;
    padding:24px 28px !important;
    box-sizing:border-box !important;
    background:linear-gradient(135deg,#0457c8 0%,#16b7db 52%,#0a54c7 100%) !important;
    text-align:center !important;
}
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-kicker,
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 h1,
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 p{
    position:static !important;
    float:none !important;
    clear:both !important;
    transform:none !important;
    left:auto !important;
    right:auto !important;
}
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-kicker{
    display:inline-flex !important;
    flex:0 0 auto !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 auto 12px !important;
    white-space:nowrap !important;
}
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 h1{
    display:block !important;
    flex:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 auto 9px !important;
    padding:0 !important;
    text-align:center !important;
}
.ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 p{
    display:block !important;
    flex:none !important;
    width:100% !important;
    max-width:560px !important;
    margin:0 auto !important;
    padding:0 !important;
    text-align:center !important;
}
.ab-catalog-modal .ab-catalog-head-option4 h1::before,
.ab-catalog-modal .ab-catalog-head-option4 h1::after,
.ab-catalog-modal .ab-catalog-head-notch{
    display:none !important;
    content:none !important;
}

.ab-catalog-request-warning[hidden]{
    display:none !important;
}
.ab-catalog-request-warning.is-visible,
.ab-catalog-request-warning:not([hidden]){
    display:block !important;
    margin:10px 0 0 !important;
    padding:13px 14px !important;
    border:1px solid #e3b44d !important;
    border-radius:9px !important;
    background:#fff8e7 !important;
    color:#674900 !important;
}
.ab-catalog-request-warning.is-visible strong,
.ab-catalog-request-warning:not([hidden]) strong{
    color:#674900 !important;
}

@media(max-width:767px){
    .ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4{
        padding:19px 42px 19px 18px !important;
        border-radius:15px !important;
    }
    .ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 .ab-catalog-head-kicker{
        margin-bottom:10px !important;
        font-size:9px !important;
    }
    .ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 h1{
        font-size:24px !important;
        line-height:1.08 !important;
    }
    .ab-catalog-modal .ab-catalog-request-head.ab-catalog-head-option4 p{
        max-width:310px !important;
        font-size:12px !important;
        line-height:1.4 !important;
    }
}
