/* Store UX V4 / 2026-11-12 — scoped to live /store/ only.
   Progressive enhancement: never hides content without JS, respects reduced motion. */
body.tyz-store-redesign #main-content{
  --v4-ink:#f8fafc;
  --v4-muted:#c3d3e4;
  --v4-gold:#f1c878;
  --v4-edge:rgba(241,200,120,.32);
}
body.tyz-store-redesign #main-content a,body.tyz-store-redesign #main-content button{
  -webkit-tap-highlight-color:transparent;
}
body.tyz-store-redesign #main-content :is(#cats-title,#products-title,#tyz-v4-guide-title){
  scroll-margin-top:110px;
  text-wrap:balance;
}
body.tyz-store-redesign #main-content .store-hero-copy h1{
  max-width:690px;
  text-wrap:balance;
}
body.tyz-store-redesign #main-content .store-hero-copy h1,
body.tyz-store-redesign #main-content .store-hero-copy .hero-desc,
body.tyz-store-redesign #main-content .store-hero-copy .store-portfolio-kicker{
  animation:tyzV4Rise .72s cubic-bezier(.2,.8,.25,1) both;
}
body.tyz-store-redesign #main-content .store-hero-copy h1{animation-delay:.08s}
body.tyz-store-redesign #main-content .store-hero-copy .hero-desc{animation-delay:.17s}
body.tyz-store-redesign #main-content .store-hero-copy .hero-actions{animation:tyzV4Rise .75s .25s both}
body.tyz-store-redesign #main-content .store-hero-media{
  animation:tyzV4Media .9s .12s both;
}
body.tyz-store-redesign #main-content .store-hero-media-inner{
  position:relative;
  isolation:isolate;
}
body.tyz-store-redesign #main-content .store-hero-media-inner:after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
  background:linear-gradient(112deg,transparent 33%,rgba(255,240,200,.15) 48%,transparent 63%);
  transform:translateX(-150%);
  animation:tyzV4Shimmer 1.6s .8s ease-out both;
  mix-blend-mode:screen;
}
@keyframes tyzV4Rise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes tyzV4Media{from{opacity:0;transform:translate3d(0,20px,0) scale(.986)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes tyzV4Shimmer{0%{transform:translateX(-150%)}100%{transform:translateX(150%)}}
/* Swipe/sweep treatment across actionable CTAs without layout shift. */
body.tyz-store-redesign #main-content :is(.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a){
  position:relative;
  isolation:isolate;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, background .25s ease!important;
}
body.tyz-store-redesign #main-content :is(.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a):before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;opacity:.48;
  background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.4) 48%,transparent 75%);
  transform:translate3d(130%,0,0);
  transition:transform .66s cubic-bezier(.22,.9,.24,1);
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content :is(.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a):hover:before{transform:translate3d(-130%,0,0)}
  body.tyz-store-redesign #main-content :is(.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a):hover{transform:translateY(-3px)!important}
  body.tyz-store-redesign #main-content .cats-grid .cat-card:hover .cat-img img{
    filter:saturate(1.11) brightness(1.07);
  }
}
body.tyz-store-redesign #main-content :is(.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a):active{
  transform:translateY(0) scale(.985)!important;
}
body.tyz-store-redesign #main-content .product-cta{
  min-height:44px;align-items:center;justify-content:center;text-align:center;
}
body.tyz-store-redesign #main-content .cat-card .cat-link{
  display:inline-flex;align-items:center;gap:7px;
}
body.tyz-store-redesign #main-content .cat-card .cat-link i{transition:transform .25s ease}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .cat-card:hover .cat-link i{transform:translateX(-5px)}
}
body.tyz-store-redesign #main-content .tyz-v4-guide{
  padding-top:78px!important;
  padding-bottom:76px!important;
  background:radial-gradient(ellipse 65% 85% at 85% 50%,rgba(205,155,76,.065),transparent 72%),#0b1e32!important;
}
body.tyz-store-redesign #main-content .tyz-v4-guide .section-heading{
  max-width:850px;margin-inline:auto;margin-bottom:30px;
}
body.tyz-store-redesign #main-content .tyz-v4-guide .section-heading p{
  color:var(--v4-muted)!important;font-size:15px!important;line-height:1.95;
}
body.tyz-store-redesign #main-content .tyz-v4-steps{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;
}
body.tyz-store-redesign #main-content .tyz-v4-step{
  position:relative;display:flex;flex-direction:column;align-items:flex-start;
  min-width:0;min-height:265px;padding:28px 25px 26px;
  background:linear-gradient(150deg,rgba(32,61,91,.95),rgba(12,32,54,.96));
  border:1px solid rgba(207,176,120,.27);border-radius:23px;
  box-shadow:0 16px 34px rgba(0,8,24,.16);
  transition:border-color .32s ease,box-shadow .32s ease,transform .32s ease;
}
body.tyz-store-redesign #main-content .tyz-v4-step-no{
  position:absolute;top:21px;left:23px;direction:ltr;letter-spacing:.09em;
  font:700 17px/1.1 system-ui,sans-serif;color:rgba(241,200,120,.32);
}
body.tyz-store-redesign #main-content .tyz-v4-step-icon{
  width:47px;height:47px;border-radius:14px;display:grid;place-items:center;
  color:#f3cf91;background:rgba(241,200,120,.11);
  border:1px solid rgba(241,200,120,.26);font-size:18px;margin-bottom:17px;
}
body.tyz-store-redesign #main-content .tyz-v4-step h3{
  color:#fff!important;font-weight:900;font-size:18px;line-height:1.7;margin:0 0 9px;text-wrap:balance;
}
body.tyz-store-redesign #main-content .tyz-v4-step p{
  color:#b9cadb!important;font-size:14px;line-height:1.95;margin:0 0 17px;
}
body.tyz-store-redesign #main-content .tyz-v4-step>a{
  display:inline-flex;align-items:center;gap:10px;margin-top:auto;
  min-height:42px;padding:9px 14px;border-radius:11px;
  font-size:13px;font-weight:800;color:#0b2038!important;
  background:linear-gradient(115deg,#f5dcaa,#e5b75e);border:1px solid #e5bb75;
}
body.tyz-store-redesign #main-content .tyz-v4-guide-help{
  display:flex;align-items:center;justify-content:center;gap:8px 12px;flex-wrap:wrap;
  text-align:center;color:#c7d7e7!important;font-weight:700;font-size:14px;
  margin:26px auto 0;
}
body.tyz-store-redesign #main-content .tyz-v4-guide-help>a{
  display:inline-flex;align-items:center;gap:9px;color:#f5d18e!important;
  border:1px solid rgba(241,200,120,.33);border-radius:11px;
  padding:7px 15px;background:rgba(241,200,120,.055);
}
body.tyz-store-redesign #main-content .tyz-v4-heading-cta{
  display:inline-flex;gap:10px;align-items:center;justify-content:center;
  margin-top:15px;padding:10px 19px;min-height:44px;
  color:#f5d28e!important;font-size:13px;font-weight:800;
  border:1px solid rgba(241,200,120,.35);border-radius:11px;background:rgba(241,200,120,.07);
}
body.tyz-store-redesign #main-content .tyz-v4-observe{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .58s ease,transform .58s cubic-bezier(.2,.75,.3,1),border-color .3s,box-shadow .3s;
  transition-delay:var(--tyz-v4-delay,0ms);
}
body.tyz-store-redesign #main-content .tyz-v4-observe.tyz-v4-in{
  opacity:1;transform:translateY(0);
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .tyz-v4-step:hover{
    border-color:rgba(241,200,120,.62);box-shadow:0 22px 45px rgba(0,7,20,.29);
  }
}
@media(max-width:900px){
  body.tyz-store-redesign #main-content .tyz-v4-steps{grid-template-columns:1fr;gap:13px}
  body.tyz-store-redesign #main-content .tyz-v4-step{min-height:0;padding:23px 21px}
  body.tyz-store-redesign #main-content .tyz-v4-guide{padding-block:52px!important}
  body.tyz-store-redesign #main-content .tyz-v4-guide .section-heading p{font-size:14px!important}
}
@media(max-width:520px){
  body.tyz-store-redesign #main-content .store-hero-copy h1{font-size:clamp(32px,9vw,43px)!important;line-height:1.43!important}
  body.tyz-store-redesign #main-content .store-hero-copy .hero-desc{font-size:14px!important;line-height:1.93!important}
  body.tyz-store-redesign #main-content .tyz-v4-step h3{font-size:16px}
  body.tyz-store-redesign #main-content .tyz-v4-guide-help{font-size:13px}
  body.tyz-store-redesign #main-content .product-cta{min-height:48px}
}
@media(prefers-reduced-motion:reduce){
  body.tyz-store-redesign #main-content :is(.store-hero-copy h1,.store-hero-copy .hero-desc,.store-hero-copy .store-portfolio-kicker,.store-hero-copy .hero-actions,.store-hero-media,.store-hero-media-inner:after){animation:none!important}
  body.tyz-store-redesign #main-content :is(.tyz-v4-observe,.tyz-v4-step,.cat-img img,.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a){transition:none!important;opacity:1!important;transform:none!important}
  body.tyz-store-redesign #main-content :is(.btn-primary,.btn-secondary,.product-cta,.tyz-v4-heading-cta,.tyz-v4-step>a,.tyz-v4-guide-help>a):before{display:none!important}
}
