/*
This is your custom Style Sheet. It's the last css resource loaded so you can
easily overwrite css selectors from other style sheets.
*/
/* PRIMIG: comparacao compacta e rodape, 11/10/2026 */
.footer .footer-content{padding:32px 0!important}
.footer .footer-content .wrapper{display:grid!important;grid-template-columns:2fr 1fr;gap:32px;align-items:start}
.footer .footer-item{width:auto!important;max-width:none!important;margin:0!important}
.footer .footer-item[data-content="site-content"] .footer-item-content{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 24px}
.footer .link-footer{margin:0!important;line-height:1.5}
.footer .footer-item-title{font-size:18px;margin-bottom:18px}
.footer .footer-bar{padding:20px 0!important}
.footer .footer-copyright{font-size:14px!important;line-height:1.7!important;max-width:960px}
.footer .im-integration a{display:inline-block;padding:10px 14px;background:#fff;color:#123653!important;border-radius:8px;font-weight:600}
@media(max-width:767px){
.pricing-plans .pricing-plans-cards-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible!important;width:100%!important}
.pricing-plans .pricing-plan-card-wrapper{width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
.pricing-plans .pricing-plan-card{height:100%;margin:0!important}
.pricing-plans .pricing-plan-card-header{padding:16px 12px!important}
.pricing-plans .pricing-plan-card-body{padding:12px!important}
.pricing-plans .card-title{font-size:17px!important;line-height:1.25!important;min-height:44px}
.pricing-plans .main-price{flex-wrap:wrap}
.pricing-plans .main-price .value{font-size:21px!important}
.pricing-plans .alt-price{font-size:13px!important;line-height:1.5}
.pricing-plans .button{padding:12px 6px!important;font-size:13px!important;min-width:0!important;width:100%}
.pricing-plans .card-content-item-header .title{font-size:13px;overflow-wrap:anywhere}
.footer .footer-content .wrapper{grid-template-columns:1fr;gap:24px}
.footer .footer-item[data-content="site-content"] .footer-item-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.footer .footer-content{padding:28px 0!important}
}

@media(max-width:767px){.pricing-plans .pricing-plan-card .highlight-text{position:static!important;height:auto!important;min-height:0!important;padding:8px!important;font-size:13px!important;line-height:1.4!important;white-space:normal!important}.pricing-plans .pricing-plan-card.highlight{margin-top:0!important}}

@media(max-width:767px){.pricing-plans .pricing-plan-card .highlight-text{transform:none!important;left:auto!important;top:auto!important;width:auto!important;background:#c62828;color:#fff;border-radius:10px 10px 0 0}.pricing-plans .pricing-plan-card.highlight:before{display:none!important}}

/* PRIMIG: categorias sem transbordamento no celular */
@media(max-width:767px){.categories-dropdown-content{max-width:100%!important;min-width:0!important;box-sizing:border-box}.categories-dropdown-content .link{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}}
/* PRIMIG: ciclos do checkout em telas pequenas */
@media(max-width:767px){.payment-recurrence-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important}.payment-recurrence-options .payment-recurrence{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box}.payment-recurrence-options .payment-recurrence label{width:100%!important;min-width:0!important;white-space:normal!important;box-sizing:border-box}}
/* PRIMIG: rodape institucional, revisao final 11/10/2026 */
.footer{display:flex;flex-direction:column;background:linear-gradient(120deg,#102d46,#173f5d)!important;border-top:5px solid #cf292b;color:#e9f0f6}
.footer .footer-bar{order:-1;padding:38px 0 30px!important;border:0!important;background:transparent!important}
.footer .footer-bar .wrapper{display:block!important}
.footer .footer-copyright{max-width:890px!important;color:#edf4fa!important;font-size:20px!important;line-height:1.65!important;text-align:left!important}
.footer .footer-copyright:before{content:"PRIMIG / GUIA COMERCIAL";display:block;font-size:14px;font-weight:800;letter-spacing:2.5px;color:#fff;margin-bottom:16px}
.footer .footer-content{padding:30px 0 42px!important;border-top:1px solid rgba(255,255,255,.16)}
.footer .footer-content .wrapper{grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr)!important;gap:48px!important}
.footer .footer-item-title{font-size:20px!important;line-height:1.3!important;font-weight:700!important;margin-bottom:18px!important;color:#fff!important}
.footer .footer-item[data-content="site-content"] .footer-item-content{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px 24px!important}
.footer .link-footer{display:flex!important;align-items:center;min-height:42px;padding:8px 0!important;font-size:15px!important;color:#dce7f0!important;text-decoration:none;overflow-wrap:anywhere}
.footer .link-footer:hover{color:#fff!important;text-decoration:underline}
.footer a:focus-visible{outline:3px solid #fff;outline-offset:4px;border-radius:4px}
.footer .link-footer[href$="/anunciar"]{background:#d42b2e!important;color:#fff!important;border-radius:8px;padding:10px 16px!important;font-weight:700;justify-content:center;text-align:center}
.footer .footer-item[data-content="contact-content"]{padding:22px!important;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(255,255,255,.05)}
.footer .footer-info{font-size:15px!important;line-height:1.75!important;color:#e2ecf4!important}
.footer .footer-info a{color:#fff!important}
.footer .im-integration{display:flex;align-items:center;gap:10px;margin-top:12px}
.footer .im-integration a{background:#fff!important;color:#123653!important;padding:10px 14px!important;border-radius:8px!important;font-size:15px;min-height:44px}
.footer .im-integration a:before{content:"WhatsApp: ";font-weight:700}
@media(max-width:767px){.footer .footer-bar{padding:28px 0 24px!important}.footer .footer-copyright{font-size:17px!important;line-height:1.7!important}.footer .footer-copyright:before{font-size:12px;letter-spacing:1.8px}.footer .footer-content{padding:26px 0 80px!important}.footer .footer-content .wrapper{grid-template-columns:1fr!important;gap:26px!important}.footer .footer-item[data-content="site-content"] .footer-item-content{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 18px!important}.footer .footer-item-title{font-size:19px!important}.footer .link-footer{font-size:14px!important;min-height:44px}.footer .footer-item[data-content="contact-content"]{padding:20px!important}.footer .im-integration a{overflow-wrap:anywhere}}

/* PRIMIG: passos legiveis no FAQ privado, 11/10/2026 */
.account-area .toggle-content .paragraph{white-space:pre-line;line-height:1.7}

/* PRIMIG: passos de ajuda legiveis no FAQ publico, 17/10/2026 */
.faq-page .toggle-content .paragraph{white-space:pre-line;line-height:1.7;overflow-wrap:anywhere}

/* PRIMIG: pagina inicial compacta e acessos claros, 19/10/2026. Escopo exclusivo da inicial. */
body:has(#primig-home-hub) > .hero-with-slider{padding:32px 0!important}
body:has(#primig-home-hub) > .hero-default.empty-hero{padding:32px 0!important}
body:has(#primig-home-hub) > .hero-default.empty-hero .hero-header{max-width:780px;margin:0 auto}
body:has(#primig-home-hub) > .hero-default.empty-hero .heading{font-size:30px;line-height:1.2}
body:has(#primig-home-hub) > .custom-content{padding:24px 0!important}
body:has(#primig-home-hub) > .banner{padding:20px 0!important}
body:has(#primig-home-hub) > .cards-default{padding:28px 0!important}
body:has(#primig-home-hub) .cards-header{margin-bottom:22px!important;gap:16px;align-items:center}
body:has(#primig-home-hub) .cards-header > .link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #dbe6ee;border-radius:8px;background:#f1f6fa;color:#153b56;font-weight:700;white-space:normal}
.primig-home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.primig-home-shortcuts a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 16px;border:1px solid #dbe6ee;border-radius:9px;background:#fff;color:#153b56;font-size:16px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none}
.primig-home-shortcuts a:hover{background:#eaf2f8;border-color:#153b56}
.primig-home-shortcuts a:focus-visible,body:has(#servicos-uteis) .cards-header > .link:focus-visible{outline:3px solid #cf292b;outline-offset:3px}
body:has(#primig-home-hub) [card-module="blog"] .cards-list-half{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body:has(#primig-home-hub) [card-module="blog"] .cards-list-half > .card{width:auto!important;max-width:none!important;min-width:0;min-height:0!important;margin:0!important}
body:has(#primig-home-hub) [card-module="blog"] .card > .picture{height:210px!important;min-height:0!important;max-height:210px!important}
body:has(#primig-home-hub) [card-module="blog"] .card > .picture img{width:100%;height:100%;object-fit:cover}
body:has(#primig-home-hub) [card-module="blog"] .card .content{padding:20px!important}
body:has(#primig-home-hub) [card-module="blog"] .card .title{font-size:20px!important;line-height:1.3!important}
body:has(#primig-home-hub) > .footer .footer-bar{padding:24px 0!important}
body:has(#primig-home-hub) > .footer .footer-copyright{font-size:18px!important;line-height:1.6!important}
@media(max-width:767px){
body:has(#primig-home-hub) > .hero-with-slider{padding:24px 0!important}
body:has(#primig-home-hub) > .hero-default.empty-hero{padding:24px 0!important}
body:has(#primig-home-hub) > .hero-default.empty-hero .heading{font-size:26px}
body:has(#primig-home-hub) > .custom-content{padding:20px 0!important}
body:has(#primig-home-hub) > .cards-default{padding:22px 0!important}
body:has(#primig-home-hub) > .banner{padding:16px 0!important}
body:has(#primig-home-hub) .cards-header{flex-wrap:wrap;gap:12px;margin-bottom:18px!important}
body:has(#primig-home-hub) .cards-header > .link{width:100%}
.primig-home-shortcuts{gap:8px;margin-bottom:16px}
.primig-home-shortcuts a{font-size:14px;padding:12px 6px;min-height:60px}
body:has(#primig-home-hub) [card-module="blog"] .cards-list-half{grid-template-columns:minmax(0,1fr);gap:16px}
body:has(#primig-home-hub) [card-module="blog"] .card > .picture{height:180px!important;max-height:180px!important}
body:has(#primig-home-hub) [card-module="blog"] .card .content{padding:16px!important}
body:has(#primig-home-hub) [card-module="blog"] .card .title{font-size:18px!important}
body:has(#primig-home-hub) > .footer .footer-copyright{font-size:16px!important}
}

/* PRIMIG: imagens proporcionais no celular, preservando anuncios e rodizio. */
@media(max-width:767px){
body:has(#primig-home-hub) .hero-with-slider .hero-default.hero-with-slider,
body:has(#primig-home-hub) .hero-slider,
body:has(#primig-home-hub) .hero-slider .flickity-viewport,
body:has(#primig-home-hub) .hero-slider .carousel-cell{height:240px!important;min-height:240px!important}
body:has(#primig-home-hub) [card-module="listing"] .card > .picture{height:180px!important;min-height:0!important;max-height:180px!important;padding-bottom:0!important}
body:has(#primig-home-hub) [card-module="listing"] .card .picture-link{height:100%!important}
body:has(#primig-home-hub) [card-module="listing"] .card .picture img{width:100%;height:100%;object-fit:cover}
body:has(#primig-home-hub) [card-module="listing"] .card .content{padding:16px!important}
}

@media(max-width:767px){
body:has(#primig-home-hub) .cards-header{display:flex!important;flex-direction:column!important;align-items:stretch!important}
body:has(#primig-home-hub) .cards-header .widget-header-content{width:100%}
body:has(#primig-home-hub) [card-module="listing"] .cards-wrapper > .cards-list{order:0!important}
body:has(#primig-home-hub) [card-module="listing"] .cards-wrapper > .cards-ads{order:1!important;margin:12px 0 0!important}
body:has(#primig-home-hub) [card-module="listing"] .card .picture img{object-fit:contain!important;background:#f4f7fa}
}

@media(max-width:767px){body:has(#primig-home-hub) [card-module="listing"] .card .picture img{height:180px!important;width:100%!important;min-height:0!important;min-width:0!important;max-width:100%!important;position:static!important;transform:none!important;display:block;object-fit:contain!important}}

@media(max-width:767px){body:has(#primig-home-hub) .cards-header > .widget-header-content,body:has(#primig-home-hub) .cards-header > .link{margin:0!important}}

/* PRIMIG: Como chegar com area de toque confortavel no celular, 21/10/2026. */
@media(max-width:767px){
.tab-item-location .tab-item-content > a.button[href*="maps.google.com/maps"]{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;box-sizing:border-box;padding:12px 16px;font-size:16px;line-height:1.4;white-space:normal;border-radius:8px}
.tab-item-location .tab-item-content > a.button[href*="maps.google.com/maps"]:focus-visible{outline:3px solid #153b56;outline-offset:3px}
}

/* PRIMIG: leitura das descricoes dos anunciantes no celular, 23/10/2026. */
@media(max-width:767px){
.tab-item-about .tab-item-content p{text-align:left!important;line-height:1.65!important;overflow-wrap:break-word}
}

/* PRIMIG — inicial harmonizada, 29/10/2026. Ativa apenas com o novo hub. */
body:has(#primig-home-hub){--primig-ink:#153b56;--primig-line:#dce6ed;--primig-soft:#f2f6f9}
body:has(#primig-home-hub)>.hero-default.empty-hero{display:none!important}
body:has(#primig-home-hub)>.hero-with-slider{padding:22px 0 18px!important}
body:has(#primig-home-hub)>.custom-content:has(#primig-home-hub){padding:14px 0 22px!important}
#primig-home-hub{color:#153b56}
#primig-home-hub .primig-hub-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px}
#primig-home-hub .primig-hub-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:10px 16px;border:1px solid #dce6ed;border-radius:9px;color:#153b56;background:#fff;text-decoration:none;font-size:15px;font-weight:700;line-height:1.3}
#primig-home-hub .primig-hub-links a:first-child{background:#153b56;color:#fff;border-color:#153b56}
#primig-home-hub .primig-hub-links a:hover{border-color:#bb2429;box-shadow:0 2px 8px #153b5610}
#primig-home-hub .primig-hub-utilities{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#primig-home-hub section{box-sizing:border-box;margin:0;padding:18px 20px;border:1px solid #dce6ed;border-radius:12px;background:#f2f6f9;min-width:0}
#primig-home-hub h2{font-size:21px;line-height:1.25;margin:0 0 6px;font-weight:750;color:#153b56}
#primig-home-hub p{font-size:14px;line-height:1.45;margin:0 0 10px;color:#485f70}
#primig-home-hub .primig-hub-button,#primig-home-hub .primig-hub-official a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border-radius:7px;font-size:14px;line-height:1.3;font-weight:700;text-decoration:none}
#primig-home-hub .primig-hub-button{background:#bd2026;color:white}
#primig-home-hub .primig-hub-official{display:flex;flex-wrap:wrap;gap:8px}
#primig-home-hub .primig-hub-official a{border:1px solid #c8d6df;background:white;color:#153b56}
#primig-home-hub #servicos-uteis{scroll-margin-top:90px}
#primig-home-hub a:focus-visible{outline:3px solid #bd2026;outline-offset:3px}
body:has(#primig-home-hub)>.cards-default{padding:24px 0!important}
body:has(#primig-home-hub) .cards-header{margin-bottom:16px!important}
body:has(#primig-home-hub) .cards-header .heading{font-size:28px!important;line-height:1.2!important}
body:has(#primig-home-hub) .cards-header .widget-header-subtitle{font-size:15px!important;line-height:1.45!important;margin-top:7px!important}
body:has(#primig-home-hub) [card-module="listing"] .card{border:1px solid #dce6ed!important;border-radius:12px!important;overflow:visible!important;box-shadow:0 3px 14px #153b5608;min-height:0!important}
body:has(#primig-home-hub) [card-module="listing"] .card>.picture{height:170px!important;min-height:0!important;max-height:170px!important;padding-bottom:0!important;border-radius:11px 11px 0 0;overflow:hidden}
body:has(#primig-home-hub) [card-module="listing"] .picture-link{height:100%!important}
body:has(#primig-home-hub) [card-module="listing"] .card .picture img{position:static!important;transform:none!important;width:100%!important;height:170px!important;min-width:0!important;min-height:0!important;max-width:100%!important;object-fit:contain!important;background:#f3f6f9}
body:has(#primig-home-hub) [card-module="listing"] .card .content{padding:16px!important;gap:8px!important}
body:has(#primig-home-hub) [card-module="listing"] .card .title{font-size:18px!important;line-height:1.3!important;white-space:normal!important;display:block!important;height:auto!important;max-height:none!important}
body:has(#primig-home-hub) [card-module="listing"] .card .description .paragraph{font-size:14px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;max-height:2.9em!important;margin:0!important}
body:has(#primig-home-hub) [card-module="listing"] .card .description{margin:0!important}
body:has(#primig-home-hub) [card-module="listing"] .card .location{font-size:13px!important}
body:has(#primig-home-hub) [card-module="listing"] .cards-wrapper{align-items:start!important}
body:has(#primig-home-hub) [card-module="blog"] .card>.picture{height:180px!important;min-height:0!important;max-height:180px!important;overflow:hidden}
body:has(#primig-home-hub) [card-module="blog"] .card>.picture img{width:100%!important;height:180px!important;object-fit:cover!important;position:static!important;transform:none!important;min-width:0!important;min-height:0!important}
body:has(#primig-home-hub) [card-module="blog"] .card .title{font-size:19px!important;line-height:1.3!important}
body:has(#primig-home-hub) [card-module="blog"] .card .description .paragraph{font-size:14px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;max-height:2.9em!important}
body:has(#primig-home-hub)>.banner{padding:16px 0!important}
body:has(#primig-home-hub)>.footer .footer-bar{padding:22px 0!important}
body:has(#primig-home-hub)>.footer .footer-copyright{font-size:16px!important;line-height:1.5!important}
body:has(#primig-home-hub)>.footer .footer-copyright:before{margin-bottom:8px!important}
@media(min-width:768px){body:has(#primig-home-hub) .hero-header>.heading{font-size:36px!important;line-height:1.15!important}body:has(#primig-home-hub) .hero-header .paragraph{font-size:18px!important}body:has(#primig-home-hub)>.footer .footer-content{padding:22px 0 30px!important}}
@media(max-width:767px){
body:has(#primig-home-hub)>.hero-with-slider{padding:20px 0 12px!important}
body:has(#primig-home-hub)>.custom-content:has(#primig-home-hub){padding:12px 0 18px!important}
#primig-home-hub .primig-hub-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
#primig-home-hub .primig-hub-links a{font-size:14px;padding:10px 12px;min-height:46px}
#primig-home-hub .primig-hub-utilities{grid-template-columns:1fr;gap:10px}
#primig-home-hub section{padding:15px 16px}
#primig-home-hub h2{font-size:20px}
#primig-home-hub .primig-hub-button{width:100%}
#primig-home-hub .primig-hub-official a{flex:1 1 120px;font-size:13px;padding:10px 8px}
body:has(#primig-home-hub) .cards-header .heading{font-size:24px!important}
body:has(#primig-home-hub) .cards-header{margin-bottom:14px!important;gap:10px!important}
body:has(#primig-home-hub)>.cards-default{padding:20px 0!important}
body:has(#primig-home-hub) [card-module="listing"] .card>.picture{height:150px!important;max-height:150px!important}
body:has(#primig-home-hub) [card-module="listing"] .card .picture img{height:150px!important}
body:has(#primig-home-hub) [card-module="listing"] .card .content{padding:14px!important}
body:has(#primig-home-hub) [card-module="blog"] .card>.picture{height:170px!important;max-height:170px!important}
body:has(#primig-home-hub) [card-module="blog"] .card>.picture img{height:170px!important}
body:has(#primig-home-hub) [card-module="blog"] .card .title{font-size:18px!important}
body:has(#primig-home-hub)>.banner{padding:12px 0!important}
}
/* Fim da revisao da inicial de 29/10/2026. */

/* PRIMIG: WhatsApp evidente nos anuncios, 29/10/2026. Preserva numero, destino e medicao nativos. */
body:has(#listing-title) .details-contact:has(.instant-messenger-icon[imtype="whatsapp"]){display:flex!important;flex-direction:column;align-items:stretch;gap:12px}
body:has(#listing-title) .details-contact .contact-item:has(>.instant-messenger-icon[imtype="whatsapp"]){order:-1;position:relative;display:block!important;width:100%;max-width:340px;margin:0!important;padding:0!important;box-sizing:border-box}
body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"]{position:absolute;left:16px;top:50%;transform:translateY(-50%);z-index:1;width:30px;height:30px;margin:0!important;pointer-events:none;color:#fff!important}
body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"] svg{display:block;width:30px;height:30px;fill:#fff!important}
body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"]+a{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;width:100%;min-height:80px;box-sizing:border-box;padding:13px 16px 13px 58px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:#117c43!important;color:#fff!important;font-size:21px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:.3px;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;box-shadow:0 4px 14px rgba(0,0,0,.16)}
body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"]+a:before{content:"Fale pelo WhatsApp";display:block;font-size:14px;line-height:1.3;font-weight:600;letter-spacing:0}
body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"]+a:hover{background:#086335!important;box-shadow:0 5px 18px rgba(0,0,0,.22)}
body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"]+a:focus-visible{outline:3px solid #ffcf4a;outline-offset:4px}
@media(max-width:767px){body:has(#listing-title) .details-contact .contact-item:has(>.instant-messenger-icon[imtype="whatsapp"]){max-width:none}body:has(#listing-title) .details-contact .instant-messenger-icon[imtype="whatsapp"]+a{min-height:80px;font-size:22px!important}}
/* Fim do destaque de WhatsApp PRIMIG. */
