
/* V21 — acabamento visual e carrossel funcional */
#page-home .hero-quick{
  display:flex!important;align-items:center!important;gap:14px!important;
  margin-top:24px!important;flex-wrap:wrap!important
}
#page-home .hero-quick>span{
  color:#547463!important;font-size:12px!important;font-weight:800!important;
  letter-spacing:.01em
}
#page-home .hero-quick-actions{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important
}
#page-home .hero-quick-actions button{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:15px;
  min-height:43px;padding:11px 17px!important;border-radius:999px!important;
  border:1px solid #d9e8dc!important;background:#fff!important;
  color:#24563c!important;font-size:12px!important;font-weight:800!important;
  box-shadow:0 3px 10px rgba(24,67,44,.055)!important;
  transition:background .2s,color .2s,box-shadow .2s,transform .2s!important;
  cursor:pointer
}
#page-home .hero-quick-actions button span{
  display:grid;place-items:center;margin:0!important;
  width:23px;height:23px;border-radius:50%;background:#e8f3e9;color:#27744d;
  font-size:14px;transition:background .2s,color .2s
}
#page-professional .subpage>.back-link{
  display:inline-flex!important;align-items:center!important;justify-content:center;
  gap:12px!important;padding:11px 19px 11px 11px!important;min-height:49px;
  border:1px solid #d6e9da!important;border-radius:999px!important;
  background:#eaf4eb!important;color:#175239!important;
  font-size:13px!important;font-weight:800!important;line-height:1.25;
  box-shadow:0 5px 17px rgba(24,75,44,.07);
  transition:background .2s,transform .2s,box-shadow .2s;
  cursor:pointer
}
#page-professional .subpage>.back-link .back-arrow{
  display:grid;place-items:center;flex:none;width:29px;height:29px;
  border-radius:50%;background:#1a6243;color:white;font-size:18px
}
#page-professional .subpage>.back-link:hover{
  background:#dceee0!important;transform:translateX(-3px);
  box-shadow:0 8px 24px rgba(24,75,44,.13)
}
@media(max-width:900px){
  #page-home .hero-quick{align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  #page-home .hero-quick-actions{
    width:100%!important;max-width:100%!important;flex-wrap:nowrap!important;
    overflow-x:auto!important;scrollbar-width:none;gap:9px!important;
    padding:3px 2px 9px!important;-webkit-overflow-scrolling:touch
  }
  #page-home .hero-quick-actions::-webkit-scrollbar{display:none}
  #page-home .hero-quick-actions button{flex:0 0 auto;min-height:41px;padding:8px 11px 8px 15px!important}
  #page-home .v12-marquee-viewport{
    overflow:hidden!important;mask:none!important;-webkit-mask:none!important;
    touch-action:pan-y!important
  }
  #page-home .v12-marquee-viewport #categories{
    display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;
    width:max-content!important;min-width:max-content!important;max-width:none!important;
    gap:12px!important;overflow:visible!important;animation:none!important;
    padding:6px 0 12px!important;will-change:transform
  }
  #page-home .v12-marquee-viewport #categories>.category-item,
  #page-home .v12-marquee-viewport #categories>[data-v12-clone]{
    flex:0 0 154px!important;width:154px!important;min-width:154px!important;
    height:176px!important;min-height:176px!important;max-width:154px!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:flex-end!important;position:relative!important;
    padding:14px!important;border-radius:18px!important;overflow:hidden!important;
    background:#dceadd!important;box-shadow:none!important;isolation:isolate!important
  }
  #page-home .v12-marquee-viewport .category-item .category-picture{
    display:block!important;position:absolute!important;inset:0!important;
    width:100%!important;height:100%!important;z-index:-2!important;border-radius:0!important
  }
  #page-home .v12-marquee-viewport .category-item .category-picture img{
    display:block!important;width:100%!important;height:100%!important;object-fit:cover!important
  }
  #page-home .v12-marquee-viewport .category-item::before{
    display:block!important;content:"";position:absolute;inset:0;z-index:-1;
    background:linear-gradient(180deg,transparent 35%,rgba(8,36,25,.78) 100%)!important
  }
  #page-home .v12-marquee-viewport .category-item .category-words{
    align-items:flex-start!important;margin:0!important;gap:0!important
  }
  #page-home .v12-marquee-viewport .category-item .category-words strong{
    color:#fff!important;text-align:left!important;font-size:15px!important;
    font-weight:800!important;letter-spacing:-.02em!important
  }
  #page-home .v12-marquee-viewport .category-item .category-words small,
  #page-home .v12-marquee-viewport .category-item .v19-category-icon{display:none!important}
  #page-professional .subpage>.back-link{margin:12px 0 19px!important}
}
@media(prefers-reduced-motion:reduce){
  #page-home .hero-quick-actions button,#page-professional .subpage>.back-link{transition:none!important}
}

