/* TYZ Store — Product card clarity, storytelling & CTA swipe V6
   2026-11-12. Scoped to the existing product section; checkout untouched. */
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid{
  align-items:stretch!important;gap:20px!important;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card{
  isolation:isolate;
  min-width:0;
  height:100%;
  border:1px solid rgba(178,198,219,.31)!important;
  background:linear-gradient(155deg,#1b344f 0%,#10253e 100%)!important;
  box-shadow:0 16px 37px rgba(0,9,25,.2)!important;
  transition:transform .32s cubic-bezier(.22,.78,.26,1),box-shadow .32s ease,border-color .32s ease!important;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card:after{
  content:"";position:absolute;z-index:0;inset:0;pointer-events:none;
  border-radius:inherit;
  background:radial-gradient(circle at 0 0,rgba(247,208,137,.13),transparent 56%);
  opacity:0;transition:opacity .38s ease;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card>.product-body{
  position:relative;z-index:1;
  display:flex!important;flex-direction:column!important;
  align-items:stretch;justify-content:flex-start;
  gap:0!important;
  padding:72px 25px 24px!important;
  width:100%;height:100%;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-badge{
  position:absolute!important;top:22px;inset-inline-start:25px;align-self:auto;margin:0!important;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid h3.product-name{
  width:100%;
  font-family:"Tajawal",Cairo,system-ui,sans-serif!important;
  font-size:clamp(18px,1.58vw,21px)!important;
  font-weight:900!important;
  line-height:1.64!important;
  color:#fff!important;
  margin:0 0 11px!important;
  padding:0!important;
  min-height:0!important;
  letter-spacing:0!important;
  overflow-wrap:break-word;
  text-wrap:pretty;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-promo{
  color:#c6d6e7!important;
  font-family:"Tajawal",Cairo,system-ui,sans-serif!important;
  font-weight:500!important;
  font-size:14px!important;
  line-height:1.9!important;
  margin:0 0 25px!important;
  padding:0!important;
  letter-spacing:0!important;
  min-height:0!important;
  text-wrap:pretty;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .price-wrap{
  margin-top:auto!important;
  margin-bottom:17px!important;
  padding-top:9px!important;
  min-height:40px!important;
  justify-content:flex-start;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-footer{
  margin-top:0!important;
  padding-top:18px!important;
  gap:12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  display:inline-flex!important;justify-content:center;align-items:center;gap:9px!important;
  flex-shrink:0;
  min-height:46px!important;
  padding:11px 19px!important;
  font:900 13px/1.5 "Tajawal",Cairo,sans-serif!important;
  color:#11233c!important;
  background:linear-gradient(112deg,#fae1aa 0%,#e8b963 62%,#dca64b 100%)!important;
  border:1px solid rgba(255,231,174,.73)!important;
  border-radius:12px!important;
  box-shadow:0 6px 14px rgba(219,167,75,.13)!important;
  text-decoration:none!important;
  transition:box-shadow .3s ease,transform .3s ease,background .3s ease!important;
  -webkit-tap-highlight-color:transparent;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:before{
  content:"";position:absolute;z-index:1;pointer-events:none;
  inset:0;background:linear-gradient(112deg,transparent 16%,rgba(255,255,255,.05) 35%,rgba(255,255,255,.46) 50%,rgba(255,255,255,.05) 65%,transparent 84%);
  transform:translateX(160%) skewX(-15deg);
  transition:transform .68s cubic-bezier(.17,.65,.25,1)!important;
  opacity:1;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta .tyz-card-button-text{
  position:relative;z-index:2;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta i{
  position:relative;z-index:2;
  transition:transform .3s ease!important;
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card:hover{
    transform:translateY(-7px)!important;
    border-color:rgba(241,202,127,.77)!important;
    box-shadow:0 25px 55px rgba(0,8,23,.37),0 0 0 1px rgba(240,198,126,.12)!important;
  }
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card:hover:after{opacity:1}
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 11px 25px rgba(216,165,79,.32)!important;
  }
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:hover:before{
    transform:translateX(-160%) skewX(-15deg)!important;
  }
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:hover i{
    transform:translateX(-4px)!important;
  }
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:focus-visible{
  outline:3px solid #fff4d4!important;outline-offset:3px!important;
}
body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:active{
  transform:scale(.98)!important;
}
@media(max-width:760px){
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card>.product-body{padding:67px 20px 23px!important}
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid h3.product-name{
    font-size:18px!important;line-height:1.66!important;
  }
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-promo{
    font-size:13px!important;line-height:1.87!important;margin-bottom:22px!important;
  }
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta{min-height:48px!important}
}
@media(max-width:520px){
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid h3.product-name{font-size:19px!important}
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-promo{font-size:14px!important}
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-footer{flex-wrap:nowrap!important}
}
@media(prefers-reduced-motion:reduce){
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-card,
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta,
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta i{
    transition:none!important;animation:none!important;transform:none!important;
  }
  body.tyz-store-redesign #main-content section[aria-labelledby="products-title"] .products-grid .product-cta:before{display:none!important}
}
