/* Scoped, dependency-free, mobile-first wheel UI. */
.fww-root{--fww-text:#1d1835;--fww-muted:#78738e;font-family:inherit;direction:rtl;line-height:1.65;color:var(--fww-text);font-size:14px;box-sizing:border-box}
.fww-root *{box-sizing:border-box}
.fww-root button,.fww-floating-launch{cursor:pointer;font-family:inherit}
.fww-root button:disabled{opacity:.57;cursor:not-allowed}
.fww-root [hidden]{display:none!important}
.fww-shell{position:relative;max-width:910px;margin:20px auto;background:#fff;border:1px solid #ece8f7;border-radius:28px;box-shadow:0 26px 80px rgba(41,25,86,.13);padding:30px 34px;overflow:hidden}
.fww-shell::before{content:"";position:absolute;width:320px;height:320px;border-radius:50%;background:#f6f0ff;top:-235px;left:-90px;pointer-events:none}
.fww-head{text-align:center;position:relative;z-index:1;margin-bottom:12px}
.fww-overline{display:inline-block;color:var(--fww-accent);font-weight:900;font-size:12px;letter-spacing:2px;direction:ltr}
.fww-head h2{font-family:inherit!important;color:var(--fww-text)!important;font-size:26px!important;font-weight:900!important;margin:9px 0 5px!important;padding:0!important;line-height:1.4!important;border:0!important}
.fww-head p{font-size:14px;color:var(--fww-muted);margin:0}
.fww-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:23px}
.fww-wheel-side{text-align:center;min-width:0}
.fww-wheel-frame{width:min(100%,385px);aspect-ratio:1;margin:0 auto;position:relative;border-radius:50%;padding:12px;background:conic-gradient(from 20deg,#e9d5ff,#a78bfa,#fce7f3,#ddd6fe,#e9d5ff);box-shadow:0 9px 26px rgba(105,62,171,.22),inset 0 0 0 2px #fff}
.fww-wheel-frame::after{content:"";position:absolute;inset:7px;border:2px dashed rgba(255,255,255,.7);border-radius:50%;pointer-events:none}
.fww-wheel{border-radius:50%;width:100%;height:100%;overflow:hidden;background:#dcd4f6;box-shadow:inset 0 4px 10px rgba(44,20,77,.22)}
.fww-wheel svg{width:100%;height:100%;display:block;transform:rotate(0);transition:transform 5s cubic-bezier(.1,.75,.12,1);will-change:transform}
.fww-pointer{position:absolute;z-index:6;top:0;left:50%;transform:translate(-50%,-20%);width:0;height:0;border-left:17px solid transparent;border-right:17px solid transparent;border-top:40px solid #3e256e;filter:drop-shadow(0 3px 2px #795e9b7a)}
.fww-hub{width:58px;height:58px;background:linear-gradient(145deg,#fff,#f5e9ff);position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);border:5px solid #fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 3px 16px #37205b44;font-size:27px;color:var(--fww-accent)}
.fww-action-side{max-width:325px;width:100%;margin:0 auto;text-align:center}
.fww-step-icon{width:64px;height:64px;margin:0 auto 11px;display:grid;place-items:center;border-radius:22px;background:#f4ecff;color:var(--fww-accent);font-size:30px;font-weight:900}
.fww-step h3{color:var(--fww-text);font-size:21px;font-weight:900;line-height:1.5;margin:0 0 9px}
.fww-step p{color:var(--fww-muted);font-size:13px;line-height:1.9;margin:0 0 20px}
.fww-input-label{display:block;text-align:right;color:#49435d;font-weight:700;font-size:12px;margin:12px 0}
.fww-input-label input{display:block;width:100%;margin-top:7px;padding:12px 14px;font-family:inherit;background:#faf8ff;border:1px solid #e6e0f1;border-radius:13px;font-size:16px;color:#21192f;outline:0;text-align:center;letter-spacing:1.2px;height:47px;box-shadow:none}
.fww-input-label input:focus{border-color:var(--fww-accent);box-shadow:0 0 0 3px rgba(139,92,246,.11)}
.fww-primary,.fww-secondary{width:100%;border:0!important;border-radius:13px!important;min-height:47px;padding:11px 20px!important;font-size:14px!important;font-weight:800!important;transition:transform .2s,box-shadow .2s}
.fww-primary{background:linear-gradient(130deg,var(--fww-accent),#9e61fa)!important;box-shadow:0 8px 20px rgba(124,58,237,.28)!important;color:white!important}
.fww-secondary{background:var(--fww-accent)!important;color:#fff!important}
.fww-primary:not(:disabled):hover,.fww-secondary:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(124,58,237,.23)}
.fww-alert{color:#25845b;text-align:center;font-size:12px!important;font-weight:700;min-height:18px;margin:14px 0 6px!important}
.fww-alert-error{color:#d33157!important}
.fww-footnote{color:#9892a7!important;font-size:10px!important;line-height:1.8;margin:8px 0 0!important}
.fww-change,.fww-again{border:0;background:transparent;color:var(--fww-accent);font-weight:800;padding:8px 12px;margin-top:12px;font-size:12px}
.fww-coupon-box{border:1px dashed #9f72ed;background:#f8f2ff;border-radius:14px;margin:15px 0;padding:12px;display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}
.fww-coupon-code{direction:ltr;font-size:19px;font-weight:900;letter-spacing:1.5px;color:var(--fww-accent);user-select:all;overflow-wrap:anywhere}
.fww-copy{border:0;border-radius:9px;padding:8px 10px;background:#e8d9ff;color:#5a2ca4;font-size:12px;font-weight:800}
.fww-cart-link{display:inline-block;color:var(--fww-accent);font-weight:800;text-decoration:none;margin-top:12px}
.fww-odds{max-width:330px;margin:9px auto;font-size:11px;text-align:right;color:#756d84}
.fww-odds summary{cursor:pointer;text-align:center;outline-offset:3px}
.fww-odds-list{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px}
.fww-odds-list span{display:flex;justify-content:space-between;gap:7px}
.fww-odds-list b{direction:ltr}
.fww-empty{font-size:13px;color:#ae3857}
.fww-floating-launch{position:fixed;z-index:99980;bottom:25px;left:24px;display:inline-flex;align-items:center;gap:9px;background:linear-gradient(130deg,#6d28d9,#a855f7);color:white;border:1px solid #ffffff55;border-radius:100px;padding:12px 19px;font-size:14px;font-weight:800;box-shadow:0 10px 33px #5b21b688;transition:transform .2s}
.fww-floating-launch:hover{transform:translateY(-3px)}
.fww-is-modal{display:none;position:fixed;inset:0;z-index:99990;align-items:center;justify-content:center;padding:20px;margin:0!important;overflow-y:auto}
.fww-is-modal.fww-open{display:flex}
.fww-backdrop{position:fixed;inset:0;background:rgba(22,13,44,.71);backdrop-filter:blur(6px);z-index:0}
.fww-is-modal .fww-shell{width:min(930px,100%);position:relative;margin:auto;z-index:1;max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 25px 110px #0006}
.fww-close{position:absolute;z-index:7;top:14px;left:16px;width:34px;height:34px;display:grid;place-items:center;background:#f1ecf9;color:#504267;border:0;border-radius:10px;font-size:25px;line-height:1}
body.fww-modal-open{overflow:hidden}
@media(max-width:760px){.fww-shell{border-radius:19px;padding:26px 19px}.fww-layout{grid-template-columns:1fr;gap:12px}.fww-wheel-frame{width:min(100%,300px)}.fww-action-side{max-width:340px}.fww-head h2{font-size:21px!important}.fww-step h3{font-size:19px}.fww-is-modal{padding:10px}.fww-is-modal .fww-shell{max-height:calc(100vh - 20px)}.fww-floating-launch{bottom:15px;left:14px;padding:11px 14px}}
@media(max-width:370px){.fww-wheel-frame{width:min(100%,245px)}.fww-floating-launch span{display:none}}
@media(prefers-reduced-motion:reduce){.fww-wheel svg,.fww-primary,.fww-secondary,.fww-floating-launch{transition:none!important}}

/* v1.1+: Site typography. The active WordPress / WooCommerce theme owns the font.
   No bundled fonts, external requests or global body typography changes. */
.fww-root,.fww-root :where(h2,h3,p,button,input,select,textarea,summary,small,span,a,label),
.fww-floating-launch{font-family:inherit!important}
.fww-root{font-family:var(--fww-site-font, var(--wd-text-font, inherit))!important}
.fww-root,.fww-root .fww-shell{direction:rtl}
.fww-root .fww-step,.fww-root .fww-input-label{text-align:right}
.fww-root .fww-step-icon,.fww-root .fww-step h3,.fww-root .fww-step>p:not(.fww-alert){text-align:center}
.fww-root input[dir="ltr"],.fww-root .fww-coupon-code{direction:ltr;unicode-bidi:isolate}

/* Seasonal visual preset – Black Friday / جمعه سیاه. */
.fww-bf-banner,.fww-bf-label{display:none}
.fww-root.fww-theme-black-friday{
  --fww-text:#fff4df;--fww-muted:#c3b4a1;--fww-accent:#eab34e;
  color:var(--fww-text);color-scheme:dark;
}
.fww-theme-black-friday .fww-shell{
  background:radial-gradient(circle at 75% 0%,#322225 0%,transparent 36%),
    radial-gradient(circle at 5% 100%,#242022 0%,transparent 47%),
    linear-gradient(143deg,#18181b 0%,#101014 62%,#151318 100%);
  border:1px solid #514032;box-shadow:0 26px 85px #0008,0 0 0 1px #f4c56a15 inset;
  padding-top:25px;isolation:isolate;
}
.fww-theme-black-friday .fww-shell::before{
  width:380px;height:380px;top:-280px;left:-70px;
  background:radial-gradient(circle,#9c354330 0%,transparent 65%);border-radius:50%;
}
.fww-theme-black-friday .fww-shell::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.26;
  background-image:radial-gradient(#dfba804a 1px,transparent 1px);
  background-size:26px 26px;
  mask-image:linear-gradient(120deg,transparent 26%,black 100%);
}
.fww-theme-black-friday .fww-bf-banner{
  position:relative;display:flex;align-items:center;justify-content:center;gap:15px;
  width:max-content;max-width:100%;margin:0 auto 17px;padding:6px 18px;border-radius:999px;
  background:linear-gradient(92deg,#47212c,#692637 52%,#47212c);border:1px solid #a64b56;
  color:#fff6e4;font-size:11px;font-weight:900;box-shadow:0 4px 16px #0003;
}
.fww-theme-black-friday .fww-bf-banner span:first-child,
.fww-theme-black-friday .fww-bf-banner span:last-child{color:#f7c965;font-size:15px}
.fww-theme-black-friday .fww-overline{color:#f6c669;font-size:12px;letter-spacing:0}
.fww-theme-black-friday .fww-head h2{color:#fff3d9!important;font-size:28px!important;text-shadow:0 2px 16px #0007}
.fww-theme-black-friday .fww-head p{color:#c9b8ae}
.fww-theme-black-friday .fww-head{margin-bottom:21px}
.fww-theme-black-friday .fww-bf-label{
  display:inline-block;margin-top:12px;padding:4px 12px;
  font-size:11px;font-weight:700;border-radius:99px;
  border:1px solid #e1ae5a53;background:#e3a14f0d;color:#eecb8a;
}
.fww-theme-black-friday .fww-wheel-frame{
  background:conic-gradient(from 8deg,#f7d17a,#b27020 12%,#f7cc60 28%,#693e24 39%,#ffe09a 53%,#9d621d 68%,#f2ce71 86%,#f7d17a);
  padding:13px;box-shadow:0 10px 28px #0009,0 0 32px #f2b64329,inset 0 0 0 2px #e1c27c;
}
.fww-theme-black-friday .fww-wheel-frame::after{border-color:#f4d68f77;inset:7px}
.fww-theme-black-friday .fww-wheel{background:#2a232a;box-shadow:inset 0 6px 14px #000b}
.fww-theme-black-friday .fww-pointer{
  border-top-color:#f0ca73;filter:drop-shadow(0 3px 2px #000a)
}
.fww-theme-black-friday .fww-hub{
  border-color:#f7cb68;background:linear-gradient(140deg,#231c1c,#151317);
  color:#f7cc64;box-shadow:0 4px 15px #000b,0 0 0 3px #3b2b22;
}
.fww-theme-black-friday .fww-step-icon{
  background:linear-gradient(138deg,#432529,#251c22);color:#ffce6c;
  border:1px solid #8b5a43;box-shadow:0 6px 20px #0003;
}
.fww-theme-black-friday .fww-step h3{color:#fff1d9}
.fww-theme-black-friday .fww-step p{color:#c6b8ae}
.fww-theme-black-friday .fww-input-label{color:#e7d9c8}
.fww-theme-black-friday .fww-input-label input{
  background:#231f22;border-color:#6a5045;color:#fff8ee;
  box-shadow:inset 0 2px 8px #0004;
}
.fww-theme-black-friday .fww-input-label input::placeholder{color:#b3a49a;opacity:1}
.fww-theme-black-friday .fww-input-label input:focus{
  border-color:#f0be5a;box-shadow:0 0 0 3px #f4be5529
}
.fww-theme-black-friday .fww-primary,.fww-theme-black-friday .fww-secondary{
  background:linear-gradient(110deg,#f8d375,#edac3c 55%,#f8d375)!important;
  color:#201516!important;border:1px solid #ffdc8e!important;
  box-shadow:0 9px 21px #e3a43936!important;
}
.fww-theme-black-friday .fww-primary:not(:disabled):hover,
.fww-theme-black-friday .fww-secondary:not(:disabled):hover{
  box-shadow:0 10px 30px #e3a4395e!important
}
.fww-theme-black-friday .fww-alert{color:#f7d382}
.fww-theme-black-friday .fww-alert-error{color:#ff8291!important}
.fww-theme-black-friday .fww-footnote{color:#a89d99!important}
.fww-theme-black-friday .fww-change,.fww-theme-black-friday .fww-again,
.fww-theme-black-friday .fww-cart-link{color:#ffce75}
.fww-theme-black-friday .fww-coupon-box{
  border:1px dashed #d1a354;background:#302525;box-shadow:inset 0 0 22px #f7bb5810;
}
.fww-theme-black-friday .fww-coupon-code{color:#ffe19a}
.fww-theme-black-friday .fww-copy{background:#eac06d;color:#271c19}
.fww-theme-black-friday .fww-close{
  background:#30272b;border:1px solid #665143;color:#efd2a0
}
.fww-theme-black-friday .fww-odds{color:#cdbdab}
.fww-theme-black-friday .fww-odds-list b{color:#ffe0a1}
.fww-theme-black-friday .fww-empty{color:#ff8c9b}
.fww-launch-black-friday{
  font-family:inherit!important;direction:rtl;background:linear-gradient(120deg,#23191f,#4a2330);
  color:#ffdc96;border:1px solid #bd8b4f;box-shadow:0 12px 30px #170e0a99,0 0 0 2px #f2bd5e19 inset;
}
.fww-launch-black-friday:hover{color:#fff1cc;box-shadow:0 13px 36px #170e0abb}
@media(max-width:760px){
 .fww-theme-black-friday .fww-shell{padding-top:18px}
 .fww-theme-black-friday .fww-bf-banner{margin-bottom:11px}
 .fww-theme-black-friday .fww-head{margin-bottom:13px}
 .fww-theme-black-friday .fww-head h2{font-size:22px!important}
}

/* v1.1.1: SVG wedge labels inherit the exact active theme font.
   Rotated labels are centered by SVG coordinates rather than CSS layout. */
.fww-root .fww-wheel svg, .fww-root .fww-wheel svg text,
.fww-root .fww-wheel svg tspan{font-family:inherit!important}
.fww-root .fww-sector-label{user-select:none;-webkit-user-select:none}
