/* Byke Mania – cabeçalho */
/* esconde o cabeçalho antigo do tema (Betheme) */
body.bmh-ativo #Header_wrapper,body.bmh-ativo #Top_bar,body.bmh-ativo .mfn-header-tmpl,body.bmh-ativo #Header_creative,body.bmh-ativo .header-tmpl,body.bmh-ativo #Action_bar,body.bmh-ativo .mfn-header-mobile{display:none!important}
body.bmh-ativo #Wrapper{padding-top:0!important}
.bmh,.bmh-gaveta{--cor:#E10600;--cor2:#B30500;--escuro:#0F0F0F;font-family:'Poppins',sans-serif;line-height:1.4}
.bmh *,.bmh-gaveta *{box-sizing:border-box}
.bmh a,.bmh-gaveta a{text-decoration:none;color:inherit}
.bmh{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:9000;color:#fff;transition:box-shadow .25s}
.bmh.rolou{box-shadow:0 10px 30px rgba(0,0,0,.25)}
.bmh-w{max-width:1360px;margin:0 auto;padding:0 24px}
/* faixa de topo */
.bmh-topo{background:var(--escuro);font-size:12.5px;color:#cfcfcf;overflow:hidden;max-height:40px;transition:max-height .3s}
.bmh.rolou .bmh-topo{max-height:0}
.bmh-topo .bmh-w{display:flex;justify-content:space-between;align-items:center;height:36px;gap:12px}
.bmh-estado{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bmh-estado i{width:8px;height:8px;border-radius:50%;background:#888;flex:0 0 auto}
.bmh-estado.on i{background:#4ADE80;box-shadow:0 0 0 3px rgba(74,222,128,.25)}
.bmh-estado em{font-style:normal}
.bmh-topo-d{display:flex;gap:18px;white-space:nowrap}
.bmh-topo-d a:hover{color:#fff}
.bmh-topo-d .zap{color:#4ADE80;font-weight:700}
/* barra principal */
.bmh-barra{background:linear-gradient(100deg,#E10600 0%,#CC0500 60%,#B30500 100%);position:relative}
.bmh-linha{display:flex;align-items:center;gap:28px;height:84px;transition:height .25s}
.bmh.rolou .bmh-linha{height:66px}
.bmh-logo{flex:0 0 auto;line-height:0;transition:transform .2s}
.bmh-logo:hover{transform:scale(1.03) rotate(-1deg)}
.bmh-logo img{height:58px!important;width:auto!important;max-width:none!important;display:block;filter:drop-shadow(0 4px 10px rgba(0,0,0,.25));transition:height .25s;margin:0!important}
.bmh.rolou .bmh-logo img{height:46px!important}
/* pesquisa */
.bmh-busca{flex:1;position:relative;max-width:620px;margin:0 auto}
.bmh-busca input[type=search]{width:100%!important;height:48px!important;border-radius:12px!important;border:0!important;background:#fff!important;padding:0 58px 0 18px!important;font:500 15px 'Poppins',sans-serif!important;color:#151515!important;outline:none;box-shadow:0 4px 14px rgba(0,0,0,.12)!important;margin:0!important}
.bmh-busca input[type=search]::placeholder{color:#8a8a8a}
.bmh-busca input[type=search]:focus{box-shadow:0 0 0 3px rgba(255,255,255,.45)!important}
.bmh-busca button{position:absolute;right:5px;top:5px;width:38px;height:38px;border:0;border-radius:9px;background:var(--escuro);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.bmh-busca button svg{width:18px;height:18px}
.bmh-sugestoes{position:absolute;left:0;right:0;top:56px;background:#fff;color:#151515;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.25);overflow:hidden;z-index:5}
.bmh-sugestoes a{display:flex;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f1f1}
.bmh-sugestoes a:hover,.bmh-sugestoes a.ativo{background:#FFF1F0}
.bmh-sugestoes img{width:44px!important;height:44px!important;object-fit:contain;border-radius:8px;background:#fff;border:1px solid #eee;flex:0 0 44px;margin:0!important}
.bmh-sugestoes b{font-size:14px;font-weight:700;display:block;line-height:1.3}
.bmh-sugestoes small{font-size:13px;color:#E10600;font-weight:700}
.bmh-sugestoes .todos{justify-content:center;font-weight:800;font-size:13.5px;color:#E10600;border:0}
.bmh-sugestoes .vazio{padding:16px;font-size:14px;color:#666}
/* ícones */
.bmh-icones{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.bmh-ic{position:relative;display:flex;align-items:center;gap:8px;height:46px;padding:0 12px;border-radius:12px;color:#fff;font-weight:600;font-size:14px;transition:background .2s;background:none;border:0;cursor:pointer;font-family:'Poppins',sans-serif}
.bmh-ic:hover{background:rgba(0,0,0,.18)}
.bmh-ic svg{width:23px;height:23px;flex:0 0 auto}
.bmh-ic-busca{display:none}
.bmh-carrinho{background:var(--escuro)}
.bmh-carrinho:hover{background:#000}
.bmh-n{position:absolute;top:4px;left:26px;min-width:19px;height:19px;border-radius:10px;background:#fff;color:var(--cor);font-size:11.5px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 5px;line-height:1}
.bmh-n.zero{opacity:.0}
.bmh-n.pulo{animation:bmhPulo .5s}
@keyframes bmhPulo{40%{transform:scale(1.5)}}
/* menu */
.bmh-nav{background:#fff;color:#151515;border-bottom:1px solid #ececec}
.bmh-menu,.bmh-menu ul{list-style:none!important;margin:0!important;padding:0!important}
.bmh-menu{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}
.bmh-menu>li{position:relative;margin:0!important}
.bmh-menu>li>a{display:flex;align-items:center;gap:6px;height:52px;padding:0 16px;font-weight:700;font-size:15px;color:#151515;position:relative;transition:color .2s}
.bmh-menu>li>a:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;background:var(--cor);transform:scaleX(0);transition:transform .25s;border-radius:3px 3px 0 0}
.bmh-menu>li:hover>a,.bmh-menu>li.current-menu-item>a,.bmh-menu>li.current-menu-ancestor>a{color:var(--cor)}
.bmh-menu>li:hover>a:after,.bmh-menu>li.current-menu-item>a:after,.bmh-menu>li.current-menu-ancestor>a:after{transform:scaleX(1)}
.bmh-menu li.menu-item-has-children>a:before{content:"";order:2;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:2px}
.bmh-menu .sub-menu{position:absolute;top:100%;left:0;min-width:230px;background:#fff;border-radius:0 0 14px 14px;box-shadow:0 20px 40px rgba(0,0,0,.14);padding:8px!important;opacity:0;visibility:hidden;transform:translateY(8px);transition:all .2s;z-index:10;border-top:3px solid var(--cor)}
.bmh-menu li:hover>.sub-menu,.bmh-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.bmh-menu .sub-menu li{position:relative;margin:0!important}
.bmh-menu .sub-menu a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:9px;font-weight:600;font-size:14.5px;color:#151515}
.bmh-menu .sub-menu a:hover{background:#FFF1F0;color:var(--cor)}
.bmh-menu .sub-menu li.menu-item-has-children>a:before{transform:rotate(-45deg);order:2}
.bmh-menu .sub-menu .sub-menu{top:-8px;left:100%;border-radius:14px;border-top:0;border-left:3px solid var(--cor)}
/* botão menu (telemóvel) */
.bmh-burger{display:none;width:46px;height:46px;border:0;border-radius:12px;background:rgba(0,0,0,.18);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;flex:0 0 auto}
.bmh-burger span{display:block;width:22px;height:2.5px;background:#fff;border-radius:2px}
/* gaveta */
.bmh-gaveta{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .3s}
.bmh-gaveta.aberta{opacity:1;pointer-events:auto}
.bmh-gaveta-in{position:absolute;top:0;left:0;bottom:0;width:min(360px,88vw);background:#fff;color:#151515;transform:translateX(-102%);transition:transform .3s;display:flex;flex-direction:column;overflow-y:auto}
.bmh-gaveta.aberta .bmh-gaveta-in{transform:none}
.bmh-gaveta-cab{background:linear-gradient(100deg,#E10600,#B30500);padding:14px 16px;display:flex;align-items:center;justify-content:space-between}
.bmh-gaveta-cab img{height:44px!important;width:auto!important;margin:0!important}
.bmh-gaveta-cab button{width:42px;height:42px;border:0;border-radius:10px;background:rgba(0,0,0,.2);color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:0 0 3px}
.bmh-gaveta-busca{display:flex;gap:8px;padding:14px 16px;border-bottom:1px solid #eee}
.bmh-gaveta-busca input[type=search]{flex:1;min-width:0;height:44px;border:2px solid #eee;border-radius:10px;padding:0 12px;font:500 15px 'Poppins',sans-serif;outline:none;margin:0}
.bmh-gaveta-busca input[type=search]:focus{border-color:var(--cor)}
.bmh-gaveta-busca button{height:44px;padding:0 14px;border:0;border-radius:10px;background:var(--cor);color:#fff;font:800 14px 'Poppins',sans-serif;cursor:pointer}
.bmh-gaveta-menu ul{list-style:none!important;margin:0!important;padding:0!important}
.bmh-gaveta-menu li{border-bottom:1px solid #f1f1f1;margin:0!important}
.bmh-gaveta-menu a{display:block;padding:15px 18px;font-weight:700;font-size:16px;color:#151515}
.bmh-gaveta-menu .sub-menu{display:none;background:#FAFAFA}
.bmh-gaveta-menu .sub-menu a{padding:12px 18px 12px 30px;font-weight:600;font-size:15px}
.bmh-gaveta-menu .sub-menu .sub-menu a{padding-left:44px}
.bmh-gaveta-menu li.aberto>.sub-menu{display:block}
.bmh-gaveta-menu li.menu-item-has-children{position:relative}
.bmh-gaveta-menu .bmh-abre{position:absolute;right:6px;top:6px;width:44px;height:44px;border:0;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center}
.bmh-gaveta-menu .bmh-abre:before{content:"";width:9px;height:9px;border-right:2.5px solid #151515;border-bottom:2.5px solid #151515;transform:rotate(45deg);transition:transform .2s}
.bmh-gaveta-menu li.aberto>.bmh-abre:before{transform:rotate(-135deg)}
.bmh-gaveta-menu .sub-menu .bmh-abre{top:2px}
.bmh-gaveta-rodape{margin-top:auto;padding:16px 18px 24px;display:flex;flex-direction:column;gap:12px;font-size:14px;font-weight:600;background:#0F0F0F;color:#fff}
/* ajustes para as outras páginas novas ficarem por baixo do cabeçalho fixo */
body.bmh-ativo .bmp-tabs{top:var(--bmh-altura,0px)!important}
body.bmh-ativo .bmp-galeria{top:calc(var(--bmh-altura,0px) + 16px)!important}
body.bmh-ativo .bms-lado{top:calc(var(--bmh-altura,0px) + 16px)!important}
/* responsivo */
@media (max-width:1100px){.bmh-ic .txt{display:none}.bmh-linha{gap:16px}}
@media (max-width:900px){
  .bmh-nav{display:none}
  .bmh-burger{display:flex}
  .bmh-linha{height:68px;gap:10px}
  .bmh.rolou .bmh-linha{height:60px}
  .bmh-logo{margin-right:auto}
  .bmh-logo img{height:44px!important}
  .bmh.rolou .bmh-logo img{height:38px!important}
  .bmh-busca{position:absolute;left:0;right:0;top:100%;max-width:none;padding:10px 16px;background:#B30500;display:none}
  .bmh.busca-aberta .bmh-busca{display:block}
  .bmh-sugestoes{top:62px;left:16px;right:16px}
  .bmh-ic-busca{display:flex}
  .bmh-ic{padding:0 9px}
  .bmh-icones a.bmh-ic:not(.bmh-carrinho){display:none}
  .bmh-topo-d .zap{display:none}
  .bmh-local{display:none}
}
@media (max-width:420px){.bmh-w{padding:0 12px}.bmh-logo img{height:38px!important}.bmh-estado em{font-size:11.5px}}
@media (prefers-reduced-motion:reduce){.bmh *,.bmh-gaveta *{transition:none!important;animation:none!important}}

.bmh-busca input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
