/* =====================================================================
   Codec 101 — Cabeçalho com busca integrada
   Faixa escura da marca (#292929), laranja #F28802 com texto escuro.
   ===================================================================== */

/* O cabeçalho do Elementor vira só o suporte: fixo no topo, sem espaços. */
.cxl-cab-ativo .elementor-location-header { position: sticky; top: 0; z-index: 9990; }
/* Painéis abertos (busca, menu, calendário) ficam acima de tudo, inclusive botões flutuantes. */
.cxl-pesquisa-aberta .elementor-location-header, .cxl-gaveta-aberta .elementor-location-header, .cxl-cal-aberto .elementor-location-header { z-index: 2147482000; }
.cxl-cab-ativo.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) { .cxl-cab-ativo.admin-bar .elementor-location-header { top: 46px; } }
@media (max-width: 600px) { .cxl-cab-ativo.admin-bar .elementor-location-header { top: 0; } }
.cxl-cab-ativo .elementor-location-header .elementor-widget-shortcode,
.cxl-cab-ativo .elementor-location-header .elementor-widget-shortcode > .elementor-widget-container,
.cxl-cab-ativo .elementor-location-header .elementor-shortcode { margin: 0; padding: 0; width: 100%; }
.cxl-cab-ativo .elementor-location-header .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --min-height: 0px; padding: 0 !important; gap: 0 !important; min-height: 0 !important; }
.cxl-cab, .cxl-cab strong, .cxl-cab small, .cxl-cab a, .cxl-cab button, .cxl-cab span { text-transform: none !important; letter-spacing: normal; }

