
/* =========================================================
   Safira: remove espaço vazio acima do header na home
   O showcam-layout.css antigo reserva altura para o topbar vermelho.
   Como agora o header único está no fluxo normal, zeramos essa reserva.
   ========================================================= */
body.sc-body.home {
  margin-top:0 !important;
  padding-top:0 !important;
}

body.sc-body.home .sc-app {
  margin-top:0 !important;
  padding-top:0 !important;
}

body.sc-body.home .sc-topcats--unified {
  top:0 !important;
  margin-top:0 !important;
}

/* Internas antigas ainda podem carregar classe .home no body.
   Zera apenas a reserva do container, sem mexer na grade da home. */
body.page-template-page-home:not(.sc-body) .site-container,
body.page-template-page-home:not(.sc-body) .site-inner.vip-detail-service {
  margin-top:0 !important;
  padding-top:0 !important;
}

body.page-template-page-home:not(.sc-body) .sc-topcats--unified {
  top:0 !important;
  margin-top:0 !important;
}

.sc-topcats--unified{
  position:relative !important;
  z-index:50;
  margin:0 !important;
  padding:0 !important;
  min-height:82px !important;
  height:auto !important;
  overflow:visible !important;
  background:linear-gradient(90deg, #1c1d24 0%, #22232b 50%, #1c1d24 100%);
  border-top:1px solid rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 12px 32px rgba(0,0,0,.24);
}
.sc-topcats--unified .sc-topcats-inner{
  width:100%;
  max-width:1880px;
  margin:0 auto;
  min-height:82px !important;
  height:auto !important;
  padding:14px 24px !important;
  display:flex;
  align-items:center;
  gap:18px;
}
.sc-topcats--unified .sc-topcats-brand{flex:0 0 auto;}
.sc-topcats--unified .sc-topcats-brand a{display:flex;align-items:center;}
.sc-topcats--unified .logoshow{display:block;height:73px;width:auto;max-width:182px;object-fit:contain;}
.sc-topcats--unified .sc-topcats-tabs{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:4px;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
.sc-topcats--unified .sc-topcats-tabs::-webkit-scrollbar{display:none;}
.sc-topcats--unified .sc-topcats-tab{
  height:52px;
  padding:0 15px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:15px;
  line-height:1;
  transition:all .18s ease;
}
.sc-topcats--unified .sc-topcats-tab:hover,
.sc-topcats--unified .sc-topcats-tab.is-active{background:rgba(255,255,255,.06);color:#fff;text-decoration:none;}
.sc-topcats--unified .sc-topcats-search{flex:0 0 320px;}
.sc-topcats--unified .sc-search{position:relative;width:100%;}
.sc-topcats--unified .sc-search:before,
.sc-topcats--unified .sc-search::before{display:none !important;content:none !important;}
.sc-topcats--unified .sc-search-ico{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  color:#d7a558;
  pointer-events:none;
}
.sc-topcats--unified .sc-search-ico svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.sc-topcats--unified .sc-search input,
.sc-topcats--unified .sc-search input[type="search"]{
  width:100%;
  height:50px;
  padding:0 16px 0 46px;
  border-radius:999px;
  border:1px solid rgba(215,165,88,.26);
  background:rgba(0,0,0,.22);
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-size:15px;
  font-weight:600;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.sc-topcats--unified .sc-search input::placeholder{color:rgba(255,255,255,.70);opacity:1;}
.sc-topcats--unified .sc-topcats-actions{flex:0 0 auto;display:flex;align-items:center;gap:10px;}
.sc-topcats--unified .sc-header-hello,
.sc-topcats--unified .sc-header-btn{
  height:50px;
  padding:0 20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
}
.sc-topcats--unified .sc-header-hello{border:1px solid rgba(215,165,88,.20);background:rgba(255,255,255,.04);}
.sc-topcats--unified .sc-header-btn{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);}
.sc-topcats--unified .sc-header-btn--primary{background:linear-gradient(135deg,#d82870,#b51155);border-color:transparent;}
.sc-topcats--unified .sc-header-btn:hover,
.sc-topcats--unified .sc-header-hello:hover{color:#fff;text-decoration:none;filter:brightness(1.05);}
.sc-topcats--unified .sc-mob-toggle,
.sc-topcats--unified .sc-mob-search-trigger{
  display:none;
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.sc-topcats--unified .sc-mob-toggle span{display:block;width:18px;height:2px;margin:2px auto;border-radius:3px;background:#fff;}
.sc-topcats--unified .sc-mob-search-trigger svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.sc-mob-search-modal{position:fixed;inset:0;z-index:9999;display:none;}
.sc-mob-search-modal.is-open{display:block;}
.sc-mob-search-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);}
.sc-mob-search-panel{position:absolute;left:12px;right:12px;top:72px;background:#111827;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px;box-shadow:0 14px 40px rgba(0,0,0,.35);}
.sc-mob-search-head{display:flex;align-items:center;justify-content:space-between;color:#fff;margin-bottom:12px;}
.sc-mob-search-close{width:34px;height:34px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;}
.sc-mob-search-form{display:flex;flex-direction:column;gap:10px;}
.sc-mob-search-form input[type="search"]{width:100%;box-sizing:border-box;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;-webkit-text-fill-color:#fff;padding:12px 14px;outline:none;}
.sc-mob-search-form input[type="search"]::placeholder{color:rgba(255,255,255,.68);opacity:1;}
.sc-mob-search-form button[type="submit"]{height:42px;border:none;border-radius:12px;background:#dc2626;color:#fff;font-weight:700;}

.sc-topcats--unified .sc-header-btn--advertise{background:linear-gradient(135deg,#d82870,#b51155);border-color:transparent;}
@media (max-width: 1420px){
  .sc-topcats--unified .sc-header-hello,
  .sc-topcats--unified .sc-header-btn{padding:0 15px;font-size:14px;}
  .sc-topcats--unified .sc-topcats-search{flex-basis:280px;}
}
@media (max-width: 1200px){
  .sc-topcats--unified .sc-topcats-inner{gap:14px;}
  .sc-topcats--unified .sc-topcats-search{flex-basis:280px;}
  .sc-topcats--unified .sc-topcats-tab{padding:0 12px;font-size:14px;}
}
@media (max-width: 992px){
  .sc-topcats--unified .sc-topcats-inner{min-height:68px !important;padding:11px 14px !important;}
  .sc-topcats--unified .sc-mob-toggle,
  .sc-topcats--unified .sc-mob-search-trigger{display:inline-flex;}
  .sc-topcats--unified .sc-topcats-tabs,
  .sc-topcats--unified .sc-topcats-search,
  .sc-topcats--unified .sc-topcats-actions{display:none;}
  .sc-topcats--unified .sc-topcats-brand{margin-right:auto;}
  .sc-topcats--unified .logoshow{height:30px;max-width:128px;}
}

/* =========================================================
   SAFIRA BR 2.8.1 - faixa de ações no mobile
   Reaproveita os estados e destinos do header brasileiro.
   ========================================================= */
.sc-topcats--unified .sc-topcats-mobile-actions {
  display:none;
}

@media (max-width: 992px){
  .sc-topcats--unified .sc-topcats-mobile-actions{
    width:100%;
    padding:10px 14px 12px;
    display:flex;
    align-items:stretch;
    gap:7px;
    border-top:1px solid rgba(255,255,255,.06);
    background:rgba(10,10,14,.20);
    box-sizing:border-box;
  }

  .sc-topcats--unified .sc-mobile-action-btn{
    min-width:0;
    min-height:44px;
    flex:1 1 0;
    padding:0 9px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.035));
    color:#fff;
    text-decoration:none;
    text-align:center;
    font-size:13px;
    font-weight:850;
    line-height:1.15;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  }

  .sc-topcats--unified .sc-mobile-action-btn:hover,
  .sc-topcats--unified .sc-mobile-action-btn:focus{
    color:#fff;
    text-decoration:none;
    filter:brightness(1.07);
  }

  .sc-topcats--unified .sc-mobile-action-btn--primary{
    background:linear-gradient(135deg,#d82870,#b51155);
    border-color:rgba(255,255,255,.08);
    box-shadow:0 8px 18px rgba(216,40,112,.18);
  }
}

@media (max-width: 380px){
  .sc-topcats--unified .sc-topcats-mobile-actions{
    gap:5px;
    padding-left:10px;
    padding-right:10px;
  }

  .sc-topcats--unified .sc-mobile-action-btn{
    min-height:42px;
    padding:0 6px;
    font-size:11.5px;
  }
}