/* V22: remove os bloqueios de interação dos cartões */
@media(max-width:900px){
 #page-home .v12-marquee-viewport{position:relative!important;overflow:hidden!important;touch-action:pan-y!important}
 #page-home .v12-marquee-viewport #categories{pointer-events:auto!important;transform:translate3d(0,0,0);animation:none!important}
 #page-home .v12-marquee-viewport #categories>.category-item{pointer-events:auto!important;cursor:pointer!important;touch-action:pan-y!important}
 #page-home .v12-marquee-viewport [data-v12-clone]{pointer-events:auto!important}
 #page-home .v12-marquee-viewport .category-picture{display:block!important}
 #page-home .v12-marquee-viewport .category-go{display:grid!important}
 #page-home .v12-marquee-viewport .category-item:active{filter:brightness(1.13)!important}
}

#page-professional .subpage>.back-link{background:#185b40!important;color:white!important;border-color:#185b40!important;box-shadow:0 9px 22px #16472e2b!important}
#page-professional .subpage>.back-link .back-arrow{background:#ffffff27!important;color:#fff!important}
#page-professional .subpage>.back-link:hover{background:#0c3e2c!important}
/* Publicações de pré-lançamento */
.v24-offers{margin-top:17px;padding:16px;background:#f1f6f1;border-radius:16px}
.v24-offers>strong{font-size:13px;color:#24583f}
.v24-offer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;background:white;border:1px solid #e1eae1;border-radius:13px;padding:13px}
.v24-offer>div{min-width:0;flex:1}
.v24-offer strong{color:#153f2f;font-size:14px}
.v24-offer p{margin:5px 0 0;color:#567063;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:690px){.v24-offer{align-items:stretch;flex-direction:column}.v24-offer .btn{width:100%}}

/* V25 - Buscas populares: aparencia neutra sem selecao fixa. */
#page-home .hero-quick{
  display:flex!important;align-items:flex-start!important;gap:15px!important;
  margin-top:23px!important
}
#page-home .hero-quick>span{
  display:inline-flex;align-items:center;flex:0 0 auto;
  min-height:44px;color:#547565!important;font-size:12px!important;
  font-weight:800!important;white-space:nowrap
}
#page-home .hero-quick-actions{
  display:flex!important;flex:1 1 0;flex-wrap:wrap!important;
  gap:9px!important;min-width:0
}
#page-home .hero-quick-actions button{
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;
  gap:13px!important;min-height:43px!important;
  padding:8px 9px 8px 16px!important;
  font-size:12px!important;font-weight:750!important;white-space:nowrap;
  border-radius:999px!important;border:1px solid #d5e5d8!important;
  background:#edf5ef!important;color:#245b42!important;
  box-shadow:0 2px 8px rgba(18,62,42,.045)!important;
  cursor:pointer;touch-action:manipulation;
  transition:transform .2s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease!important
}
#page-home .hero-quick-actions button span{
  display:grid!important;place-items:center!important;flex:0 0 25px;
  width:25px!important;height:25px!important;
  border-radius:50%!important;
  background:#dcebdd!important;color:#317a54!important;
  font-size:14px!important;line-height:1!important;
  transition:background-color .2s ease,color .2s ease!important
}
@media (hover:hover) and (pointer:fine){
  #page-home .hero-quick-actions button:hover{
    background:#15543c!important;color:#fff!important;
    border-color:#15543c!important;
    box-shadow:0 9px 18px rgba(17,79,54,.15)!important;
    transform:translateY(-2px)!important
  }
  #page-home .hero-quick-actions button:hover span{
    background:rgba(255,255,255,.2)!important;color:#fff!important
  }
}
#page-home .hero-quick-actions button:focus-visible{
  outline:3px solid #55a777!important;outline-offset:3px!important
}
#page-home .hero-quick-actions button:active{
  transform:scale(.97)!important
}
@media(max-width:900px){
  #page-home .hero-quick{
    flex-direction:column!important;align-items:stretch!important;
    gap:5px!important;margin-top:18px!important
  }
  #page-home .hero-quick>span{min-height:24px!important;font-size:11px!important}
  #page-home .hero-quick-actions{
    display:grid!important;grid-auto-flow:column!important;
    grid-template-rows:repeat(2,minmax(40px,auto))!important;
    grid-auto-columns:max-content!important;align-items:stretch!important;
    flex:unset!important;flex-wrap:nowrap!important;
    gap:8px!important;overflow-x:auto!important;overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;padding:7px 4px 13px!important;
    scrollbar-width:none;touch-action:pan-x!important;
    -webkit-overflow-scrolling:touch
  }
  #page-home .hero-quick-actions button{
    min-height:41px!important;font-size:11px!important;
    padding:7px 8px 7px 13px!important;
    scroll-snap-align:start;gap:9px!important
  }
  #page-home .hero-quick-actions button span{
    width:22px!important;height:22px!important;flex-basis:22px
  }
}
@media(prefers-reduced-motion:reduce){
  #page-home .hero-quick-actions button,
  #page-home .hero-quick-actions button span{transition:none!important}
}
