/* V47 - Categoria Premium horizontal + métricas do anúncio realmente lado a lado */

/* Página de categoria: largura ampla e linhas horizontais Premium */
body.page-categoria .category-ads-v46{
  width:calc(100% - 24px)!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding:14px 0 38px!important;
}
body.page-categoria .category-ads-v46-head{
  position:relative!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin:0 0 18px!important;
  padding:24px 26px!important;
  border:1px solid rgba(15,23,42,.08)!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f6f9ff 72%,rgba(29,117,230,.08) 100%)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.08)!important;
}
body.page-categoria .category-ads-v46-head:after{
  content:""!important;position:absolute!important;right:-50px!important;top:-70px!important;width:210px!important;height:210px!important;border-radius:50%!important;background:color-mix(in srgb,var(--primary,#1676df) 12%,transparent)!important;pointer-events:none!important
}
body.page-categoria .category-ads-v46-list{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important}
body.page-categoria .category-ad-v46{
  display:grid!important;
  grid-template-columns:250px minmax(0,1fr)!important;
  width:100%!important;
  min-height:184px!important;
  border:1px solid #e5ebf2!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(15,23,42,.07)!important;
  transform:none!important;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
}
body.page-categoria .category-ad-v46:hover{transform:translateY(-2px)!important;border-color:color-mix(in srgb,var(--primary,#1676df) 28%,#e5ebf2)!important;box-shadow:0 20px 46px rgba(15,23,42,.11)!important}
body.page-categoria .category-ad-v46-media{
  position:relative!important;display:block!important;width:250px!important;height:100%!important;min-height:184px!important;overflow:hidden!important;background:linear-gradient(135deg,#eaf0f6,#dfe8f2)!important
}
body.page-categoria .category-ad-v46-media:after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,transparent 65%,rgba(5,18,35,.09))!important;pointer-events:none!important}
body.page-categoria .category-ad-v46-media img{display:block!important;width:100%!important;height:100%!important;min-height:184px!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;margin:0!important}
body.page-categoria .category-ad-v46-body{display:flex!important;flex-direction:column!important;min-width:0!important;padding:18px 22px 17px!important;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)!important}
body.page-categoria .category-ad-v46-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 8px!important}
body.page-categoria .category-ad-v46-badge{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:6px 10px!important;border-radius:999px!important;background:color-mix(in srgb,var(--primary,#1676df) 10%,#fff)!important;color:var(--primary,#1676df)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
body.page-categoria .category-ad-v46-online{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:5px 9px!important;border-radius:999px!important;background:#ecfdf3!important;color:#16894a!important;font-size:10px!important;font-weight:900!important}
body.page-categoria .category-ad-v46-online i{width:7px!important;height:7px!important;border-radius:50%!important;background:#22c55e!important;box-shadow:0 0 0 4px rgba(34,197,94,.11)!important}
body.page-categoria .category-ad-v46-body h2{margin:0 0 5px!important;font-size:24px!important;line-height:1.15!important;letter-spacing:-.025em!important}
body.page-categoria .category-ad-v46-body h2 a{color:#172033!important;text-decoration:none!important}
body.page-categoria .category-ad-v46-location{margin:0 0 7px!important;color:#64748b!important;font-size:12px!important;font-weight:800!important}
body.page-categoria .category-ad-v46-desc{margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.5!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.page-categoria .category-ad-v46-actions{display:flex!important;align-items:center!important;gap:9px!important;margin-top:auto!important;padding-top:13px!important}
body.page-categoria .category-ad-v46-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;height:38px!important;padding:0 15px!important;border-radius:11px!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important}
body.page-categoria .category-ad-v46-wa{background:#25D366!important;color:#fff!important;box-shadow:0 8px 20px rgba(37,211,102,.18)!important}
body.page-categoria .category-ad-v46-open{margin-left:auto!important;min-width:132px!important;background:var(--primary,#1676df)!important;color:#fff!important;box-shadow:0 8px 20px color-mix(in srgb,var(--primary,#1676df) 20%,transparent)!important}

/* Anúncio específico: estatísticas SEM a estrutura antiga .advertiser-mini */
body.page-anuncio .advertiser-side-v47{width:100%!important;max-width:none!important;position:static!important;top:auto!important;display:block!important}
body.page-anuncio .advertiser-stats-v47{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.page-anuncio .advertiser-stat-v47{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  min-height:64px!important;
  padding:10px 12px!important;
  border:1px solid #e6ebf2!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,#fff,#f8fbff)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.055)!important;
}
body.page-anuncio .advertiser-stat-icon-v47{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:12px!important;background:color-mix(in srgb,var(--primary,#1676df) 11%,#fff)!important;color:var(--primary,#1676df)!important;font-size:15px!important}
body.page-anuncio .advertiser-stat-copy-v47{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;line-height:1.1!important}
body.page-anuncio .advertiser-stat-copy-v47 b{display:block!important;min-width:0!important;margin:0!important;color:#172033!important;font-size:14px!important;font-weight:900!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.page-anuncio .advertiser-stat-copy-v47 small{display:block!important;margin-top:4px!important;color:#8a96a5!important;font-size:9px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.07em!important}

@media(max-width:700px){
  body.page-categoria .category-ads-v46{width:calc(100% - 16px)!important;padding-top:8px!important}
  body.page-categoria .category-ads-v46-head{padding:18px!important;border-radius:19px!important;align-items:flex-start!important}
  body.page-categoria .category-ads-v46-head p{font-size:12px!important}
  body.page-categoria .category-ad-v46{grid-template-columns:118px minmax(0,1fr)!important;min-height:158px!important;border-radius:18px!important}
  body.page-categoria .category-ad-v46-media{width:118px!important;min-height:158px!important}
  body.page-categoria .category-ad-v46-media img{min-height:158px!important}
  body.page-categoria .category-ad-v46-body{padding:12px 11px!important}
  body.page-categoria .category-ad-v46-body h2{font-size:17px!important;margin-bottom:4px!important}
  body.page-categoria .category-ad-v46-location{font-size:10.5px!important;margin-bottom:5px!important}
  body.page-categoria .category-ad-v46-desc{font-size:10.8px!important;-webkit-line-clamp:1!important}
  body.page-categoria .category-ad-v46-top{margin-bottom:5px!important}
  body.page-categoria .category-ad-v46-badge{padding:4px 7px!important;font-size:8px!important}
  body.page-categoria .category-ad-v46-online{padding:4px 6px!important;font-size:8px!important}
  body.page-categoria .category-ad-v46-actions{gap:6px!important;padding-top:9px!important}
  body.page-categoria .category-ad-v46-actions a{height:32px!important;padding:0 9px!important;font-size:9.5px!important;border-radius:9px!important}
  body.page-categoria .category-ad-v46-open{min-width:0!important;flex:1!important;margin-left:0!important}
  body.page-anuncio .advertiser-stats-v47{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.page-anuncio .advertiser-stat-v47{min-height:56px!important;padding:8px!important;gap:8px!important;border-radius:13px!important}
  body.page-anuncio .advertiser-stat-icon-v47{flex-basis:31px!important;width:31px!important;height:31px!important;border-radius:10px!important;font-size:12px!important}
  body.page-anuncio .advertiser-stat-copy-v47 b{font-size:11.5px!important}
  body.page-anuncio .advertiser-stat-copy-v47 small{font-size:7.5px!important;letter-spacing:.04em!important}
}
@media(max-width:410px){
  body.page-categoria .category-ad-v46{grid-template-columns:104px minmax(0,1fr)!important}
  body.page-categoria .category-ad-v46-media{width:104px!important}
  body.page-categoria .category-ad-v46-wa{font-size:0!important;width:34px!important;padding:0!important;flex:0 0 34px!important}
  body.page-categoria .category-ad-v46-wa i{font-size:15px!important}
  body.page-anuncio .advertiser-stats-v47{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
