/* Tamiyouz Alrowad Store • Hero Storytelling + Goal-first Discovery • 2026-11-12
   Incremental styling: does not change checkout, WooCommerce endpoints, catalog prices or header. */
body.tyz-store-redesign #main-content .tyz-v5-hero-title{
  text-wrap:balance;
  max-width:690px;
  overflow:visible;
}
body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-rotation{
  display:block!important;
  position:relative!important;
  width:100%!important;
  max-width:100%;
  min-height:1.44em;
  line-height:1.35!important;
  padding-block:.04em .1em;
  white-space:normal!important;
  margin-top:.05em;
  color:#f4c679!important;
  contain:layout;
}
body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-rotation:after{
  display:none!important;
}
body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-changing-line{
  display:block!important;
  width:100%;
  max-width:100%;
  position:relative!important;
  white-space:normal!important;
  overflow-wrap:normal;
  color:#f2c778!important;
  opacity:1;
  transform:translate3d(0,0,0)!important;
  transition:opacity .3s ease,filter .3s ease!important;
  text-wrap:balance;
  will-change:opacity;
}
body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-changing-line.tyz-v5-out{
  opacity:0!important;
  filter:blur(5px);
}
body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-changing-line:after{
  content:"";display:block;position:absolute;right:0;bottom:-5px;
  width:clamp(75px,24%,125px);height:3px;border-radius:8px;
  background:linear-gradient(90deg,rgba(241,196,114,.2),#f2cb86)!important;
  box-shadow:0 0 16px rgba(241,201,135,.28);
  opacity:1;
  animation:tyzV5GoldLine 5s ease-in-out infinite;
}
@keyframes tyzV5GoldLine{
  0%,100%{opacity:.65;transform:scaleX(.88);transform-origin:right}
  45%{opacity:1;transform:scaleX(1);transform-origin:right}
}
body.tyz-store-redesign #main-content .store-hero-media-inner.tyz-v5-tilt-ready{
  --tyz-v5-rx:0deg;--tyz-v5-ry:0deg;
  transform:perspective(1100px) rotateX(var(--tyz-v5-rx)) rotateY(var(--tyz-v5-ry));
  transition:transform .3s ease;
  transform-origin:center center;
}
body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspots{
  position:absolute;inset:11px 11px 44px;
  z-index:5;pointer-events:none;
  border-radius:17px;
}
body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot{
  position:absolute;display:inline-flex;align-items:center;gap:7px;
  min-height:37px;padding:8px 11px;
  font:800 11px/1.35 "Tajawal",system-ui,sans-serif;
  color:#fae2b1!important;direction:ltr;
  background:rgba(9,27,47,.92);
  border:1px solid rgba(241,203,132,.64);
  border-radius:999px;
  box-shadow:0 6px 22px rgba(5,16,32,.28),inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter:blur(8px);
  pointer-events:auto;
  text-decoration:none!important;
  white-space:nowrap;
  transform:translate3d(0,0,0);
  transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot i{color:#f7ce82;font-size:12px}
body.tyz-store-redesign #main-content .tyz-v5-hotspot-seo{top:13%;left:5.5%}
body.tyz-store-redesign #main-content .tyz-v5-hotspot-ads{top:12%;right:5.5%}
body.tyz-store-redesign #main-content .tyz-v5-hotspot-store{bottom:13%;left:8%}
body.tyz-store-redesign #main-content .tyz-v5-hotspot-brand{bottom:12%;right:5.5%}
body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot:focus-visible{
  outline:3px solid #ffdca0!important;outline-offset:3px!important;
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot:hover{
    transform:translateY(-3px) scale(1.06)!important;
    background:rgba(18,51,81,.98);border-color:#ffe3ac;
    box-shadow:0 12px 25px rgba(4,15,29,.4),0 0 0 5px rgba(241,202,120,.12);
  }
}
body.tyz-store-redesign #main-content .tyz-v5-goals{
  background:radial-gradient(circle at 90% 0%,rgba(176,128,54,.14),transparent 38%),linear-gradient(135deg,#0b2038,#0a1a30)!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .section-heading{
  max-width:970px;margin-inline:auto;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-guide-eyebrow{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;
  font-size:11px;font-weight:900;letter-spacing:.08em;color:#f0ca88;
  margin:8px auto 13px;text-transform:uppercase;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-guide-eyebrow span{color:#f6dca8}
body.tyz-store-redesign #main-content .tyz-v5-goals .section-heading>p{
  max-width:885px;margin-inline:auto;
  color:#c7d7e6!important;line-height:2!important;font-size:15px!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v4-steps{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;align-items:stretch!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card{
  position:relative;min-width:0;min-height:335px;
  padding:26px 21px 24px!important;
  border-radius:22px!important;
  border:1px solid rgba(215,174,96,.33)!important;
  background:linear-gradient(155deg,rgba(35,66,96,.96),rgba(13,36,60,.97))!important;
  box-shadow:0 18px 38px rgba(0,10,27,.19)!important;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card:after{
  content:"";display:block;position:absolute;inset-inline-start:20px;top:0;
  width:78px;height:2px;background:linear-gradient(90deg,#f3d28c,transparent);
  border-radius:9px;pointer-events:none;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card .tyz-v4-step-icon{
  width:52px;height:52px;font-size:20px;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(247,207,133,.19),rgba(207,151,58,.045));
  border-color:rgba(241,203,130,.42);
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card h3{
  color:#fff!important;font-size:17px!important;line-height:1.7!important;
  min-height:0;letter-spacing:-.01em;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card p{
  color:#c2d0e0!important;font-size:13px!important;line-height:1.95!important;
  margin-bottom:21px;
}
body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card>a{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:46px!important;
  font-size:12px!important;padding:9px 13px!important;white-space:normal;text-align:center;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:linear-gradient(125deg,rgba(241,201,125,.095),rgba(26,51,78,.7));
  border:1px solid rgba(241,201,125,.3);
  padding:22px 25px;border-radius:19px;margin-top:26px;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro strong{
  color:#fff;font-size:18px;font-weight:900;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro p{
  margin:4px 0 0!important;color:#c7d6e6!important;font-size:13px!important;line-height:1.85;
}
body.tyz-store-redesign #main-content .tyz-v5-goals-outro>a{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  flex-shrink:0;min-height:48px;padding:11px 20px;
  background:linear-gradient(125deg,#f4d89e,#e3b45e);
  color:#152840!important;border:1px solid #f4d89e;border-radius:13px;
  font-size:13px;font-weight:900;text-align:center;
  transition:transform .22s ease,box-shadow .22s ease;
}
@media(hover:hover) and (pointer:fine){
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro>a:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(230,176,92,.21);
  }
}
@media(min-width:851px) and (max-width:1200px){
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v4-steps{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card{min-height:270px}
}
@media(max-width:850px){
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v4-steps{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card{min-height:300px}
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro{flex-direction:column;align-items:stretch;text-align:center}
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro>a{width:100%}
}
@media(max-width:540px){
  body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-rotation{min-height:2.6em;line-height:1.4!important}
  body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspots{inset:6px 6px 40px}
  body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot{
    min-height:30px;padding:5px 7px;gap:4px;font-size:9px;border-width:1px;
    backdrop-filter:none;background:rgba(8,25,43,.93);
  }
  body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot i{font-size:10px}
  body.tyz-store-redesign #main-content .tyz-v5-hotspot-seo{top:10%;left:4%}
  body.tyz-store-redesign #main-content .tyz-v5-hotspot-ads{top:10%;right:4%}
  body.tyz-store-redesign #main-content .tyz-v5-hotspot-store{bottom:9%;left:4%}
  body.tyz-store-redesign #main-content .tyz-v5-hotspot-brand{bottom:9%;right:4%}
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v4-steps{
    grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card{
    min-height:0;padding:22px 19px!important;
  }
  body.tyz-store-redesign #main-content .tyz-v5-goals .tyz-v5-goal-card h3{font-size:17px!important}
  body.tyz-store-redesign #main-content .tyz-v5-goals .section-heading>p{font-size:13px!important}
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro{padding:19px}
}
@media(prefers-reduced-motion:reduce){
  body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-changing-line,
  body.tyz-store-redesign #main-content .store-hero-media-inner.tyz-v5-tilt-ready,
  body.tyz-store-redesign #main-content .store-hero-media .tyz-v5-hotspot,
  body.tyz-store-redesign #main-content .tyz-v5-goals-outro>a{
    animation:none!important;transition:none!important;transform:none!important;filter:none!important;
  }
  body.tyz-store-redesign #main-content h1.tyz-v5-hero-title .tyz-v5-changing-line:after{animation:none!important}
}
