/* VALENZA — slots de marca responsivos e independentes do CSS legado */
.valenza-brand{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:row!important;
  flex-shrink:0!important;
  box-sizing:border-box!important;
  line-height:0!important;
  font-size:0!important;
  letter-spacing:0!important;
  text-shadow:none!important;
  text-decoration:none!important;
  background:transparent!important;
  border:0!important;
  padding:0!important;
  overflow:visible!important;
}
.valenza-brand:before,.valenza-brand:after{content:none!important;display:none!important}
.valenza-brand img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  flex:none!important;
}

/* Cabeçalho principal — desktop/tablet. Não depende mais da classe .logo antiga. */
@media(min-width:701px){
  .header{
    height:92px!important;
    min-height:92px!important;
    overflow:visible!important;
  }
  .header>.valenza-brand{
    flex:0 0 136px!important;
    width:136px!important;
    min-width:136px!important;
    height:92px!important;
    min-height:92px!important;
    align-self:center!important;
    overflow:visible!important;
  }
  .header>.valenza-brand img{
    width:120px!important;
    max-width:120px!important;
    height:auto!important;
    max-height:84px!important;
  }
}

/* Faixa de compromisso logo acima do rodapé — mantém a logo visível. */
.aurea-closing-mark.valenza-brand{
  flex:0 0 88px!important;
  width:88px!important;
  min-width:88px!important;
  height:62px!important;
  min-height:62px!important;
  margin:0!important;
}
.aurea-closing-mark.valenza-brand img{
  width:82px!important;
  max-width:82px!important;
  height:auto!important;
  max-height:58px!important;
}

/* Rodapé principal */
.vf-logo.valenza-brand{
  width:150px!important;
  min-width:150px!important;
  height:104px!important;
  min-height:104px!important;
  margin:0 0 22px!important;
}
.vf-logo.valenza-brand img{
  width:146px!important;
  max-width:146px!important;
  height:auto!important;
  max-height:100px!important;
}

/* Outras áreas */
.head .valenza-brand img{width:96px!important;max-width:96px!important;max-height:66px!important}
.checkout-head .valenza-brand img{width:96px!important;max-width:96px!important;max-height:66px!important}
.ccHead .valenza-brand img{width:88px!important;max-width:88px!important;max-height:61px!important}
.head .valenza-brand,.checkout-head .valenza-brand,.ccHead .valenza-brand{overflow:visible!important}

/* Celular — regras próprias; mudanças de desktop não alteram este bloco. */
@media(max-width:700px){
  .header{height:64px!important;min-height:64px!important;padding:0 4%!important;gap:8px!important;overflow:visible!important}
  .header>.valenza-brand{
    flex:0 0 72px!important;
    width:72px!important;
    min-width:72px!important;
    height:64px!important;
    min-height:64px!important;
    overflow:visible!important;
  }
  .header>.valenza-brand img{width:68px!important;max-width:68px!important;height:auto!important;max-height:54px!important}
  .header .actions{min-width:0;gap:6px}
  .header .header-search{width:38px;flex:0 0 38px}
  .header .header-search-box{width:38px;height:38px}
  .header .header-search.mobile-open{width:auto}
  .header .header-search.mobile-open .header-search-box{width:100%}
  .header .account{display:inline-flex;min-height:44px;align-items:center}
  .header .header-status .hs-main{font-size:8px;letter-spacing:.4px}
  .header .cart{min-height:38px;padding:10px;font-size:8px;letter-spacing:.4px}

  .aurea-closing-mark.valenza-brand{
    flex:0 0 72px!important;
    width:72px!important;
    min-width:72px!important;
    height:52px!important;
    min-height:52px!important;
  }
  .aurea-closing-mark.valenza-brand img{width:68px!important;max-width:68px!important;max-height:48px!important}

  .vf-logo.valenza-brand{
    width:132px!important;
    min-width:132px!important;
    height:92px!important;
    min-height:92px!important;
    margin-bottom:20px!important;
  }
  .vf-logo.valenza-brand img{width:128px!important;max-width:128px!important;max-height:88px!important}

  #categorias{padding-top:24px!important;padding-bottom:14px!important}
  #categorias .title{font-size:24px!important;line-height:1.15!important;margin-bottom:16px!important}
  #categorias .shop-categories .category{min-height:64px!important}
  #catalogo{padding-top:16px!important}
  #catalogo .title{font-size:24px!important;line-height:1.15!important;margin-bottom:20px!important}
}
@media(max-width:350px){
  .header{padding:0 3%!important;gap:5px!important}
  .header>.valenza-brand{flex-basis:66px!important;width:66px!important;min-width:66px!important}
  .header>.valenza-brand img{width:62px!important;max-width:62px!important;max-height:50px!important}
  .header .actions{gap:3px}
  .header .header-status .hs-main{font-size:7px}
  .header .cart{padding:9px;font-size:7px}
}

