/* Tamiyouz Alrowad /store/ — V11: hierarchy, interactive goal icons, distinct CTA treatments.
   Scoped to goal cards and their bottom custom-quote banner. No JS or image assets. */

/* Lift the four card headings relative to the supporting paragraph. */
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card h3{
  font-size:clamp(18px,1.42vw,21px)!important;
  font-weight:900!important;
  color:#fffaf1!important;
  line-height:1.65!important;
  text-shadow:0 1px 9px rgba(0,10,30,.42);
  margin-bottom:12px!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card p{
  font-size:13.2px!important;
  line-height:1.9!important;
  color:#cbd9e7!important;
}
/* Small animation on icon hover and focus, not a perpetual CPU-heavy animation. */
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card .tyz-v4-step-icon{
  position:relative;
  box-shadow:0 0 0 1px rgba(248,207,140,.09),inset 0 1px 0 rgba(255,255,255,.075);
  transition:transform .36s cubic-bezier(.19,.7,.22,1),
             box-shadow .36s ease,background .36s ease!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card .tyz-v4-step-icon i{
  transform:rotate(0deg) scale(1);
  transition:transform .4s cubic-bezier(.23,.73,.27,1),filter .3s ease;
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card:hover .tyz-v4-step-icon{
    transform:translateY(-4px) rotate(-5deg)!important;
    background:linear-gradient(135deg,rgba(249,214,152,.28),rgba(240,180,90,.1))!important;
    box-shadow:0 8px 25px rgba(237,184,96,.13),0 0 0 4px rgba(241,198,120,.06);
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card:hover .tyz-v4-step-icon i{
    transform:rotate(6deg) scale(1.12);
    filter:drop-shadow(0 0 7px rgba(248,212,148,.58));
  }
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card:focus-within .tyz-v4-step-icon{
  transform:translateY(-3px)!important;
  box-shadow:0 0 0 3px rgba(250,217,157,.16),0 9px 22px rgba(0,0,0,.15);
}

/* Card CTA: transparent navy + champagne outline, IVORY background swipe on hover.
   Different from the solid gold custom-quote CTA below. */
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:rgba(16,39,64,.5)!important;
  border:1px solid rgba(249,205,129,.73)!important;
  color:#f7d9a1!important;
  box-shadow:inset 0 0 0 1px rgba(245,217,167,.08)!important;
  border-radius:12px!important;
  text-decoration:none!important;
  font-size:13px!important;
  font-weight:900!important;
  min-height:48px!important;
  transition:color .32s ease, border-color .32s ease,
             box-shadow .32s ease,transform .28s ease!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:before{
  content:"";
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(105deg,#fff8e9 0%,#f0dfc4 58%,#dfc9a7 100%)!important;
  transform:translate3d(110%,0,0)!important;
  z-index:0!important;
  opacity:1!important;
  transition:transform .62s cubic-bezier(.19,.76,.24,1)!important;
  pointer-events:none;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a .tyz-v11-btn-label,
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a i{
  position:relative;
  z-index:2;
  color:inherit!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a i{
  transition:transform .3s ease!important;
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:hover{
    color:#16334e!important;
    border-color:#f3dfbd!important;
    transform:translateY(-2px)!important;
    box-shadow:0 10px 22px rgba(0,9,24,.24)!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:hover:before{
    transform:translate3d(0,0,0)!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:hover i{
    transform:translateX(-3px)!important;
  }
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:focus-visible{
  outline:3px solid #ffe5aa!important;
  outline-offset:4px!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:focus-visible:before{
  transform:translate3d(0,0,0)!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:focus-visible{
  color:#17334e!important;
}

/* Custom quote headline: more visible, further from the fixed assistant on the right.
   Bottom CTA stays gold and deliberately does NOT share the ivory swipe. */
body.tyz-store-redesign #main-content .tyz-v5-goals-outro{
  min-height:126px;
  padding:24px 31px!important;
  gap:26px!important;
  background:linear-gradient(110deg,rgba(242,195,113,.14),rgba(28,54,80,.89))!important;
  border-color:rgba(239,195,119,.43)!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-copy{
  flex:1 1 auto;
  min-width:0;
  padding-inline-start:clamp(22px,6vw,84px);
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-eyebrow{
  display:block;
  margin-bottom:5px;
  color:#f4d195!important;
  font:800 12px/1.6 "Tajawal",Cairo,sans-serif;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-copy h3{
  color:#fff9ee!important;
  font:900 clamp(21px,2vw,27px)/1.5 "Tajawal",Cairo,sans-serif!important;
  letter-spacing:0!important;
  text-shadow:0 0 12px rgba(243,199,123,.16),0 1px 4px rgba(0,8,22,.5)!important;
  text-wrap:balance;
  margin:0!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-copy p{
  color:#d2e0ed!important;
  font-size:14px!important;
  line-height:1.8!important;
  margin:8px 0 0!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro>a.tyz-v5-goals-quote{
  min-height:50px!important;
  padding:12px 22px!important;
  background:linear-gradient(115deg,#f8e0ad,#dfaa50)!important;
  color:#122b43!important;
  border:1px solid #f8deb0!important;
  box-shadow:0 6px 16px rgba(209,156,68,.15)!important;
  transition:transform .25s ease, box-shadow .25s ease!important;
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro>a.tyz-v5-goals-quote:hover{
    transform:translateY(-3px)!important;
    box-shadow:0 11px 25px rgba(209,156,68,.28)!important;
  }
}
@media(max-width:850px){
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro{padding:22px 20px!important}
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-copy{
    padding-inline-start:0;
    text-align:center;
  }
}
@media(max-width:540px){
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card h3{font-size:18px!important}
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-copy h3{font-size:22px!important}
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro .tyz-v11-outro-copy p{font-size:13.5px!important}
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a{min-height:48px!important}
}
@media(prefers-reduced-motion:reduce){
  body.tyz-store-redesign #main-content .tyz-v5-goals :is(.tyz-v5-goal-card>a,.tyz-v4-step-icon,.tyz-v4-step-icon i,.tyz-v5-goals-outro>a.tyz-v5-goals-quote){
    transition:none!important;
    transform:none!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:before{
    transition:none!important;
    transform:translate3d(110%,0,0)!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a:hover{
    color:#f7d9a1!important;
  }
}
