.mxo-offer{--mxo-ink:#0b0754;--mxo-muted:#5c7291;--mxo-accent:#00b7d4;--mxo-soft:rgba(0,183,212,.1);--mxo-border:#0b0754;position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;width:100%;margin:14px 0 22px;padding:18px 22px 15px;border:2px solid var(--mxo-border);border-radius:20px;background:linear-gradient(125deg,#f1fcff 0%,#fff 65%,#edffff 100%);color:var(--mxo-ink);box-shadow:0 5px 0 #25c7de;font-family:inherit;text-align:right;line-height:1.7}
.mxo-offer *{box-sizing:border-box}.mxo-offer [hidden]{display:none!important}.mxo-offer-glow{position:absolute;inset:-45px -40px auto auto;width:150px;height:150px;background:radial-gradient(circle,rgba(69,220,201,.19),transparent 70%);z-index:-1;pointer-events:none}.mxo-offer-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.mxo-offer-kicker{display:inline-flex;gap:7px;align-items:center;color:var(--mxo-muted);font-size:11px;font-weight:600}.mxo-offer-kicker i{width:7px;height:7px;flex:0 0 7px;background:#12b99c;border-radius:50%;box-shadow:0 0 0 4px rgba(18,185,156,.1)}.mxo-offer-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:3px 10px;border-radius:9px;background:var(--mxo-ink);color:#fff;font-size:12px;font-weight:800;transform:rotate(-3deg)}.mxo-offer h3.mxo-offer-title{margin:13px 0 3px!important;padding:0!important;border:0!important;background:none!important;font-family:inherit;font-size:20px;font-weight:900;line-height:1.7;color:var(--mxo-ink)!important;letter-spacing:-.4px}.mxo-offer p.mxo-offer-copy{margin:0 0 14px!important;padding:0!important;color:var(--mxo-muted);font-size:12px;line-height:1.8}.mxo-offer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 18px}.mxo-clock-heading{display:flex;flex-direction:column;gap:2px}.mxo-clock-heading>span{font-size:12px;font-weight:800}.mxo-clock-heading small{font-size:10px;color:var(--mxo-muted)}.mxo-countdown{display:flex;direction:ltr;align-items:center;gap:6px}.mxo-time-unit{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:43px;padding:4px 8px 3px;border:1px solid var(--mxo-border);border-radius:11px;background:rgba(255,255,255,.68);color:var(--mxo-ink);line-height:1.5}.mxo-time-unit b{font-size:21px;font-weight:800;line-height:1.25;font-variant-numeric:tabular-nums;min-width:2ch;text-align:center}.mxo-time-unit span{font-size:9px;color:var(--mxo-muted)}.mxo-time-unit:last-child{background:var(--mxo-soft);border-color:transparent}.mxo-digit-pop{animation:mxo-digit .22s ease-out}.mxo-offer-progress{height:3px;overflow:hidden;margin-top:15px;border-radius:3px;background:var(--mxo-soft)}.mxo-offer-progress span{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1ac9b9,var(--mxo-accent));transform-origin:right;transition:transform 1s linear}.mxo-offer p.mxo-offer-status{margin:10px 0 0!important;padding:0!important;font-size:12px;line-height:1.8;color:var(--mxo-ink)}.mxo-offer button.mxo-offer-retry{min-height:30px;margin-top:8px;padding:4px 12px;border:1px solid var(--mxo-border);border-radius:9px;background:var(--mxo-ink);color:white;font-family:inherit;font-size:11px;font-weight:700;line-height:1.7;box-shadow:none;cursor:pointer}.mxo-offer.mxo-ended .mxo-offer-badge{transform:none;opacity:.8}.mxo-ended .mxo-offer-kicker i{background:#9292a5;box-shadow:none}.mxo-ended .mxo-offer-progress span{transform:scaleX(0)!important}.mxo-theme-black-friday{--mxo-ink:#fff;--mxo-muted:#b6cbe3;--mxo-accent:#f4d06e;--mxo-soft:rgba(0,198,223,.14);--mxo-border:#08064a;background:radial-gradient(ellipse at 5% 100%,rgba(0,198,223,.16),transparent 60%),linear-gradient(120deg,#0b0754,#0b2348);box-shadow:0 5px 0 #25c7de}.mxo-theme-black-friday .mxo-offer-badge{background:#f9d36e;color:#211a32}.mxo-theme-black-friday .mxo-time-unit{background:rgba(255,255,255,.06);border-color:rgba(175,222,245,.35)}.mxo-theme-black-friday .mxo-time-unit:last-child{background:#16c9dd;color:#0b0754;border-color:#16c9dd}.mxo-theme-black-friday .mxo-offer-glow{background:radial-gradient(circle,rgba(231,187,84,.16),transparent 70%)}.mxo-theme-black-friday button.mxo-offer-retry{background:#f9d36e;color:#211a32}.mxo-stale-price{opacity:.45}.mxo-offer button:focus-visible{outline:3px solid #20cbbf;outline-offset:3px}@keyframes mxo-digit{from{transform:translateY(-3px);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(max-width:480px){.mxo-offer{padding:15px 14px 12px;border-radius:17px}.mxo-offer h3.mxo-offer-title{font-size:18px!important}.mxo-offer-bottom{gap:11px}.mxo-clock-heading small{display:none}.mxo-time-unit{min-width:37px;padding:4px 6px}.mxo-time-unit b{font-size:20px}.mxo-countdown{gap:4px}.mxo-offer-badge{font-size:11px}.mxo-offer-kicker{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mxo-digit-pop{animation:none}.mxo-offer-progress span{transition:none}}

.mxo-offer::before{content:"";position:absolute;top:18px;bottom:18px;right:0;width:4px;border-radius:4px;background:#19c8dc;pointer-events:none}.mxo-offer-badge{box-shadow:0 2px 0 #09b8d2}.mxo-theme-black-friday .mxo-time-unit:last-child span{color:#163761}

/* Theme-aware inline option markers; no images, font icons or continuous animation. */
html body form.variations_form .pw-name .mxo-plan-badge{display:inline-flex;align-items:center;vertical-align:middle;gap:3px;margin-inline-start:6px;padding:2px 5px;border:1px solid #0b0754;border-radius:7px;background:#d8fbff;color:#0b0754;box-shadow:0 2px 0 #20c7dc;font-size:9px;font-weight:800;line-height:1.4;white-space:nowrap;cursor:inherit}
html body form.variations_form .mxo-plan-badge[data-mxo-theme="black-friday"]{background:#11131d;color:#ffe18a;border-color:#11131d;box-shadow:0 2px 0 #20c7dc}
html body form.variations_form .mxo-plan-badge svg{display:block;width:12px;height:12px;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
html body form.variations_form .mxo-plan-badge[data-mxo-theme="black-friday"] svg{fill:currentColor;stroke-width:.6}
html body form.variations_form .pw-opt.disabled .mxo-plan-badge{display:none}

/* Only the price widget containing our active offer expands; neighboring widgets stay untouched. */
html body [data-widget_type="wd_single_product_price.default"].mxo-offer-price-widget{box-sizing:border-box;width:100%!important;max-width:100%!important;flex:0 0 100%!important;align-self:stretch!important;margin-bottom:20px!important;--container-widget-width:100%}
@supports selector(:has(*)){html body [data-widget_type="wd_single_product_price.default"]:has(.mxo-offer){box-sizing:border-box;width:100%!important;max-width:100%!important;flex:0 0 100%!important;align-self:stretch!important;--container-widget-width:100%}}
html body .mxo-offer-price-widget>.elementor-widget-container{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%;margin:0!important}
html body .mxo-offer-price-widget>.elementor-widget-container>.mxo-offer{width:100%;margin:0 0 5px!important}
html body .mxo-offer-price-widget>.elementor-widget-container>.price{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 26px;box-sizing:border-box;width:fit-content!important;max-width:100%!important;margin:0 auto!important;padding:13px 18px!important;border:1px solid #c9e6ed!important;border-radius:16px!important;background:#f5fcff!important;box-shadow:0 3px 0 #d5f1f6!important;direction:rtl;line-height:1.6}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>ins,html body .mxo-offer-price-widget>.elementor-widget-container>.price>del{display:flex!important;flex-direction:column;align-items:center;gap:3px;margin:0!important;padding:0!important;background:none!important;text-decoration:none!important;opacity:1!important}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>ins{order:0}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>del{order:1}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>ins::before{content:"قیمت نهایی";font-size:10px;font-weight:600;color:#607a94}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>del::before{content:"قبل از تخفیف";font-size:10px;font-weight:500;color:#8393a6}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>ins>.amount,html body .mxo-offer-price-widget>.elementor-widget-container>.price>.amount{color:#0b0754!important;font-size:26px!important;font-weight:900!important;white-space:nowrap}
html body .mxo-offer-price-widget>.elementor-widget-container>.price>del>.amount{color:#7d8ca1!important;font-size:14px!important;font-weight:600!important;text-decoration:line-through;white-space:nowrap}
html body .mxo-offer-price-widget>.elementor-widget-container>.price .woocommerce-Price-currencySymbol{font-size:12px!important;font-weight:600!important}
@media(max-width:480px){html body .mxo-offer-price-widget>.elementor-widget-container>.price{gap:10px 22px;padding:12px 14px!important}html body .mxo-offer-price-widget>.elementor-widget-container>.price>ins>.amount,html body .mxo-offer-price-widget>.elementor-widget-container>.price>.amount{font-size:23px!important}}
