
/* YOWILOO PREMIUM MOTION V2 */
:root{--yw-ease:cubic-bezier(.22,1,.36,1)}

@media(prefers-reduced-motion:no-preference){

.products-section{
  position:relative;
  animation:ywPremiumEntrance .85s var(--yw-ease) both;
}

@keyframes ywPremiumEntrance{
  from{opacity:.45;transform:translateY(24px)}
  to{opacity:1;transform:none}
}

.product-card{
  position:relative;
  isolation:isolate;
  transition:transform .5s var(--yw-ease),
    box-shadow .5s ease,border-color .4s ease!important;
}

.product-card:not([hidden]):not([style*="display:none"]){
  animation:ywPremiumCard .7s var(--yw-ease) both;
  animation-delay:var(--yw-delay,0ms);
}

@keyframes ywPremiumCard{
  from{opacity:0;transform:translateY(22px) scale(.975)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.product-card:hover{
  transform:translateY(-9px)!important;
  border-color:rgba(217,162,45,.65)!important;
  box-shadow:0 26px 55px rgba(8,40,73,.19),
    0 0 0 1px rgba(217,162,45,.15)!important;
}

.product-card .product-image img{
  transition:transform .75s var(--yw-ease),
    filter .6s ease!important;
}

.product-card:hover .product-image img{
  transform:scale(1.075)!important;
  filter:saturate(1.09) contrast(1.025);
}

.yw-more-button{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  box-shadow:0 9px 25px rgba(8,40,73,.18);
  transition:transform .35s var(--yw-ease),
    box-shadow .35s ease!important;
}

.yw-more-button:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 16px 34px rgba(8,40,73,.27),
    0 0 0 3px rgba(217,162,45,.14);
}

.yw-more-button::before{
  content:"";
  position:absolute;
  pointer-events:none;
  inset:-100% auto -100% -45%;
  width:35%;
  background:linear-gradient(90deg,transparent,
    rgba(255,255,255,.55),transparent);
  transform:skewX(-22deg) translateX(-250%);
  transition:transform .8s var(--yw-ease);
}

.yw-more-button:hover::before{
  transform:skewX(-22deg) translateX(700%);
}

.preview-ad,.yw-home-donation,.impact{
  transition:box-shadow .5s ease,filter .5s ease;
}

.yw-home-donation{
  box-shadow:0 24px 55px rgba(8,40,73,.18);
}

.yw-home-donation-btn{
  transition:transform .35s var(--yw-ease),
    box-shadow .35s ease!important;
}

.yw-home-donation-btn:hover{
  transform:translateY(-4px) scale(1.025)!important;
}

.yw-motion-reveal{
  transition:opacity .85s var(--yw-ease),
    translate .85s var(--yw-ease);
}

.yw-motion-ready .yw-motion-reveal:not(.yw-motion-visible){
  opacity:0;
  translate:0 28px;
}

.yw-motion-visible{
  opacity:1;
  translate:0 0;
}

}

@media(hover:none){
  .product-card:hover{
    transform:none!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .products-section,
  .product-card{
    animation:none!important;
  }
  .yw-motion-reveal{
    opacity:1!important;
    translate:none!important;
  }
}


/* YOWILOO PREMIUM MOTION V3 — NAVIGATION */

@media(prefers-reduced-motion:no-preference){

.header{
  transition:box-shadow .4s ease,
    background .4s ease,border-color .4s ease;
}

.header:hover{
  box-shadow:0 12px 32px rgba(8,40,73,.10);
}

.logo{
  transition:transform .4s cubic-bezier(.22,1,.36,1),
    filter .4s ease;
}

.logo:hover{
  transform:translateY(-2px);
  filter:drop-shadow(0 4px 8px rgba(217,162,45,.18));
}

.menu a{
  transition:color .3s ease,opacity .3s ease;
}

.menu a::after{
  height:2px;
  border-radius:20px;
  background:linear-gradient(90deg,#b97a14,#f3d58b,#b97a14);
  transition:transform .42s cubic-bezier(.22,1,.36,1);
}

.header-actions a{
  transition:transform .35s cubic-bezier(.22,1,.36,1),
    background .35s ease,box-shadow .35s ease;
}

.header-actions a:hover{
  transform:translateY(-3px) scale(1.06);
  background:rgba(217,162,45,.12);
  box-shadow:0 7px 16px rgba(8,40,73,.09);
}

.section-title h2{
  transition:letter-spacing .4s ease,color .4s ease;
}

.section-title:hover h2{
  letter-spacing:.005em;
}

.btn,.yw-more-button,.yw-home-donation-btn{
  transition:transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,filter .35s ease;
}

.btn:hover{
  transform:translateY(-3px);
  filter:brightness(1.055);
}

.footer a{
  transition:color .3s ease,opacity .3s ease;
}

.footer a:hover{
  color:#e6b84c;
}

}

@media(max-width:760px){
  .header{
    box-shadow:0 5px 20px rgba(8,40,73,.065);
  }
}

@media(prefers-reduced-motion:reduce){
  .header,.logo,.menu a,.header-actions a,
  .section-title h2,.footer a{
    transition:none!important;
  }
}
