/* Shahram B-08. All styles intentionally scoped to the widget root. */
.shahram-b08 {
  --b08-bg-right: #01193F;
  --b08-bg-left: #173258;
  --b08-photo-surface: #DCDAD3;
  --b08-art-scale: 1;
  --b08-x1: 0px; --b08-y1: 0px;
  --b08-x2: 0px; --b08-y2: 0px;
  --b08-x3: 0px; --b08-y3: 0px;
  width: 100%;
  display: block;
  direction: rtl;
  text-align: right;
  font-family: 'YekanBakh','Yekan Bakh',Tahoma,sans-serif;
  isolation: isolate;
}
.shahram-b08, .shahram-b08 * { box-sizing: border-box; }
.shahram-b08__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 38px 64px 38px 50px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(115deg, var(--b08-bg-left) 3%, var(--b08-bg-right) 68%);
  box-shadow: 0 16px 38px rgba(1,25,63,.13);
  -webkit-font-smoothing: antialiased;
}
.shahram-b08__inner::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.055),transparent 55%);
  pointer-events: none;
}
.shahram-b08__glow { position: absolute; display:block; pointer-events:none; z-index:0; border-radius:50%; }
.shahram-b08__glow--top { width:340px; height:340px; right:-150px; top:-260px; background:rgba(22,134,90,.18); filter:blur(15px); }
.shahram-b08__glow--bottom { width:330px; height:330px; left:10%; bottom:-260px; background:rgba(83,179,143,.12); filter:blur(30px); }
.shahram-b08__outline { position:absolute; left:18%; top:-68%; width:680px; height:680px; border-radius:50%; border:1px solid rgba(255,255,255,.065); pointer-events:none; }
.shahram-b08__content {
  position:relative; z-index:3; flex: 0 0 51%; max-width:51%;
  display: flex; flex-direction:column; align-items:flex-start;
  text-align:right;
}
.shahram-b08__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; line-height: 1.6; font-weight: 600;
  color:#A8DDD0; letter-spacing: 0;
  margin: 0 0 11px;
}
.shahram-b08__badge-dot { display:block; width:7px; height:7px; flex:none; border-radius:50%; background: #4DD5A0; box-shadow: 0 0 0 4px rgba(77,213,160,.12); }
.shahram-b08__title {
  margin:0 !important; padding:0; max-width:100%;
  font-family:'YekanBakh','Yekan Bakh',Tahoma,sans-serif;
  font-weight:900; font-size: clamp(32px,3.55vw,53px); line-height:1.22;
  color:#fff; letter-spacing:-.4px;
}
.shahram-b08__discount { color:#4DD5A0; display:inline-block; white-space:nowrap; margin-inline-start:.18em; }
.shahram-b08__description {
  margin:16px 0 22px !important; padding:0; max-width:430px;
  color:#D7E1ED; font-size:clamp(13px,1.1vw,15px); font-weight:400; line-height:2.05;
  font-family:'YekanBakh','Yekan Bakh',Tahoma,sans-serif;
}
.shahram-b08__button {
  position:relative; display:inline-flex; flex-direction:row; justify-content:center; align-items:center; gap:11px;
  min-height:46px; padding:12px 26px 12px 24px; overflow:hidden;
  border:1px solid transparent; border-radius:999px;
  background-color:#16865A; color:#fff;
  font-family:'YekanBakh','Yekan Bakh',Tahoma,sans-serif; font-size:13px; font-weight:800;
  line-height:1.7; text-decoration:none !important; white-space:nowrap;
  box-shadow:0 7px 22px rgba(22,134,90,.30);
  transition:background-color .32s ease,transform .32s cubic-bezier(.2,.7,.2,1),box-shadow .32s ease;
  -webkit-tap-highlight-color:transparent;
  cursor:pointer;
}
.shahram-b08__button::before {
  content:""; position:absolute; inset:-15%; transform:translateX(125%) rotate(15deg);
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.27) 52%,transparent 100%);
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
}
.shahram-b08__button:hover,.shahram-b08__button:focus-visible { color:#fff; background-color:#0E704A; transform:translateY(-3px);box-shadow:0 12px 27px rgba(22,134,90,.32); }
.shahram-b08__button:hover::before,.shahram-b08__button:focus-visible::before { transform:translateX(-130%) rotate(15deg); }
.shahram-b08__button:focus-visible { outline:2px solid #fff;outline-offset:4px; }
.shahram-b08__button-label { position:relative; z-index:1; }
.shahram-b08__button-icon { position:relative; z-index:1; display:block; width:17px; height:17px; flex:none; transition:transform .3s ease; }
.shahram-b08__button:hover .shahram-b08__button-icon { transform:translateX(-4px); }
.shahram-b08__art {
  position:absolute; z-index:2; width:54%; height:100%; top:0; left:0;
  pointer-events:none; transform-origin:center center;
}
.shahram-b08__art-halo {
  position:absolute; left:4%; top:11%; width:82%; height:84%; border-radius:50%;
  background:radial-gradient(ellipse at 52% 50%,rgba(226,239,230,.16) 0%,rgba(190,211,214,.055) 48%,transparent 72%);
  filter:blur(2px);
}
.shahram-b08__shoe {
  --b08-base-rotate: 0deg;
  position:absolute;display:block; margin:0 !important; padding:0;
  background: var(--b08-photo-surface);
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 17px 38px rgba(0,0,0,.28),0 4px 10px rgba(0,0,0,.13);
  overflow:hidden;
  transform-origin:50% 70%;
  will-change:transform;
  transition:transform .55s cubic-bezier(.2,.7,.2,1),box-shadow .55s ease;
}
.shahram-b08__shoe img {
  display:block !important; width:100% !important; height:100% !important;
  margin:0 !important; object-fit:cover; object-position:center 55%;
  mix-blend-mode:multiply; filter:contrast(1.08);
  transition:transform .65s cubic-bezier(.2,.7,.2,1);
}
.shahram-b08__shoe--rear {
  z-index:1; left:4%; top:11%; width:39%; height:57%;
  border-radius:17px;transform:translate3d(var(--b08-x2),var(--b08-y2),0) rotate(-13deg) scale(var(--b08-art-scale));
}
.shahram-b08__shoe--side {
  z-index:2; left:57%; top:9%; width:35%; height:54%;
  border-radius:17px;transform:translate3d(var(--b08-x3),var(--b08-y3),0) rotate(12deg) scale(var(--b08-art-scale));
}
.shahram-b08__shoe--front {
  z-index:3; left:21%; top:26%; width:53%; height:69%;
  border-radius:20px;transform:translate3d(var(--b08-x1),var(--b08-y1),0) rotate(-4deg) scale(var(--b08-art-scale));
}
.shahram-b08[data-hover="yes"]:hover .shahram-b08__shoe--front { transform:translate3d(var(--b08-x1),calc(var(--b08-y1) - 8px),0) rotate(-2deg) scale(calc(var(--b08-art-scale) + .035));box-shadow:0 24px 48px rgba(0,0,0,.32); }
.shahram-b08[data-hover="yes"]:hover .shahram-b08__shoe--rear { transform:translate3d(var(--b08-x2),calc(var(--b08-y2) - 5px),0) rotate(-16deg) scale(var(--b08-art-scale)); }
.shahram-b08[data-hover="yes"]:hover .shahram-b08__shoe--side { transform:translate3d(var(--b08-x3),calc(var(--b08-y3) - 6px),0) rotate(16deg) scale(var(--b08-art-scale)); }
.shahram-b08[data-hover="yes"]:hover .shahram-b08__shoe img { transform:scale(1.04); }
.shahram-b08__small-spark { position:absolute; color:rgba(181,236,209,.8); font:30px sans-serif; line-height:1; }
.shahram-b08__small-spark--a { left:5%; bottom:22%; }
.shahram-b08__small-spark--b { right:4%; bottom:14%; font-size:15px; }
/* JS adds the pending class only if IntersectionObserver is available. */
.shahram-b08.is-reveal-pending .shahram-b08__content { opacity:0;transform:translateX(24px); }
.shahram-b08.is-reveal-pending .shahram-b08__art { opacity:0;transform:translateX(-28px) scale(.97); }
.shahram-b08__content,.shahram-b08__art { transition:opacity .7s ease,transform .8s cubic-bezier(.2,.8,.2,1); }
.shahram-b08.is-reveal-done .shahram-b08__content,.shahram-b08.is-reveal-done .shahram-b08__art { opacity:1;transform:none; }
@media (min-width: 1440px) {
  .shahram-b08__title { font-size:54px; }
}
@media (max-width: 1024px) {
  .shahram-b08__inner { padding:30px 36px 30px 30px;min-height:300px; }
  .shahram-b08__content { flex-basis:53%;max-width:53%; }
  .shahram-b08__title { font-size:clamp(29px,3.6vw,45px); }
  .shahram-b08__art { width:50%; }
  .shahram-b08__shoe--front { left:20%;width:59%; }
  .shahram-b08__shoe--side { left:62%; }
}
@media (max-width:767px) {
  .shahram-b08__inner { flex-direction:column; min-height:590px; padding:28px 24px 24px; align-items:stretch; border-radius:14px; }
  .shahram-b08__content { flex:0 0 auto;max-width:100%; text-align:center; align-items:center; }
  .shahram-b08__badge { margin-bottom:10px; font-size:11px; }
  .shahram-b08__title { font-size:clamp(32px,8.5vw,47px); line-height:1.3; }
  .shahram-b08__description { max-width:95%;margin:13px 0 18px !important; font-size:13px;line-height:1.9; }
  .shahram-b08__button { min-height:45px;padding:10px 26px; }
  .shahram-b08__art { position:relative; align-self:center; width:100% !important; max-width:430px; height:300px;left:auto;top:auto;margin-top:14px;flex:1 0 auto; }
  .shahram-b08__shoe--front { width:54%;height:71%;top:24%;left:21%; }
  .shahram-b08__shoe--rear { width:40%;height:56%;top:10%;left:4%; }
  .shahram-b08__shoe--side { width:37%;height:51%;left:59%;top:10%; }
  .shahram-b08__glow--top { right:-130px; }
  .shahram-b08__outline { left:0;top:25%;width:500px;height:500px; }
}
@media (max-width:389px) {
  .shahram-b08__inner { padding-right:18px;padding-left:18px;min-height:540px; }
  .shahram-b08__art { height:255px; }
  .shahram-b08__title { font-size:32px; }
}
@media (prefers-reduced-motion: reduce) {
  .shahram-b08 *, .shahram-b08 *::before,.shahram-b08 *::after { animation:none !important;transition-duration:.01ms !important; }
  .shahram-b08.is-reveal-pending .shahram-b08__content,.shahram-b08.is-reveal-pending .shahram-b08__art {opacity:1;transform:none;}
}
