/* TH STORE V10.5 — INTRO 2D, rápida, com abertura de cortinas.
   Tudo dentro de .th-entry: nenhuma regra altera o site, catálogo ou painel. */
.th-entry{
  position:fixed;inset:0;z-index:2147483000;isolation:isolate;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;overflow:clip;color:#f9f7f2;
  pointer-events:auto;visibility:visible;
}
.th-entry__top,.th-entry__bottom{
  position:absolute;left:0;right:0;width:100%;height:50.5%;
  background:#121212;will-change:transform;
  transition:transform .64s cubic-bezier(.76,0,.24,1);
}
.th-entry__top{top:0;box-shadow:inset 0 -1px 0 rgba(193,150,75,.22)}
.th-entry__bottom{bottom:0;box-shadow:inset 0 1px 0 rgba(193,150,75,.22)}
.th-entry__content{
  position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;
  justify-content:center;text-align:center;padding:22px;transform:translateY(-8px);
  transition:opacity .18s ease,transform .4s ease;
}
.th-entry__mark{
  display:flex;font:800 clamp(98px,25vw,158px)/.88 Archivo,Arial,sans-serif;
  letter-spacing:-.19em;padding-right:.19em;
  opacity:0;transform:scale(.91) translateY(12px);
  animation:th-entry-logo .58s cubic-bezier(.17,1,.3,1) .09s forwards;
}
.th-entry__mark span:first-child{color:#f8f7f1}
.th-entry__mark span:last-child{color:#d2a24b}
.th-entry__store{
  margin-top:15px;background:#f8f7f2;color:#1d1c1b;
  padding:7px 16px;font:800 10px/1 Archivo,Arial,sans-serif;letter-spacing:.35em;
  opacity:0;animation:th-entry-up .42s ease .31s forwards;
}
.th-entry__store span{color:#b88a3e}
.th-entry__line{width:135px;height:1px;margin:28px 0 18px;background:rgba(255,255,255,.19);overflow:hidden}
.th-entry__line span{
  display:block;height:100%;width:100%;transform:translateX(-101%);
  background:linear-gradient(90deg,#a4752f,#eac782);
  animation:th-entry-draw .65s cubic-bezier(.2,.9,.3,1) .36s forwards;
}
.th-entry__tagline{
  color:#bfa37a;font:700 clamp(9px,2.55vw,11px)/1.4 Archivo,Arial,sans-serif;
  letter-spacing:.21em;opacity:0;animation:th-entry-up .42s ease .44s forwards;
}
.th-entry__tagline span{padding:0 5px;color:#876c43}
.th-entry__skip{
  position:absolute;right:max(20px,env(safe-area-inset-right,0px));
  bottom:max(24px,calc(env(safe-area-inset-bottom,0px) + 22px));z-index:2;
  padding:10px 4px;border:0;background:transparent;color:#a99a81;
  font:700 10px/1 Archivo,Arial,sans-serif;letter-spacing:.18em;cursor:pointer;
  opacity:0;animation:th-entry-up .38s ease .52s forwards;
}
.th-entry__skip span{margin-left:5px;color:#d2a24b}
.th-entry__skip:focus-visible{outline:2px solid #d2a24b;outline-offset:5px;border-radius:2px}
.th-entry.is-exiting{pointer-events:none}
.th-entry.is-exiting .th-entry__top{transform:translateY(-101%)}
.th-entry.is-exiting .th-entry__bottom{transform:translateY(101%)}
.th-entry.is-exiting .th-entry__content{opacity:0;transform:translateY(-12px) scale(.96)}
.th-entry.is-exiting .th-entry__skip{opacity:0;animation:none}
html.th-entry-skip .th-entry{display:none!important}
@keyframes th-entry-logo{to{opacity:1;transform:none}}
@keyframes th-entry-up{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes th-entry-draw{to{transform:translateX(0)}}
/* Nunca deixar o site inacessível em caso de falha no script. */
.th-entry:not(.is-exiting){animation:th-entry-failsafe .45s ease 3.2s forwards}
@keyframes th-entry-failsafe{to{opacity:0;visibility:hidden;pointer-events:none}}
@media(max-width:480px){.th-entry__mark{font-size:clamp(104px,26vw,146px)}.th-entry__content{transform:translateY(-10px)}}
@media(prefers-reduced-motion:reduce){.th-entry{display:none!important}}
/* Microanimações leves já utilizadas pelo site — mantidas separadas da abertura. */
@media(prefers-reduced-motion:no-preference){
 body.th-intro-finished .hero-content>*{animation:th-page-arrive .72s cubic-bezier(.22,1,.36,1) both}
 body.th-intro-finished .hero-content>*:nth-child(2){animation-delay:.04s}
 body.th-intro-finished .hero-content>*:nth-child(3){animation-delay:.10s}
 body.th-intro-finished .hero-content>*:nth-child(4){animation-delay:.17s}
 body.th-intro-finished .hero-content>*:nth-child(5){animation-delay:.24s}
 @keyframes th-page-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
 .th-motion-active .th-reveal:not(.th-inview){opacity:0;transform:translate3d(0,15px,0)}
 .th-motion-active .th-reveal{transition:opacity .6s ease,transform .68s cubic-bezier(.22,1,.36,1);transition-delay:var(--th-stagger,0ms)}
 .th-motion-active .th-reveal.th-inview{opacity:1;transform:none}
 .th-cart-pulse{animation:th-cart-pulse .42s cubic-bezier(.22,1,.36,1)}
 @keyframes th-cart-pulse{50%{transform:scale(1.12)}}
 .btn,.mobile-nav button,.drawer-head button,.section-tabs button{transition:transform .22s ease,background .25s ease,color .25s ease,box-shadow .25s ease}
 .btn:active,.mobile-nav button:active,.section-tabs button:active{transform:scale(.975)}
}