/* ===== IDENTIDADE FINAL VALENZA — arte original somente nos slots de logo ===== */
.header{background:#1b1b19!important;border-bottom:1px solid #302b26!important;box-shadow:none!important;backdrop-filter:none!important}
.header>.valenza-brand{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;overflow:visible!important;cursor:pointer!important}
.header>.valenza-brand:hover{border:0!important;box-shadow:none!important}
.header>.valenza-brand img{filter:none!important;border-radius:2px!important;object-fit:contain!important}
@media(min-width:701px){
 .header{height:86px!important;min-height:86px!important}
 .header>.valenza-brand{flex:0 0 164px!important;width:164px!important;min-width:164px!important;height:78px!important;min-height:78px!important}
 .header>.valenza-brand img{width:160px!important;max-width:160px!important;height:auto!important;max-height:76px!important}
 .aurea-closing-mark.valenza-brand{flex:0 0 162px!important;width:162px!important;min-width:162px!important;height:78px!important;min-height:78px!important}
 .aurea-closing-mark.valenza-brand img{width:158px!important;max-width:158px!important;height:auto!important;max-height:76px!important}
 .vf-logo.valenza-brand{width:214px!important;min-width:214px!important;height:104px!important;min-height:104px!important;margin:0 0 20px!important}
 .vf-logo.valenza-brand img{width:210px!important;max-width:210px!important;height:auto!important;max-height:101px!important}
}
@media(max-width:700px){
 .header{height:64px!important;min-height:64px!important;padding:0 4%!important;gap:8px!important}
 .header>.valenza-brand{flex:0 0 88px!important;width:88px!important;min-width:88px!important;height:46px!important;min-height:46px!important}
 .header>.valenza-brand img{width:86px!important;max-width:86px!important;height:auto!important;max-height:42px!important}
 .aurea-closing-mark.valenza-brand{flex:0 0 130px!important;width:130px!important;min-width:130px!important;height:64px!important;min-height:64px!important}
 .aurea-closing-mark.valenza-brand img{width:126px!important;max-width:126px!important;height:auto!important;max-height:60px!important}
 .vf-logo.valenza-brand{width:174px!important;min-width:174px!important;height:86px!important;min-height:86px!important;margin-bottom:18px!important}
 .vf-logo.valenza-brand img{width:170px!important;max-width:170px!important;height:auto!important;max-height:82px!important}
}
@media(max-width:350px){
 .header>.valenza-brand{flex-basis:80px!important;width:80px!important;min-width:80px!important}
 .header>.valenza-brand img{width:78px!important;max-width:78px!important;max-height:38px!important}
}
/* FIX 2026-10-05 — MINHA CONTA VISÍVEL NO HEADER ESCURO */
.header .account,
.header .account .hs-main,
.header .account .hs-sub{
  color:#fff!important;
  background:transparent!important;
  text-decoration:none!important;
  border:0!important;
  box-shadow:none!important;
}
.header .account .hs-sub{color:#b8b0a7!important}
.buy:disabled,.product-actions .add:disabled,.commerce-detail-actions .add:disabled{opacity:.45!important;cursor:not-allowed!important;filter:grayscale(.35)}
.header .account:focus,.header .account:active,.header .account:hover{
  color:#fff!important;
  background:transparent!important;
  text-decoration:none!important;
  outline:none!important;
}


/* FINAL 2026-10-06 — CABEÇALHO MOBILE SEM CORTE */
@media(max-width:430px){
  .header{padding:0 10px!important;gap:4px!important}
  .header>.valenza-brand{flex:0 0 76px!important;width:76px!important;min-width:76px!important;height:44px!important;min-height:44px!important}
  .header>.valenza-brand img{width:74px!important;max-width:74px!important;max-height:40px!important}
  .header .nav{display:none!important}
  .header .actions{flex:1 1 auto!important;min-width:0!important;max-width:calc(100% - 80px)!important;gap:4px!important;justify-content:flex-end!important;overflow:visible!important}
  .header .header-search{flex:0 0 34px!important;width:34px!important}
  .header .header-search-box{width:34px!important;height:34px!important;padding:0 8px!important}
  .header .header-search-box svg{width:16px!important;height:16px!important;margin-right:0!important}
  .header .account,.header .cart{display:inline-flex!important;flex:0 1 auto!important;min-width:0!important;min-height:34px!important;padding:8px 6px!important}
  .header .header-status .hs-main{font-size:7px!important;letter-spacing:.15px!important}
}
@media(max-width:360px){
  .header{padding:0 8px!important;gap:3px!important}
  .header>.valenza-brand{flex-basis:68px!important;width:68px!important;min-width:68px!important}
  .header>.valenza-brand img{width:66px!important;max-width:66px!important}
  .header .actions{max-width:calc(100% - 71px)!important;gap:2px!important}
  .header .header-search{flex-basis:32px!important;width:32px!important}
  .header .header-search-box{width:32px!important;height:32px!important;padding:0 7px!important}
  .header .account,.header .cart{padding:7px 5px!important}
  .header .header-status .hs-main{font-size:6.7px!important;letter-spacing:0!important}
}