.cxl-cab { --cxl-cab-largura: 1240px; background: var(--cxl-cabecalho, #292929); color: #fff; font-family: inherit; line-height: 1.3; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.cxl-cab.is-rolado { box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.cxl-cab a { text-decoration: none; }
.cxl-cab .cxl-ic { flex: none; }
.cxl-cab button { font-family: inherit; text-transform: none !important; letter-spacing: normal !important; }

/* ---------- Linha principal ---------- */
.cxl-cab__linha { max-width: var(--cxl-cab-largura); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; box-sizing: border-box; }
.cxl-cab.is-rolado .cxl-cab__linha { padding-top: 10px; padding-bottom: 10px; }
.cxl-cab__logo { flex: none; display: inline-flex; align-items: center; }
.cxl-cab__logo-img { display: block; height: 78px !important; width: auto !important; max-width: 170px; margin: -8px 0; }
.cxl-cab.is-rolado .cxl-cab__logo-img { height: 62px !important; }
.cxl-cab__busca { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.cxl-cab__acoes { flex: none; display: flex; align-items: center; gap: 22px; }
.cxl-cab__acao { position: relative; display: inline-flex; align-items: center; gap: 10px; color: #fff !important; }
.cxl-cab__acao > .cxl-ic { color: var(--cxl-laranja); }
.cxl-cab__acao-texto { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.cxl-cab__acao-texto small { font-size: 12px; color: #BDB8B0; }
.cxl-cab__acao-texto strong { font-size: 14px; font-weight: 700; color: #fff; }
.cxl-cab__acao-texto strong .woocommerce-Price-amount, .cxl-cab__acao-texto strong bdi { color: #fff; }
.cxl-cab__acao:hover .cxl-cab__acao-texto strong { color: var(--cxl-laranja); }
.cxl-cab__carrinho-info { display: inline-flex; align-items: center; }
.cxl-cab__selo { position: absolute; top: -7px; left: 15px; min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: var(--cxl-laranja); color: var(--cxl-tinta); font-size: 11px; font-weight: 800; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--cxl-cabecalho, #292929); }
.cxl-cab__selo.is-vazio { background: #5A5651; color: #fff; }
.cxl-cab .cxl-cab__menu-botao, .cxl-cab__gatilho { display: none; }

/* ---------- Barra de busca (pílula) ---------- */
.cxl-pesquisa { position: relative; display: flex; align-items: stretch; width: 100%; max-width: 780px; height: 60px; margin: 0; padding: 6px; box-sizing: border-box; background: #fff; color: var(--cxl-tinta); border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: background .15s; }
/* Compacto (ao rolar): a pílula branca também encolhe */
.cxl-cab.is-rolado .cxl-pesquisa { height: 50px; max-width: 720px; padding: 5px; box-shadow: 0 6px 18px rgba(0,0,0,.24); }
.cxl-cab.is-rolado .cxl-pesquisa__rotulo { font-size: 10.5px; }
.cxl-cab.is-rolado .cxl-pesquisa__valor, .cxl-cab.is-rolado .cxl-pesquisa .cxl-busca-texto, .cxl-cab.is-rolado .cxl-pesquisa .cxl-pesquisa__seg--cat .cxl-cat__botao { font-size: 13px !important; }
.cxl-cab.is-rolado .cxl-pesquisa .cxl-busca-texto { height: 18px; }
.cxl-cab.is-rolado .cxl-pesquisa__seg, .cxl-cab.is-rolado .cxl-pesquisa .cxl-pesquisa__data { padding-left: 14px !important; padding-right: 14px !important; }
.cxl-cab.is-rolado .cxl-pesquisa__seg--cat { flex-basis: 136px; padding-left: 18px !important; }
.cxl-cab.is-rolado .cxl-pesquisa__seg--oque::before, .cxl-cab.is-rolado .cxl-pesquisa__datas::before, .cxl-cab.is-rolado .cxl-pesquisa__data + .cxl-pesquisa__data::before { top: 11px; bottom: 11px; }
.cxl-pesquisa.is-cal-aberto { background: #EFECE6; }
.cxl-pesquisa__cabeca { display: none; }
.cxl-pesquisa__seg { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 0 18px; border-radius: 999px; transition: background .15s, box-shadow .15s; }
.cxl-pesquisa__seg:hover { background: #F3F1EC; }
.cxl-pesquisa__seg:focus-within { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.14); }
.cxl-pesquisa__seg--oque::before, .cxl-pesquisa__datas::before, .cxl-pesquisa__data + .cxl-pesquisa__data::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #E6E3DE; }
.cxl-pesquisa__seg:hover::before, .cxl-pesquisa__seg:hover + .cxl-pesquisa__seg::before, .cxl-pesquisa__seg:focus-within::before { opacity: 0; }
.cxl-pesquisa__rotulo { margin: 0 !important; font-size: 11.5px; font-weight: 700; color: var(--cxl-tinta); line-height: 1.2; pointer-events: none; }

/* Categoria: o botão ocupa o segmento inteiro */
.cxl-pesquisa__seg--cat { flex: 0 0 150px; padding: 0 16px 0 20px; }
.cxl-pesquisa__seg--cat .cxl-cat { position: static; }
.cxl-pesquisa .cxl-pesquisa__seg--cat .cxl-cat__botao { position: static; width: 100%; height: auto; max-width: none; justify-content: space-between; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #6E6A64 !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.2; }
.cxl-pesquisa .cxl-pesquisa__seg--cat .cxl-cat__botao::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cxl-pesquisa__seg--cat { border-radius: 999px; }
.cxl-pesquisa .cxl-pesquisa__seg--cat .cxl-cat.tem-valor .cxl-cat__botao { background: transparent !important; color: var(--cxl-tinta) !important; font-weight: 700 !important; }
.cxl-pesquisa .cxl-cat .cxl-cat__botao:focus-visible { outline: 2px solid var(--cxl-laranja); outline-offset: -2px; }
.cxl-pesquisa .cxl-cat__lista { top: calc(100% + 14px); left: 0; }

/* Equipamento */
.cxl-pesquisa__seg--oque { flex: 1.1 1 0; }
.cxl-pesquisa .cxl-busca-texto { width: 100% !important; min-width: 0; height: 22px; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; font-size: 14px !important; font-weight: 600; color: var(--cxl-tinta) !important; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
.cxl-pesquisa .cxl-busca-texto::placeholder { color: #8A8580; font-weight: 400; opacity: 1; }
.cxl-pesquisa .cxl-sugestoes { left: -5px; right: auto; width: 470px; max-width: calc(100vw - 32px); top: calc(100% + 14px); }

/* Retirada e devolução */
.cxl-pesquisa__datas { position: relative; flex: 1.5 1 0; display: flex; min-width: 0; }
.cxl-pesquisa .cxl-pesquisa__data { flex: 1 1 0; align-items: flex-start; margin: 0; padding: 0 16px !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; color: var(--cxl-tinta) !important; font: inherit; text-align: left; box-shadow: none; cursor: pointer; line-height: 1.2; min-height: 0; height: auto; }
.cxl-pesquisa .cxl-pesquisa__data:hover { background: #F3F1EC !important; }
.cxl-pesquisa .cxl-pesquisa__data:focus-visible { outline: 2px solid var(--cxl-laranja); outline-offset: -2px; }
.cxl-pesquisa .cxl-pesquisa__data.is-ativo { background: #fff !important; box-shadow: 0 4px 16px rgba(0,0,0,.16); }
.cxl-pesquisa__valor { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.cxl-pesquisa__valor.is-vazio { color: #8A8580; font-weight: 400; }

/* Buscar */
.cxl-pesquisa .cxl-pesquisa__botao { flex: none; align-self: stretch; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px !important; height: auto; min-height: 0; margin: 0 0 0 6px; line-height: 1; padding: 0 22px !important; border: 0 !important; border-radius: 999px !important; background: var(--cxl-laranja) !important; color: var(--cxl-tinta) !important; font-size: 15px !important; font-weight: 800 !important; box-shadow: none !important; cursor: pointer; transition: background .15s; }
.cxl-pesquisa .cxl-pesquisa__botao svg { display: block; flex: none; }
.cxl-pesquisa .cxl-pesquisa__botao span { display: inline-block; line-height: 1; }
.cxl-cab.is-rolado .cxl-pesquisa .cxl-pesquisa__botao { padding: 0 18px !important; font-size: 14px !important; }
.cxl-pesquisa .cxl-pesquisa__botao:hover { background: #E07D00 !important; }
.cxl-pesquisa .cxl-pesquisa__botao:focus-visible { outline: 3px solid var(--cxl-tinta); outline-offset: 2px; }

/* Calendário abre sob as datas */
.cxl-pesquisa .cxl-cal { top: calc(100% + 14px); left: auto; right: 0; width: 760px; max-width: calc(100vw - 32px); max-height: calc(100vh - 190px); overflow-y: auto; overscroll-behavior: contain; }
.cxl-cab.is-rolado .cxl-pesquisa .cxl-cal { max-height: calc(100vh - 130px); }
.cxl-pesquisa .cxl-sugestoes { max-height: min(420px, calc(100vh - 200px)); }

/* ---------- Linha das categorias ---------- */
.cxl-cab__menu-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 50px; padding: 0 max(24px, calc((100% - var(--cxl-cab-largura)) / 2 + 24px)); border-top: 1px solid rgba(255,255,255,.08); background: #232323; transition: height .2s, opacity .2s; }
.cxl-cab.is-rolado .cxl-cab__menu-linha { height: 0; opacity: 0; overflow: hidden; border-top-color: transparent; }
.cxl-cab__menu ul, .cxl-cab__links { display: flex; align-items: center; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.cxl-cab__menu > ul { gap: 4px; height: 50px; }
.cxl-cab__menu > ul > li { position: relative; height: 100%; margin: 0; }
.cxl-cab__menu > ul > li > a { display: flex; align-items: center; gap: 9px; height: 100%; padding: 0 14px 0 4px; color: #fff !important; font-size: 15px; font-weight: 600; transition: color .15s; }
.cxl-cab__menu > ul > li:first-child > a { padding-left: 0; }
.cxl-cab__menu > ul > li > a > .cxl-ic:first-child { color: var(--cxl-laranja); }
.cxl-cab__menu > ul > li > a > .cxl-ic:last-child:not(:first-child) { opacity: .7; transition: transform .15s; }
.cxl-cab__menu > ul > li:hover > a, .cxl-cab__menu > ul > li:focus-within > a { color: var(--cxl-laranja) !important; }
.cxl-cab__menu > ul > li:hover > a > .cxl-ic:last-child, .cxl-cab__menu > ul > li:focus-within > a > .cxl-ic:last-child { transform: rotate(180deg); }
.cxl-cab__sub { position: absolute; top: 100%; left: -8px; z-index: 1002; min-width: 240px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.24); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.cxl-cab__menu > ul > li:hover > .cxl-cab__sub, .cxl-cab__menu > ul > li:focus-within > .cxl-cab__sub { opacity: 1; visibility: visible; transform: none; }
.cxl-cab__sub ul { display: block !important; }
.cxl-cab__sub li { margin: 0; }
.cxl-cab__sub li a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--cxl-tinta) !important; font-size: 14px; font-weight: 500; }
.cxl-cab__sub li a:hover, .cxl-cab__sub li a:focus { background: var(--cxl-laranja-suave); }
.cxl-cab__sub-todos { display: block; margin-top: 6px; padding: 10px 12px 6px; border-top: 1px solid #EFECE7; color: var(--cxl-laranja-texto) !important; font-size: 13px; font-weight: 700; }
.cxl-cab__links { gap: 22px; }
.cxl-cab__links li { margin: 0; }
.cxl-cab__links a { display: inline-flex; align-items: center; gap: 7px; color: #D6D2CC !important; font-size: 13px; font-weight: 500; white-space: nowrap; transition: color .15s; }
.cxl-cab__links a .cxl-ic { color: var(--cxl-laranja); }
.cxl-cab__links a:hover { color: #fff !important; }
.cxl-cab a:focus-visible { outline: 2px solid var(--cxl-laranja); outline-offset: 3px; border-radius: 6px; }

/* ---------- Telas médias ---------- */
@media (max-width: 1280px) {
  .cxl-cab__linha { gap: 20px; }
  .cxl-cab__conta .cxl-cab__acao-texto { display: none; }
  .cxl-pesquisa__seg--cat { flex-basis: 136px; }
  .cxl-cab__links li:last-child { display: none; }
}
@media (max-width: 1120px) {
  .cxl-pesquisa .cxl-pesquisa__botao span { display: none; }
  .cxl-pesquisa .cxl-pesquisa__botao, .cxl-cab.is-rolado .cxl-pesquisa .cxl-pesquisa__botao { width: 48px; padding: 0 !important; }
  .cxl-cab__links { display: none; }
}

/* ---------- Celular e tablet ---------- */
@media (max-width: 1024px) {
  .cxl-cab__linha { gap: 10px; padding: 10px 12px; }
  .cxl-cab .cxl-cab__menu-botao { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 12px !important; background: transparent !important; color: #fff !important; box-shadow: none !important; cursor: pointer; }
  .cxl-cab__logo { margin-right: auto; }
  .cxl-cab__logo-img, .cxl-cab.is-rolado .cxl-cab__logo-img { height: 54px !important; max-width: 120px; margin: -6px 0; }
  .cxl-cab__acoes { gap: 14px; }
  .cxl-cab__acao-texto { display: none; }
  .cxl-cab__carrinho .cxl-cab__acao-texto { display: none; }
  .cxl-cab__menu-linha { display: none; }

  .cxl-cab .cxl-cab__gatilho { display: flex; align-items: center; gap: 12px; width: calc(100% - 24px); height: 54px; margin: 0 12px 12px; padding: 0 18px !important; box-sizing: border-box; border: 0 !important; border-radius: 999px !important; background: #fff !important; color: var(--cxl-tinta) !important; text-align: left; box-shadow: 0 6px 18px rgba(0,0,0,.25) !important; cursor: pointer; }
  .cxl-cab.is-rolado .cxl-cab__gatilho { height: 48px; margin-bottom: 10px; }
  .cxl-cab__gatilho > .cxl-ic { color: var(--cxl-laranja-texto); }
  .cxl-cab__gatilho-texto { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .cxl-cab__gatilho-texto strong { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cxl-cab__gatilho-texto small { font-size: 12px; color: var(--cxl-cinza); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* A mesma busca abre em tela cheia */
  .cxl-cab__busca { display: none; }
  .cxl-pesquisa-aberta { overflow: hidden; }
  .cxl-pesquisa-aberta .cxl-cab__busca { display: block; position: fixed; inset: 0; z-index: 2147482000; overflow-y: auto; padding: 14px 14px 24px; padding-top: calc(14px + env(safe-area-inset-top)); background: var(--cxl-cabecalho, #292929); }
  .cxl-pesquisa-aberta .codec-wa-float, .cxl-pesquisa-aberta .botiga-back-to-top { display: none !important; }
  .cxl-pesquisa { flex-direction: column; height: auto !important; max-width: none; padding: 0; gap: 10px; background: transparent !important; border-radius: 0; box-shadow: none; }
  .cxl-pesquisa__cabeca { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; color: #fff; }
  .cxl-pesquisa__cabeca strong { font-size: 18px; font-weight: 800; }
  .cxl-pesquisa .cxl-pesquisa__fechar { width: 40px; height: 40px; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: rgba(255,255,255,.12) !important; color: #fff !important; font-size: 24px; line-height: 1; cursor: pointer; }
  .cxl-pesquisa__seg, .cxl-pesquisa .cxl-pesquisa__data { min-height: 64px; padding: 10px 16px !important; background: #fff !important; border-radius: 14px !important; box-shadow: none !important; }
  .cxl-pesquisa__seg::before, .cxl-pesquisa__datas::before, .cxl-pesquisa__data + .cxl-pesquisa__data::before { display: none; }
  .cxl-pesquisa__seg--cat { flex: none; }
  .cxl-pesquisa .cxl-pesquisa__seg--cat .cxl-cat__botao { font-size: 16px !important; }
  .cxl-pesquisa__seg--oque { flex: none; }
  .cxl-pesquisa .cxl-busca-texto { height: 26px; font-size: 16px !important; }
  .cxl-pesquisa .cxl-sugestoes { left: 0; right: 0; width: auto; top: calc(100% + 8px); }
  .cxl-pesquisa .cxl-cat__lista { left: 0; right: 0; min-width: 0; }
  .cxl-pesquisa__datas { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cxl-pesquisa__valor { font-size: 15px; }
  .cxl-pesquisa .cxl-pesquisa__botao, .cxl-cab.is-rolado .cxl-pesquisa .cxl-pesquisa__botao { width: 100%; height: 56px; flex: none; align-self: auto; margin: 6px 0 0; padding: 0 18px !important; border-radius: 14px !important; font-size: 16px !important; }
  .cxl-pesquisa .cxl-pesquisa__botao span { display: inline; }
  .cxl-cab.is-rolado .cxl-pesquisa { padding: 0; max-width: none; box-shadow: none; }
  .cxl-cab.is-rolado .cxl-pesquisa__rotulo { font-size: 11.5px; }
  .cxl-cab.is-rolado .cxl-pesquisa__valor { font-size: 15px !important; }
  .cxl-cab.is-rolado .cxl-pesquisa .cxl-busca-texto { height: 26px; font-size: 16px !important; }
  .cxl-cab.is-rolado .cxl-pesquisa .cxl-pesquisa__seg--cat .cxl-cat__botao { font-size: 16px !important; }
  .cxl-pesquisa .cxl-cal, .cxl-cab.is-rolado .cxl-pesquisa .cxl-cal { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 88vh; }
}

/* ---------- Menu lateral (celular) ---------- */
.cxl-gaveta { position: fixed; inset: 0; z-index: 2147482500; background: rgba(0,0,0,.5); }
.cxl-gaveta[hidden] { display: none; }
.cxl-gaveta-aberta { overflow: hidden; }
.cxl-gaveta__caixa { width: min(86vw, 360px); height: 100%; overflow-y: auto; background: #fff; color: var(--cxl-tinta); box-shadow: 12px 0 32px rgba(0,0,0,.25); animation: cxl-entra .2s ease-out; }
@keyframes cxl-entra { from { transform: translateX(-24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cxl-gaveta__caixa { animation: none; } .cxl-cab, .cxl-cab * { transition: none !important; } }
.cxl-gaveta__topo { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--cxl-cabecalho, #292929); }
.cxl-gaveta__topo .cxl-cab__logo-img { height: 54px !important; margin: -6px 0; }
.cxl-gaveta .cxl-gaveta__fechar { width: 40px; height: 40px; margin: 0; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border: 0 !important; border-radius: 50% !important; background: rgba(255,255,255,.12) !important; color: #fff !important; cursor: pointer; }
.cxl-gaveta__nav { padding: 8px 16px; }
.cxl-gaveta__nav details { border-bottom: 1px solid #EFECE7; }
.cxl-gaveta__nav summary, .cxl-gaveta__item { display: flex; align-items: center; gap: 12px; padding: 15px 2px; font-size: 16px; font-weight: 700; color: var(--cxl-tinta) !important; cursor: pointer; list-style: none; }
.cxl-gaveta__nav summary::-webkit-details-marker { display: none; }
.cxl-gaveta__nav summary > .cxl-ic:first-child, .cxl-gaveta__item > .cxl-ic { color: var(--cxl-laranja-texto); }
.cxl-gaveta__nav summary > span { flex: 1; }
.cxl-gaveta__nav summary > .cxl-ic:last-child { transition: transform .15s; }
.cxl-gaveta__nav details[open] summary > .cxl-ic:last-child { transform: rotate(180deg); }
.cxl-gaveta__item { border-bottom: 1px solid #EFECE7; }
.cxl-gaveta__nav ul { margin: 0 0 10px !important; padding: 0 0 0 34px !important; list-style: none !important; }
.cxl-gaveta__nav ul a { display: block; padding: 10px 0; color: var(--cxl-tinta) !important; font-size: 15px; }
.cxl-gaveta__links { margin: 8px 16px 24px !important; padding: 8px 0 0 !important; list-style: none !important; }
.cxl-gaveta__links a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; color: var(--cxl-cinza) !important; font-size: 15px; }
.cxl-gaveta__links a .cxl-ic { color: var(--cxl-laranja-texto); }

/* Encolher sem animar tamanho e sem empurrar a página: a mudança é instantânea
 * e o espaço do cabeçalho completo fica reservado (medido em cxl-cabecalho.js). */
@media (min-width: 1025px) {
  .cxl-cab-ativo .elementor-location-header { min-height: var(--cxl-cab-h, 0); pointer-events: none; }
  .cxl-cab-ativo .elementor-location-header .cxl-cab { pointer-events: auto; }
}
.cxl-cab__menu-linha { transition: none !important; }

/* Celular: logo com tamanho fixo (não some em nenhum navegador) e busca bem visível */
@media (max-width: 1024px) {
  .cxl-cab__logo { min-width: 104px; min-height: 44px; flex: none; }
  .cxl-cab__logo-img, .cxl-cab.is-rolado .cxl-cab__logo-img { width: 108px !important; height: 54px !important; max-width: none !important; object-fit: contain; }
  .cxl-cab .cxl-cab__gatilho { border: 2px solid var(--cxl-laranja) !important; background: #fff !important; }
  .cxl-cab__gatilho-texto strong { font-size: 16px; color: var(--cxl-tinta); }
}

/* 1.4.4 — busca do celular: uma linha só, compacta, com respiro embaixo */
@media (max-width: 1024px) {
  body .cxl-cab .cxl-cab__gatilho { height: 48px !important; min-height: 48px; margin: 0 12px 14px !important; padding: 0 16px !important; gap: 10px; }
  body .cxl-cab.is-rolado .cxl-cab__gatilho { height: 44px !important; min-height: 44px; margin-bottom: 12px !important; }
  body .cxl-cab .cxl-cab__gatilho-texto small { display: none !important; }
  body .cxl-cab .cxl-cab__gatilho-texto strong { font-size: 15px; font-weight: 600; color: var(--cxl-cinza); }
}

/* 1.4.5 — celular: o fundo escuro continua abaixo da busca (margem colapsava e o fundo terminava rente à pílula) */
@media (max-width: 1024px) {
  body .cxl-cab .cxl-cab__principal { padding-bottom: 14px !important; }
  body .cxl-cab.is-rolado .cxl-cab__principal { padding-bottom: 10px !important; }
  body .cxl-cab .cxl-cab__gatilho, body .cxl-cab.is-rolado .cxl-cab__gatilho { margin-bottom: 0 !important; }
}

/* 1.4.7 — busca em tela cheia no celular: campo de categoria com altura fixa (não estica com o teclado) */
@media (max-width: 1024px) {
  html body .cxl-pesquisa { display: flex !important; flex-direction: column !important; justify-content: flex-start !important; align-content: flex-start !important; }
  html body .cxl-pesquisa .cxl-pesquisa__seg--cat { flex: 0 0 64px !important; height: 64px !important; min-height: 64px !important; max-height: 64px !important; box-sizing: border-box !important; overflow: visible !important; align-self: stretch !important; }
  html body .cxl-pesquisa .cxl-pesquisa__seg--oque, html body .cxl-pesquisa .cxl-pesquisa__datas { flex: 0 0 auto !important; }
  html body .cxl-pesquisa .cxl-cat { position: static !important; height: auto !important; }
  html body .cxl-pesquisa .cxl-cat__lista[hidden] { display: none !important; }
  html body .cxl-pesquisa .cxl-cat__lista { position: absolute !important; z-index: 5; }
  html body .cxl-pesquisa .cxl-pesquisa__seg--cat { position: relative !important; }
}

/* 1.4.8 — celular: o fundo escuro do calendário ficava POR CIMA dele (o cabeçalho cria um nível próprio de camadas) e engolia os toques */
@media (max-width: 1024px) {
  html body .cxl-cal-fundo { display: none !important; }
}
