/* ویجت‌های اتومارکتینگ — سیستم طراحی مشترک */
:root,
body[class*="elementor-kit-"] {
    --amw-color-primary: var(--e-global-color-primary, #2563eb);
    --amw-color-secondary: var(--e-global-color-secondary, #111827);
    --amw-color-text: var(--e-global-color-text, #6b7280);
    --amw-color-accent: var(--e-global-color-accent, #0bb98a);
    --amw-color-surface: var(--e-global-color-amw-surface, #fff);
    --amw-color-surface-alt: var(--e-global-color-amw-surface-alt, #f5f7fa);
    --amw-color-border: var(--e-global-color-amw-border, #e5e7eb);
    --amw-color-on-brand: var(--e-global-color-amw-on-brand, #fff);
    --amw-color-tooltip: var(--e-global-color-amw-tooltip, #111827);
    --amw-color-success: var(--e-global-color-amw-success, #16a34a);
    --amw-color-warning: var(--e-global-color-amw-warning, #f59e0b);
    --amw-color-danger: var(--e-global-color-amw-danger, #dc2626);
}

.elementor-widget[class*="elementor-widget-amw_"] {
    color: var(--amw-color-text);
    font-family: inherit;
}
.elementor-widget[class*="elementor-widget-amw_"] :where(button, input, select, textarea) {
    font-family: inherit;
}

/* ---------- شمارش معکوس ---------- */
.amw-cd { box-sizing: border-box; text-align: center; }
.amw-cd-title { margin: 0 0 12px; color: #111827; font-weight: 700; }
.amw-cd-grid { display: flex; direction: ltr; gap: 12px; flex-wrap: wrap; justify-content: center; }
.amw-cd-box {
    box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center;
    padding: 16px 20px; min-width: 78px; background: #f3f4f6; border-radius: 12px;
}
.amw-cd-num { font-size: 34px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.amw-cd-label { font-size: 13px; margin-top: 6px; }
.amw-cd-expired { text-align: center; font-size: 18px; font-weight: 600; padding: 16px; }
.amw-cd-sync .fml-countdown-timer { box-sizing: border-box; }
.amw-cd-sync .fml-cd-wrap { display: flex; direction: ltr; flex-wrap: wrap; }
.amw-cd-sync .fml-cd-item {
    box-sizing: border-box; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.amw-cd-sync .fml-cd-num { font-variant-numeric: tabular-nums; }
.amw-cd-integration-notice {
    padding: 14px 16px; border: 1px dashed #d97706; border-radius: 8px;
    background: #fffbeb; color: #92400e; line-height: 1.8; text-align: right;
}

/* ---------- نوار پیشنهاد محدود ---------- */
:root { --amw-offer-bar-height: 0px; }
.amw-lob {
    box-sizing: border-box; width: 100%; padding: 12px 20px;
    background: #f1f1f1; color: #000; font-family: inherit;
}
.amw-lob-position-top .amw-lob,
.amw-lob-position-bottom .amw-lob { position: fixed; right: 0; left: 0; }
.amw-lob-position-top .amw-lob { top: 0; }
.amw-lob-position-bottom .amw-lob { bottom: 0; }
.amw-lob-inner {
    position: relative; display: flex; align-items: center; justify-content: center; gap: 18px;
    width: 100%; max-width: 1320px; margin: 0 auto;
}
.amw-lob-copy { min-width: 0; flex: 1 1 auto; }
.amw-lob-title { color: #000; font-size: 17px; font-weight: 700; line-height: 1.35; }
.amw-lob-subtitle { margin-top: 3px; color: #555; font-size: 13px; line-height: 1.45; }
.amw-lob-timer {
    display: flex; align-items: center; flex: 0 0 auto; padding: 0;
    border-radius: 8px; background: transparent;
}
.amw-lob-fixed-timer { direction: ltr; gap: 6px; }
.amw-lob-time-unit {
    box-sizing: border-box; display: flex; width: 48px; min-width: 48px; min-height: 48px;
    padding: 6px 5px; flex-direction: column; align-items: center; justify-content: center;
    border-radius: 7px; background: #fff;
}
.amw-lob-time-num { color: #000; font-size: 16px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.amw-lob-time-label { margin-top: 3px; color: #555; font-size: 9px; line-height: 1; }
.amw-lob-timer-sync .fml-countdown-timer { margin: 0; padding: 0; background: transparent; }
.amw-lob-timer-sync .fml-cd-title { display: none; }
.amw-lob-timer-sync .fml-cd-wrap {
    display: flex !important; flex-direction: row !important; align-items: stretch;
    justify-content: center; gap: 6px; flex-wrap: nowrap !important; direction: ltr;
}
.amw-lob-timer-sync .fml-cd-item {
    box-sizing: border-box; display: flex; width: 48px; min-width: 48px; min-height: 48px;
    padding: 6px 5px; flex-direction: column; align-items: center; justify-content: center;
    border: 0; border-radius: 7px; background: #fff;
}
.amw-lob-timer-sync .fml-cd-num { font-size: 16px; line-height: 1; }
.amw-lob-timer-sync .fml-cd-label { margin-top: 3px; font-size: 9px; }
.amw-lob-timer-layout-joined .amw-lob-timer,
.amw-lob-timer-layout-joined .amw-lob-timer-sync .fml-countdown-timer {
    overflow: hidden; background: #fff;
}
.amw-lob-timer-layout-joined .amw-lob-fixed-timer,
.amw-lob-timer-layout-joined .amw-lob-timer-sync .fml-cd-wrap { gap: 0 !important; }
.amw-lob-timer-layout-joined .amw-lob-time-unit,
.amw-lob-timer-layout-joined .amw-lob-timer-sync .fml-cd-item {
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
.amw-lob-timer-layout-joined .amw-lob-time-unit:not(:last-child),
.amw-lob-timer-layout-joined .amw-lob-timer-sync .fml-cd-item:not(:last-child) {
    border-right: 1px solid #d8d8d8 !important;
}
.amw-lob-timer-notice { max-width: 260px; color: #7c2d12; font-size: 11px; line-height: 1.5; }
.amw-lob-coupon {
    display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
    padding: 8px 11px; border: 1px dashed #000; border-radius: 8px;
    background: #fff; color: #000; font: inherit; cursor: pointer;
}
.amw-lob-code { font-weight: 800; letter-spacing: .04em; }
.amw-lob-coupon-hint { color: #555; font-size: 10px; white-space: nowrap; }
.amw-lob-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    flex: 0 0 auto; padding: 9px 18px; border: 1px solid #000; border-radius: 8px;
    background: #000; color: #fff; text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease;
}
.amw-lob-button:hover { background: #fff; color: #000; }
.amw-lob-button-copy { display: flex; flex-direction: column; }
.amw-lob-button-main { font-size: 13px; font-weight: 700; line-height: 1.25; }
.amw-lob-button-sub { margin-top: 2px; font-size: 9px; font-weight: 400; line-height: 1.2; opacity: .75; }
.amw-lob-button-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 0; }
.amw-lob-button-icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.amw-lob-close {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%;
    background: transparent; color: #000; cursor: pointer;
}
.amw-lob-close svg { display: block; width: 18px; height: 18px; }
.amw-lob-close:hover { background: rgba(0,0,0,.07); }
.amw-lob-button:focus-visible, .amw-lob-coupon:focus-visible, .amw-lob-close:focus-visible {
    outline: 2px solid currentColor; outline-offset: 2px;
}

/* ---------- هیرو مینیمال ---------- */
.amw-hero {
    position: relative; box-sizing: border-box; display: flex; min-height: 720px;
    align-items: center; justify-content: center; overflow: hidden;
    padding: 110px 24px 100px; background: #fff;
}
.amw-hero-inner { position: relative; z-index: 1; width: 100%; max-width: 1350px; margin: auto; text-align: center; }
.amw-hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 54px; }
.amw-hero-badge {
    --amw-badge-color-1: var(--e-global-color-primary, #6ec1e4);
    --amw-badge-color-2: var(--e-global-color-accent, #61ce70);
    --amw-hero-speed: 3.5s; --amw-badge-glow-width: 1.5px; --amw-badge-bg: #fff;
    position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
    padding: 9px 13px 9px 16px; border: 1px solid #e5e7eb; border-radius: 999px;
    background: var(--amw-badge-bg); color: var(--e-global-color-text, #7a7a7a); font-size: 15px; font-weight: 500;
    line-height: 1.4; text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease;
}
.amw-hero-badge:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.amw-hero-badge::before {
    content: ""; position: absolute; z-index: 0; top: 50%; left: 50%;
    width: 220%; aspect-ratio: 1; border-radius: 50%;
    background: conic-gradient(
        transparent 0deg 265deg,
        var(--amw-badge-color-1) 292deg,
        var(--amw-badge-color-2) 326deg,
        transparent 355deg 360deg
    );
    opacity: 0; pointer-events: none;
    transform: translate(-50%, -50%) rotate(0deg);
}
.amw-hero-badge::after {
    content: ""; position: absolute; z-index: 1;
    inset: var(--amw-badge-glow-width); border-radius: inherit;
    background: var(--amw-badge-bg); pointer-events: none;
}
.amw-hero-badge-animation-yes .amw-hero-badge::before {
    opacity: 1; animation: amwHeroBadgeOrbit var(--amw-hero-speed) linear infinite;
}
.amw-hero-badge > * { position: relative; z-index: 2; }
@keyframes amwHeroBadgeOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.amw-hero-badge-icon, .amw-hero-button-icon { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.amw-hero-badge-icon svg { display: block; width: 14px; height: 14px; fill: currentColor; }
.amw-hero-title {
    max-width: 1450px; margin: 0 auto 34px; color: var(--e-global-color-text, #7a7a7a);
    font-size: clamp(42px, 5.8vw, 84px); font-weight: 600; line-height: 1.08;
    letter-spacing: -2px;
}
.amw-hero-subtitle {
    max-width: 650px; margin: 0 auto 34px; color: var(--e-global-color-secondary, #54595f);
    font-size: 24px; font-weight: 400; line-height: 1.45;
}
.amw-hero-actions { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.amw-hero-align-right .amw-hero-badge-wrap,
.amw-hero-align-right .amw-hero-actions { justify-content: flex-start; }
.amw-hero-align-left .amw-hero-badge-wrap,
.amw-hero-align-left .amw-hero-actions { justify-content: flex-end; }
.amw-hero-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 24px; border: 1px solid #d1d5db; border-radius: 11px;
    font-size: 16px; font-weight: 500; line-height: 1.25; text-decoration: none !important;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.amw-hero-button:hover { transform: translateY(-2px); }
.amw-hero-button-primary { background: var(--e-global-color-primary, #6ec1e4); color: #fff; border-color: var(--e-global-color-primary, #6ec1e4); }
.amw-hero-button-primary:hover { color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.amw-hero-button-secondary { background: #fff; color: var(--e-global-color-text, #7a7a7a); }
.amw-hero-button-secondary:hover { color: var(--e-global-color-text, #7a7a7a); background: #f8f8f8; }
.amw-hero-button-icon { font-size: 16px; }
.amw-hero-button-icon svg { display: block; width: 16px; height: 16px; fill: currentColor; }
.amw-hero-button:focus-visible, .amw-hero-badge:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.amw-hero-video-modal {
    position: fixed; z-index: 999999; inset: 0; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: rgba(0,0,0,.82); backdrop-filter: blur(8px);
}
.amw-hero-video-frame {
    position: relative; width: min(1100px, 92vw); aspect-ratio: 16 / 9;
    overflow: hidden; border-radius: 16px; background: #000;
    box-shadow: 0 30px 90px rgba(0,0,0,.45);
}
.amw-hero-video-frame iframe, .amw-hero-video-frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.amw-hero-video-close {
    position: absolute; z-index: 2; top: 18px; left: 18px; display: flex; width: 42px; height: 42px;
    align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font: 30px/1 sans-serif; cursor: pointer;
}

/* Keep navigation flyouts above positioned page widgets without permanently
   forcing the whole header into a high stacking layer. */
.elementor-location-header:has(.e-n-menu-content.e-active),
.elementor-location-header:has(.amw-mega-menu-nav.is-open),
.elementor-location-header:has(.amw-mega-item:hover > .amw-mega-dropdown),
.elementor-sticky:has(.e-n-menu-content.e-active),
.elementor-sticky:has(.amw-mega-menu-nav.is-open),
.elementor-sticky:has(.amw-mega-item:hover > .amw-mega-dropdown) {
    position: relative;
    z-index: 999999 !important;
}

@media (prefers-reduced-motion: reduce) {
    .amw-hero-badge::before { animation: none !important; }
    .amw-hero-badge, .amw-hero-button { transition: none; }
}

/* ---------- پک آیکون SVG ---------- */
.amw-svg-icon-wrap {
    display: flex;
    width: 100%;
    justify-content: center;
}
.amw-svg-icon-shell {
    --amw-svg-tooltip-gap: 12px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.amw-svg-icon {
    --amw-icon-speed: 220ms;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 12px;
    border-radius: 12px;
    color: #111;
    background: #f1f1f1;
    border: 0;
    line-height: 0;
    font: inherit;
    text-decoration: none !important;
    transition: color var(--amw-icon-speed) ease, background-color var(--amw-icon-speed) ease,
        border-color var(--amw-icon-speed) ease, box-shadow var(--amw-icon-speed) ease,
        transform var(--amw-icon-speed) ease;
}
.amw-svg-icon:is(a, button) { cursor: pointer; }
.amw-svg-icon svg {
    display: block;
    width: 32px;
    height: 32px;
    stroke-width: 1.8;
    vector-effect: non-scaling-stroke;
    transition: transform var(--amw-icon-speed) ease;
}
.amw-svg-library-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: visible;
}
.amw-tabler-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}
.amw-svg-icon:hover, .amw-svg-icon:focus-visible {
    color: #fff;
    background: #111;
}
.amw-svg-icon-effect-lift:hover, .amw-svg-icon-effect-lift:focus-visible { transform: translateY(-3px); }
.amw-svg-icon-effect-scale:hover, .amw-svg-icon-effect-scale:focus-visible { transform: scale(1.07); }
.amw-svg-icon-effect-rotate:hover svg, .amw-svg-icon-effect-rotate:focus-visible svg { transform: rotate(8deg); }
.amw-svg-icon:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.amw-svg-tooltip {
    --amw-svg-tooltip-bg: #111;
    box-sizing: border-box;
    position: absolute;
    z-index: 100;
    display: block;
    width: 240px;
    max-width: min(88vw, 600px);
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--amw-svg-tooltip-bg);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    text-align: right;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.amw-svg-tooltip p { margin: 0; }
.amw-svg-tooltip p + p { margin-top: .6em; }
.amw-svg-tooltip a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.amw-svg-tooltip a:hover, .amw-svg-tooltip a:focus-visible { color: #fff; }
.amw-svg-tooltip::before {
    content: "";
    position: absolute;
    background: transparent;
}
.amw-svg-tooltip::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
}
.amw-svg-tooltip-top .amw-svg-tooltip {
    bottom: calc(100% + var(--amw-svg-tooltip-gap));
    left: 50%;
    transform: translate(-50%, 5px) scale(.98);
}
.amw-svg-tooltip-top .amw-svg-tooltip::before {
    top: 100%; left: 0; width: 100%; height: var(--amw-svg-tooltip-gap);
}
.amw-svg-tooltip-top .amw-svg-tooltip::after {
    top: 100%; left: 50%; transform: translateX(-50%);
    border-top-color: var(--amw-svg-tooltip-bg);
}
.amw-svg-tooltip-bottom .amw-svg-tooltip {
    top: calc(100% + var(--amw-svg-tooltip-gap));
    left: 50%;
    transform: translate(-50%, -5px) scale(.98);
}
.amw-svg-tooltip-bottom .amw-svg-tooltip::before {
    bottom: 100%; left: 0; width: 100%; height: var(--amw-svg-tooltip-gap);
}
.amw-svg-tooltip-bottom .amw-svg-tooltip::after {
    bottom: 100%; left: 50%; transform: translateX(-50%);
    border-bottom-color: var(--amw-svg-tooltip-bg);
}
.amw-svg-tooltip-right .amw-svg-tooltip {
    left: calc(100% + var(--amw-svg-tooltip-gap));
    top: 50%;
    transform: translate(-5px, -50%) scale(.98);
}
.amw-svg-tooltip-right .amw-svg-tooltip::before {
    right: 100%; top: 0; width: var(--amw-svg-tooltip-gap); height: 100%;
}
.amw-svg-tooltip-right .amw-svg-tooltip::after {
    right: 100%; top: 50%; transform: translateY(-50%);
    border-right-color: var(--amw-svg-tooltip-bg);
}
.amw-svg-tooltip-left .amw-svg-tooltip {
    right: calc(100% + var(--amw-svg-tooltip-gap));
    top: 50%;
    transform: translate(5px, -50%) scale(.98);
}
.amw-svg-tooltip-left .amw-svg-tooltip::before {
    left: 100%; top: 0; width: var(--amw-svg-tooltip-gap); height: 100%;
}
.amw-svg-tooltip-left .amw-svg-tooltip::after {
    left: 100%; top: 50%; transform: translateY(-50%);
    border-left-color: var(--amw-svg-tooltip-bg);
}
.amw-svg-tooltip-trigger-hover:hover .amw-svg-tooltip,
.amw-svg-tooltip-trigger-hover:focus-within .amw-svg-tooltip,
.amw-svg-tooltip-trigger-hover-click:hover .amw-svg-tooltip,
.amw-svg-tooltip-trigger-hover-click:focus-within .amw-svg-tooltip,
.amw-svg-icon-shell.is-tooltip-open .amw-svg-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.amw-svg-tooltip-top:is(:hover, :focus-within, .is-tooltip-open) .amw-svg-tooltip,
.amw-svg-tooltip-bottom:is(:hover, :focus-within, .is-tooltip-open) .amw-svg-tooltip {
    transform: translate(-50%, 0) scale(1);
}
.amw-svg-tooltip-right:is(:hover, :focus-within, .is-tooltip-open) .amw-svg-tooltip,
.amw-svg-tooltip-left:is(:hover, :focus-within, .is-tooltip-open) .amw-svg-tooltip {
    transform: translate(0, -50%) scale(1);
}
.amw-svg-video-open { overflow: hidden; }
.amw-svg-video-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(6px);
}
.amw-svg-video-frame {
    position: relative;
    width: min(100%, 1080px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}
.amw-svg-video-frame iframe,
.amw-svg-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}
.amw-svg-video-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font: 30px/1 Arial, sans-serif;
    cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
    .amw-svg-icon, .amw-svg-icon svg { transition: none; }
    .amw-svg-tooltip { transition: none; }
    .amw-svg-icon-effect-lift:hover, .amw-svg-icon-effect-lift:focus-visible,
    .amw-svg-icon-effect-scale:hover, .amw-svg-icon-effect-scale:focus-visible { transform: none; }
    .amw-svg-icon-effect-rotate:hover svg, .amw-svg-icon-effect-rotate:focus-visible svg { transform: none; }
}
@media (max-width: 767px) {
    .amw-svg-video-modal { padding: 14px; }
    .amw-svg-video-close { top: 10px; right: 10px; width: 38px; height: 38px; }
}

/* ---------- تیتر بخش مدرن ---------- */
.amw-section-heading {
    display: flex;
    width: 100%;
    justify-content: right;
}
.amw-section-heading-link {
    display: inline-flex;
    max-width: 100%;
    color: inherit;
    text-decoration: none !important;
}
.amw-section-heading-inner {
    --amw-sh-lines-gap: 18px;
    --amw-sh-decoration-y: 0px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    max-width: 100%;
    padding: 6px 0;
}
.amw-section-heading-decoration-right { flex-direction: row; }
.amw-section-heading-decoration-left { flex-direction: row-reverse; }
.amw-section-heading-decoration {
    flex: 0 0 auto;
    transform: translateY(var(--amw-sh-decoration-y));
    transition: color .22s ease, background-color .22s ease, border-color .22s ease,
        box-shadow .22s ease, transform .22s ease;
}
.amw-section-heading-lines {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6px;
}
.amw-section-heading-decoration-right.has-content .amw-section-heading-decoration { margin-left: var(--amw-sh-lines-gap); }
.amw-section-heading-decoration-left.has-content .amw-section-heading-decoration { margin-right: var(--amw-sh-lines-gap); }
.amw-section-heading-line {
    display: block;
    width: 5px;
    border-radius: 4px;
}
.amw-section-heading-line-primary { height: 24px; background: #6251b7; }
.amw-section-heading-line-secondary { height: 43px; background: #eceaf5; }
.amw-section-heading-icon {
    --amw-sh-icon-hover-scale: 1.05;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: #f1effa;
    color: #5b4db2;
    font-size: 38px;
    line-height: 0;
}
.amw-section-heading-icon i { display: block; }
.amw-section-heading-icon svg { display: block; width: 38px; height: 38px; }
.amw-section-heading-link:hover .amw-section-heading-icon {
    background: #5b4db2;
    color: #fff;
    transform: translateY(var(--amw-sh-decoration-y)) scale(var(--amw-sh-icon-hover-scale));
}
.amw-section-heading-image {
    --amw-sh-image-hover-scale: 1.04;
    display: inline-flex;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 18px;
}
.amw-section-heading-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.amw-section-heading-link:hover .amw-section-heading-image {
    transform: translateY(var(--amw-sh-decoration-y)) scale(var(--amw-sh-image-hover-scale));
}
.amw-section-heading-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: inherit;
    row-gap: 3px;
}
.amw-section-heading-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 5px;
    margin: 0;
    padding: 0;
    color: #3d3d48;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.35;
}
.amw-section-heading-accent { color: #5b4db2; }
.amw-section-heading-main { color: #3d3d48; }
.amw-section-heading-subtitle {
    display: block;
    color: #6657b7;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 3.5px;
    white-space: normal;
}
a.amw-section-heading-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}
@media (max-width: 767px) {
    .amw-section-heading-title { font-size: 21px; }
    .amw-section-heading-subtitle { font-size: 14px; letter-spacing: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    .amw-section-heading-decoration { transition: none; }
    .amw-section-heading-link:hover .amw-section-heading-icon,
    .amw-section-heading-link:hover .amw-section-heading-image { transform: translateY(var(--amw-sh-decoration-y)); }
}

/* ---------- دکمه دوخطی ---------- */
.amw-tlb-wrap {
    display: flex;
    width: 100%;
    justify-content: center;
}
.amw-tlb-align-right .amw-tlb-wrap { justify-content: flex-start; }
.amw-tlb-align-center .amw-tlb-wrap { justify-content: center; }
.amw-tlb-align-left .amw-tlb-wrap { justify-content: flex-end; }
.amw-tlb-align-stretch .amw-tlb-wrap { justify-content: stretch; }
.amw-tlb-align-stretch .amw-tlb-button { width: 100%; }
.amw-tlb-button {
    --amw-tlb-text-g1: #fff;
    --amw-tlb-text-g2: #a5b4fc;
    --amw-tlb-text-angle: 90deg;
    --amw-tlb-hover-g1: #fff;
    --amw-tlb-hover-g2: #fde68a;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    min-height: 66px;
    gap: 12px;
    padding: 12px 20px;
    border: 1px solid var(--amw-tlb-border, transparent);
    border-radius: 12px;
    background-color: var(--amw-tlb-bg, #111);
    color: var(--amw-tlb-fg, #fff);
    font: inherit;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .22s ease, background-color .22s ease, background-image .22s ease,
        border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

/* Presets only provide inherited fallbacks. Selecting a preset in Elementor
   also writes these colors to the widget controls; manual Normal/Hover values
   therefore always keep Elementor's native (higher) precedence. */
/* 1. Theme Light (روشن) - دکمه مشکی با متن سفید */
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-button {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-main,
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-media {
    color: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-sub {
    color: #e4e4e7;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-icon svg [stroke]:not([stroke="none"]) {
    stroke: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-icon svg [fill]:not([fill="none"]) {
    fill: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-button:hover,
.elementor-widget-amw_two_line_button.amw-tlb-theme-light .amw-tlb-button:focus-visible {
    background-color: #27272a;
    border-color: #27272a;
    color: #ffffff;
}

/* 2. Theme Dark (تاریک) - دکمه سفید با متن مشکی */
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-button {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #000000;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-main,
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-media {
    color: #000000;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-sub {
    color: #52525b;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-icon svg [stroke]:not([stroke="none"]) {
    stroke: #000000;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-icon svg [fill]:not([fill="none"]) {
    fill: #000000;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-button:hover,
.elementor-widget-amw_two_line_button.amw-tlb-theme-dark .amw-tlb-button:focus-visible {
    background-color: #e4e4e7;
    border-color: #e4e4e7;
    color: #000000;
}

/* 3. Theme Navy (سورمه‌ای تاریک) - دکمه سورمه‌ای تیره با متن سفید */
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-button {
    background-color: #0f172a;
    border-color: #1e293b;
    color: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-main,
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-media {
    color: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-sub {
    color: #94a3b8;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-icon svg [stroke]:not([stroke="none"]) {
    stroke: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-icon svg [fill]:not([fill="none"]) {
    fill: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-button:hover,
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-button:focus-visible {
    background-color: #38bdf8;
    border-color: #38bdf8;
    color: #0f172a;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-button:hover .amw-tlb-main,
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-button:hover .amw-tlb-media {
    color: #0f172a;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-navy .amw-tlb-button:hover .amw-tlb-sub {
    color: #0369a1;
}

/* 4. Theme Orange (نارنجی روشن) - دکمه نارنجی با متن سفید */
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-button {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-main,
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-media {
    color: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-sub {
    color: #ffedd5;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-icon svg [stroke]:not([stroke="none"]) {
    stroke: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-icon svg [fill]:not([fill="none"]) {
    fill: #ffffff;
}
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-button:hover,
.elementor-widget-amw_two_line_button.amw-tlb-theme-orange .amw-tlb-button:focus-visible {
    background-color: #c2410c;
    border-color: #c2410c;
    color: #ffffff;
}

/* Size presets. Explicit Elementor dimension/typography controls have greater
   selector specificity and therefore remain available as fine-tuning. */
.elementor-widget-amw_two_line_button.amw-tlb-size-xsmall .amw-tlb-button { min-width: 88px; min-height: 30px; gap: 6px; padding: 4px 8px; border-radius: 6px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xsmall .amw-tlb-copy { gap: 1px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xsmall .amw-tlb-main { font-size: 11px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xsmall .amw-tlb-sub { font-size: 7.5px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xsmall .amw-tlb-media,
.elementor-widget-amw_two_line_button.amw-tlb-size-xsmall .amw-tlb-media svg { width: 14px; height: 14px; font-size: 14px; }

.elementor-widget-amw_two_line_button.amw-tlb-size-small .amw-tlb-button { min-width: 120px; min-height: 38px; gap: 8px; padding: 7px 12px; border-radius: 8px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-small .amw-tlb-copy { gap: 1px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-small .amw-tlb-main { font-size: 12px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-small .amw-tlb-sub { font-size: 8px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-small .amw-tlb-media,
.elementor-widget-amw_two_line_button.amw-tlb-size-small .amw-tlb-media svg { width: 16px; height: 16px; font-size: 16px; }

.elementor-widget-amw_two_line_button.amw-tlb-size-medium .amw-tlb-button { min-width: 180px; min-height: 50px; gap: 10px; padding: 10px 18px; border-radius: 10px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-medium .amw-tlb-copy { gap: 2px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-medium .amw-tlb-main { font-size: 13px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-medium .amw-tlb-sub { font-size: 9px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-medium .amw-tlb-media,
.elementor-widget-amw_two_line_button.amw-tlb-size-medium .amw-tlb-media svg { width: 18px; height: 18px; font-size: 18px; }

.elementor-widget-amw_two_line_button.amw-tlb-size-large .amw-tlb-button { min-width: 240px; min-height: 62px; gap: 12px; padding: 13px 22px; border-radius: 12px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-large .amw-tlb-copy { gap: 3px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-large .amw-tlb-main { font-size: 15px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-large .amw-tlb-sub { font-size: 10px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-large .amw-tlb-media,
.elementor-widget-amw_two_line_button.amw-tlb-size-large .amw-tlb-media svg { width: 21px; height: 21px; font-size: 21px; }

.elementor-widget-amw_two_line_button.amw-tlb-size-xlarge .amw-tlb-button { min-width: 320px; min-height: 78px; gap: 15px; padding: 17px 30px; border-radius: 16px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xlarge .amw-tlb-copy { gap: 4px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xlarge .amw-tlb-main { font-size: 17px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xlarge .amw-tlb-sub { font-size: 11px; }
.elementor-widget-amw_two_line_button.amw-tlb-size-xlarge .amw-tlb-media,
.elementor-widget-amw_two_line_button.amw-tlb-size-xlarge .amw-tlb-media svg { width: 24px; height: 24px; font-size: 24px; }

.amw-tlb-button:hover, .amw-tlb-button:focus-visible {
    background-color: var(--amw-tlb-hover-bg, #2b2b2b);
    border-color: var(--amw-tlb-hover-border, transparent);
    color: var(--amw-tlb-hover-fg, #fff);
    transform: translateY(-2px);
}
.amw-tlb-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.amw-tlb-media-before { flex-direction: row; }
.amw-tlb-media-after { flex-direction: row-reverse; }
.amw-tlb-media-top { flex-direction: column; }
.amw-tlb-copy {
    display: inline-flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.amw-tlb-text { display: inline-block; color: #fff; }
.amw-tlb-main { font-size: 13px; font-weight: 700; line-height: 1.25; }
.amw-tlb-sub { font-size: 9px; font-weight: 400; line-height: 1.2; opacity: .75; }
.amw-tlb-text-gradient .amw-tlb-main {
    background-image: linear-gradient(var(--amw-tlb-text-angle), var(--amw-tlb-text-g1), var(--amw-tlb-text-g2));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.amw-tlb-hover-text-gradient:hover .amw-tlb-main,
.amw-tlb-hover-text-gradient:focus-visible .amw-tlb-main {
    background-image: linear-gradient(var(--amw-tlb-text-angle), var(--amw-tlb-hover-g1), var(--amw-tlb-hover-g2));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.amw-tlb-media {
    box-sizing: content-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    color: #fff;
    font-size: 24px;
    line-height: 0;
    overflow: hidden;
    transition: color .22s ease, background-color .22s ease, transform .22s ease;
}
.amw-tlb-media i { display: block; }
.amw-tlb-media svg { display: block; width: 18px; height: 18px; color: inherit; }
.amw-tlb-icon svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.amw-tlb-icon svg [fill]:not([fill="none"]) { fill: currentColor; }
.amw-tlb-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.amw-tlb-video-open { overflow: hidden; }
.amw-tlb-video-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(6px);
}
.amw-tlb-video-frame {
    width: min(100%, 1080px);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}
.amw-tlb-video-frame iframe,
.amw-tlb-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}
.amw-tlb-video-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font: 30px/1 Arial, sans-serif;
    cursor: pointer;
}
@media (max-width: 767px) {
    .amw-tlb-video-modal { padding: 14px; }
    .amw-tlb-video-close { top: 10px; right: 10px; width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .amw-tlb-button, .amw-tlb-media { transition: none; }
    .amw-tlb-button:hover, .amw-tlb-button:focus-visible { transform: none; }
}

/* کاروسل محتوای هوشمند */
.amw-cc {
    --amw-cc-per-view: 3;
    --amw-cc-gap: 18px;
    position: relative;
    direction: rtl;
    width: 100%;
    color: #111;
}
.amw-cc-stage { position: relative; display: flex; align-items: center; min-width: 0; }
.amw-cc-viewport {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
}
.amw-cc-viewport::-webkit-scrollbar { display: none; }
.amw-cc-track {
    display: flex;
    align-items: stretch;
    gap: var(--amw-cc-gap);
    width: 100%;
    min-width: 100%;
}
.amw-cc-card {
    display: flex;
    flex: 0 0 calc((100% - (var(--amw-cc-per-view) - 1) * var(--amw-cc-gap)) / var(--amw-cc-per-view));
    width: calc((100% - (var(--amw-cc-per-view) - 1) * var(--amw-cc-gap)) / var(--amw-cc-per-view));
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.amw-cc-card:hover { border-color: #b8b8b8; transform: translateY(-2px); }
.amw-cc-image {
    position: relative;
    display: block;
    margin: 8px 8px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f1f1;
}
.amw-cc-ratio-16-9 { aspect-ratio: 16 / 9; }
.amw-cc-ratio-16-10 { aspect-ratio: 16 / 10; }
.amw-cc-ratio-4-3 { aspect-ratio: 4 / 3; }
.amw-cc-ratio-1-1 { aspect-ratio: 1 / 1; }
.amw-cc-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.amw-cc-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #a3a3a3; }
.amw-cc-placeholder svg { width: 42px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.amw-cc-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px; }
.amw-cc-type {
    display: inline-flex;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #737373;
}
.amw-cc-title { display: block; font-size: 17px; font-weight: 700; line-height: 1.55; color: #111; }
.amw-cc-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.amw-cc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; color: #737373; font-size: 11px; }
.amw-cc-price { display: block; margin-top: 14px; color: #111; font-size: 15px; font-weight: 700; }
.amw-cc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    margin-top: auto;
    padding: 8px 14px;
    border-radius: 9px;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}
.amw-cc-excerpt + .amw-cc-button, .amw-cc-meta + .amw-cc-button, .amw-cc-price + .amw-cc-button { margin-top: 18px; }
.amw-cc-button:hover { background: #f1f1f1; color: #000; }
.amw-cc-button-icon, .amw-cc-button-icon svg, .amw-cc-button-icon i { display: block; width: 17px; height: 17px; color: inherit; font-size: 17px; }
.amw-cc-button-icon svg { fill: none; stroke: currentColor; }
.amw-cc-arrows { display: flex; gap: 8px; }
.amw-cc-arrows-top > .amw-cc-arrows { justify-content: flex-end; margin-bottom: 14px; }
.amw-cc-arrows-bottom > .amw-cc-arrows { justify-content: center; margin-top: 16px; }
.amw-cc-arrow {
    display: inline-grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: #f1f1f1;
    color: #111;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease;
}
.amw-cc-arrow:hover { background: #000; color: #fff; transform: translateY(-1px); }
.amw-cc-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.amw-cc-arrow:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.amw-cc-arrow svg, .amw-cc-arrow i { display: block; width: 20px; height: 20px; color: inherit; font-size: 20px; }
.amw-cc-arrow svg { fill: none; stroke: currentColor; }
.amw-cc-arrows-sides .amw-cc-prev { margin-inline-end: 10px; }
.amw-cc-arrows-sides .amw-cc-next { margin-inline-start: 10px; }
.amw-cc-dots { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; }
.amw-cc-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: #d4d4d4; cursor: pointer; transition: width .2s ease, background-color .2s ease; }
.amw-cc-dot.is-active { width: 20px; background: #111; }
.amw-cc-empty { padding: 24px; border: 1px dashed #d4d4d4; border-radius: 12px; background: #fafafa; color: #737373; text-align: center; }

@media (max-width: 767px) {
    .amw-cc { --amw-cc-per-view: 1.35; --amw-cc-gap: 12px; }
    .amw-cc-arrows-sides .amw-cc-arrow { display: none; }
    .amw-cc-card-body { padding: 15px; }
    .amw-cc-title { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .amw-cc-viewport { scroll-behavior: auto; }
    .amw-cc-card, .amw-cc-image img, .amw-cc-arrow { transition: none; }
    .amw-cc-card:hover, .amw-cc-arrow:hover { transform: none; }
}

/* معرفی دوره / محصول شاخص */
.amw-fc {
    --amw-fc-accent: #0bb98a;
    position: relative;
    width: 100%;
    margin-inline: auto;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15, 23, 42, .08);
    color: #101114;
    isolation: isolate;
}
.amw-fc-layout-full {
    left: 50%;
    width: 100vw;
    max-width: none !important;
    margin-inline: 0;
    transform: translateX(-50%);
    border-inline: 0;
    border-radius: 0;
}
.amw-fc-main {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}
.amw-fc-media-start .amw-fc-main { flex-direction: row; }
.amw-fc-media-end .amw-fc-main { flex-direction: row-reverse; }
.amw-fc-media-column {
    display: flex;
    flex: 0 0 48%;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
}
.amw-fc-content {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
}
.amw-fc.is-equal-height .amw-fc-main { align-items: stretch; }
.amw-fc.is-equal-height .amw-fc-media-column,
.amw-fc.is-equal-height .amw-fc-media { height: 100%; }
.amw-fc-media {
    position: relative;
    display: block;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
    isolation: isolate;
}
.amw-fc-ratio-16-9 .amw-fc-media { aspect-ratio: 16 / 9; min-height: 0; }
.amw-fc-ratio-4-3 .amw-fc-media { aspect-ratio: 4 / 3; min-height: 0; }
.amw-fc-ratio-1-1 .amw-fc-media { aspect-ratio: 1; min-height: 0; }
.amw-fc-ratio-7-8 .amw-fc-media { aspect-ratio: 7 / 8; min-height: 0; }
.amw-fc-ratio-4-5 .amw-fc-media { aspect-ratio: 4 / 5; min-height: 0; }
.amw-fc-ratio-3-4 .amw-fc-media { aspect-ratio: 3 / 4; min-height: 0; }
.amw-fc-media-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}
.amw-fc-media-picture { position: absolute; inset: 0; display: block; }
.amw-fc-media-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, .08);
    pointer-events: none;
}
.amw-fc-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: inline-grid;
    width: 70px;
    height: 70px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 12px 35px rgba(0, 0, 0, .22);
    color: #111;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform .22s ease, box-shadow .22s ease;
    backdrop-filter: blur(10px);
}
.amw-fc-play:hover { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 16px 42px rgba(0, 0, 0, .3); }
.amw-fc-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.amw-fc-play .amw-fc-icon,
.amw-fc-play svg,
.amw-fc-play i { width: 25px; height: 25px; font-size: 25px; }
.amw-fc-media-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 36px);
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--amw-fc-accent);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.amw-fc-media-badge.is-top-right { top: 18px; right: 18px; }
.amw-fc-media-badge.is-top-left { top: 18px; left: 18px; }
.amw-fc-media-badge.is-bottom-right { right: 18px; bottom: 18px; }
.amw-fc-media-badge.is-bottom-left { bottom: 18px; left: 18px; }
.amw-fc-category {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #e8f8f3;
    color: var(--amw-fc-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.amw-fc-title {
    margin: 0;
    color: #101114;
    font-size: clamp(27px, 2.65vw, 35px);
    font-weight: 800;
    line-height: 1.38;
    letter-spacing: -.025em;
}
.amw-fc-title span { color: var(--amw-fc-accent); }
.amw-fc-subtitle { color: #374151; font-size: 16px; font-weight: 700; line-height: 1.5; }
.amw-fc-description { color: #6b7280; font-size: 15px; line-height: 1.7; }
.amw-fc-instructor {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #eceef1;
    border-radius: 16px;
    background: #fafafa;
}
.amw-fc-instructor-avatar {
    flex: 0 0 auto;
    display: block;
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .12);
}
.amw-fc-instructor-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.amw-fc-instructor-name { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #111; font-size: 14px; line-height: 1.5; }
.amw-fc-instructor-name strong { font-weight: 800; }
.amw-fc-instructor-role { color: #6b7280; font-size: 12px; line-height: 1.55; }
.amw-fc-verified { display: inline-flex; color: var(--amw-fc-accent); }
.amw-fc-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.amw-fc-stat {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border: 1px solid #edf0f3;
    border-radius: 12px;
    background: #fff;
}
.amw-fc-stats-minimal .amw-fc-stat {
    padding-block: 5px;
    border: 0;
    border-inline-end: 1px solid #e5e7eb;
    border-radius: 0;
    background: transparent;
}
.amw-fc-stats-minimal .amw-fc-stat:last-child { border-inline-end: 0; }
.amw-fc-stat-icon {
    flex: 0 0 auto;
    color: #111;
}
.amw-fc-stat-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.amw-fc-stat-label { overflow: hidden; color: #8a8f98; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.amw-fc-stat-value { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: #111; font-size: 13px; font-weight: 800; line-height: 1.4; }
.amw-fc-stars { display: inline-flex; gap: 2px; color: #fbbf24; white-space: nowrap; }
.amw-fc-stars svg { width: 12px; height: 12px; fill: currentColor; stroke: currentColor; }
.amw-fc-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding: 9px 12px;
    border-radius: 13px;
    background: #f8fafc;
}
.amw-fc-price-label { flex: 1 0 100%; color: #7b8190; font-size: 10px; }
.amw-fc-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.amw-fc-current-price, .amw-fc-free { color: #111; font-size: 18px; font-weight: 900; }
.amw-fc-old-price { color: #9ca3af; font-size: 12px; }
.amw-fc-discount { padding: 5px 8px; border-radius: 7px; background: var(--amw-fc-accent); color: #fff; font-size: 10px; font-weight: 800; }
.amw-fc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.amw-fc-button {
    display: inline-flex;
    flex: 1 1 180px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border: 0;
    border-radius: 13px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.amw-fc-button:hover { transform: translateY(-2px); }
.amw-fc-button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.amw-fc-button-primary { background: #050505; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .13); }
.amw-fc-button-primary:hover { background: #222; color: #fff; }
.amw-fc-button-secondary { background: #f3f4f6; color: #111; }
.amw-fc-button-secondary:hover { background: #e5e7eb; color: #111; }
.amw-fc[dir="rtl"] .amw-fc-button-primary { order: 2; }
.amw-fc[dir="rtl"] .amw-fc-button-secondary { order: 1; }
.amw-fc-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    padding: 10px;
    border: 1px solid #eceef1;
    border-radius: 14px;
    background: #fafbfc;
}
.amw-fc-media-column .amw-fc-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
}
.amw-fc-feature {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid #eceef1;
    border-radius: 10px;
    background: #fff;
}
.amw-fc-feature:nth-child(2n),
.amw-fc-feature:nth-child(n+3),
.amw-fc-feature:last-child { border: 1px solid #eceef1; }
.amw-fc-feature-icon {
    flex: 0 0 auto;
    color: var(--amw-fc-accent);
    font-size: 26px;
}
.amw-fc-feature-icon svg { width: 26px; height: 26px; }
.amw-fc-feature-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.amw-fc-feature-title { color: #111; font-size: 13px; font-weight: 800; line-height: 1.4; }
.amw-fc-feature-description { color: #7b8190; font-size: 10px; line-height: 1.55; }
.amw-fc-icon,
.amw-fc-icon svg,
.amw-fc-icon i {
    display: inline-flex;
    width: 1em;
    height: 1em;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 1.15em;
}
.amw-fc-icon svg { fill: none; stroke: currentColor; }
.amw-fc.is-glass {
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.amw-fc.is-dark {
    border-color: #2b2e34;
    background: #111318;
    color: #f8fafc;
}
.amw-fc.is-dark .amw-fc-title,
.amw-fc.is-dark .amw-fc-subtitle,
.amw-fc.is-dark .amw-fc-instructor-name,
.amw-fc.is-dark .amw-fc-stat-value,
.amw-fc.is-dark .amw-fc-current-price,
.amw-fc.is-dark .amw-fc-free,
.amw-fc.is-dark .amw-fc-feature-title { color: #f8fafc; }
.amw-fc.is-dark .amw-fc-description,
.amw-fc.is-dark .amw-fc-instructor-role,
.amw-fc.is-dark .amw-fc-stat-label,
.amw-fc.is-dark .amw-fc-feature-description { color: #a8adb7; }
.amw-fc.is-dark .amw-fc-instructor,
.amw-fc.is-dark .amw-fc-stat,
.amw-fc.is-dark .amw-fc-price-box,
.amw-fc.is-dark .amw-fc-features { border-color: #2b2e34; background: #181b21; }
.amw-fc.is-dark .amw-fc-feature,
.amw-fc.is-dark .amw-fc-feature:nth-child(2n),
.amw-fc.is-dark .amw-fc-feature:nth-child(n+3),
.amw-fc.is-dark .amw-fc-feature:last-child { border-color: #30343b; background: #20242b; }
.amw-fc-hover-lift,
.amw-fc-hover-scale,
.amw-fc-hover-glow { transition: transform .3s ease, box-shadow .3s ease; }
.amw-fc-hover-lift:hover { transform: translateY(-6px); box-shadow: 0 26px 70px rgba(15, 23, 42, .13); }
.amw-fc-hover-scale:hover { transform: scale(1.008); }
.amw-fc-hover-glow:hover { box-shadow: 0 24px 70px rgba(11, 185, 138, .16); }
.amw-fc:hover .amw-fc-media-image { transform: scale(1.025); }
.amw-fc-enter-fade-up { animation: amw-fc-fade-up .65s cubic-bezier(.2, .7, .2, 1) both; }
.amw-fc-enter-fade-in { animation: amw-fc-fade-in .65s ease both; }
.amw-fc-enter-scale-in { animation: amw-fc-scale-in .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes amw-fc-fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes amw-fc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes amw-fc-scale-in { from { opacity: 0; transform: scale(.975); } to { opacity: 1; transform: scale(1); } }
.amw-fc-video-open { overflow: hidden; }
.amw-fc-video-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    background: rgba(5, 7, 10, .82);
    opacity: 0;
    transition: opacity .22s ease;
    backdrop-filter: blur(10px);
}
.amw-fc-video-modal.is-visible { opacity: 1; }
.amw-fc-video-frame {
    position: relative;
    width: min(100%, 1100px);
    overflow: hidden;
    border-radius: 18px;
    background: #000;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .45);
    aspect-ratio: 16 / 9;
}
.amw-fc-video-frame iframe,
.amw-fc-video-frame video { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.amw-fc-video-close {
    position: fixed;
    z-index: 2;
    top: 20px;
    right: 20px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 1024px) {
    .amw-fc { padding: 16px; }
    .amw-fc-main { gap: 18px; }
    .amw-fc-media-column { flex-basis: 48%; }
    .amw-fc-title { font-size: clamp(25px, 3.4vw, 34px); }
    .amw-fc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .amw-fc-feature:nth-child(2n) { border-inline-end: 0; }
    .amw-fc-feature:nth-child(n+3) { margin-top: 0; }
}

/* استایل آماده «فروشگاهی تصویری» برای کاروسل محتوای هوشمند */
.amw-cc-style-visual-shop .amw-cc-card {
    position: relative;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: drop-shadow(0 8px 18px rgba(38, 38, 38, .08)) !important;
}
.amw-cc-style-visual-shop .amw-cc-card:hover {
    border-color: transparent;
    box-shadow: none !important;
    filter: drop-shadow(0 8px 18px rgba(38, 38, 38, .08)) !important;
    transform: none !important;
}
.amw-cc-style-visual-shop .amw-cc-mask {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    -webkit-mask: linear-gradient(#fff 0 0), url("content-carousel-shop-exclude.png");
    -webkit-mask-position: 0 calc(100% + .05rem);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: auto, 26.8% auto;
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0), url("content-carousel-shop-exclude.png");
    mask-position: 0 calc(100% + .05rem);
    mask-repeat: no-repeat;
    mask-size: auto, 26.8% auto;
    mask-composite: exclude;
}
.amw-cc-style-visual-shop .amw-cc-image {
    margin: 8px 8px 0;
    aspect-ratio: 17 / 18 !important;
    border-radius: 20px !important;
}
.amw-cc-style-visual-shop .amw-cc-image > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
.amw-cc-style-visual-shop .amw-cc-image-badge {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: auto;
    left: 9px;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    max-width: calc(100% - 18px);
    padding: 3px 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #24c857;
    box-shadow: 0 5px 14px rgba(36, 200, 87, .2);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.amw-cc-style-visual-shop .amw-cc-card-body {
    min-height: 116px;
    padding: 8px 18px 0 !important;
    align-items: stretch;
    text-align: right;
}
.amw-cc-style-visual-shop .amw-cc-title {
    width: 100%;
    color: #171717;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
}
.amw-cc-style-visual-shop .amw-cc-excerpt {
    width: 100%;
    margin-top: 6px;
    color: #929298;
    font-size: 10px;
    line-height: 1.55;
    text-align: right;
}
.amw-cc-style-visual-shop .amw-cc-meta {
    margin-top: 6px;
    justify-content: flex-start;
}
.amw-cc-style-visual-shop .amw-cc-shop-footer {
    position: relative;
    display: flex;
    min-height: 46px;
    margin-top: auto;
    margin-inline: -18px;
    align-items: center;
    justify-content: flex-start;
    padding-right: 18px;
}
.amw-cc-style-visual-shop .amw-cc-price {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    gap: 4px;
    align-items: baseline;
    margin: 0;
    color: #171717;
    direction: ltr;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    white-space: nowrap;
}
.amw-cc-style-visual-shop .amw-cc-price del {
    margin-inline-start: 4px;
    color: #a3a3a3;
    font-size: .76em;
    font-weight: 500;
}
.amw-cc-style-visual-shop .amw-cc-price small,
.amw-cc-style-visual-shop .amw-cc-price .fct-currency {
    margin: 0;
    color: #a3a3a3;
    font-size: .72em;
    font-weight: 500;
}
.amw-cc-style-visual-shop .amw-cc-price ins { text-decoration: none; }
.amw-cc-style-visual-shop .amw-cc-shop-button {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0 !important;
    padding: 7.43% 4.95%;
    overflow: visible;
    border-radius: 0 !important;
    background: transparent !important;
    color: #202020 !important;
}
.amw-cc-style-visual-shop .amw-cc-shop-button:hover,
.amw-cc-style-visual-shop .amw-cc-shop-button:focus-visible,
.amw-cc-style-visual-shop .amw-cc-card:hover .amw-cc-shop-button,
.amw-cc-style-visual-shop .amw-cc-card:visited .amw-cc-shop-button {
    background: transparent !important;
    color: #262626 !important;
}
.amw-cc-style-visual-shop .amw-cc-shop-button .amw-cc-button-icon,
.amw-cc-style-visual-shop .amw-cc-shop-button .amw-cc-button-icon svg,
.amw-cc-style-visual-shop .amw-cc-shop-button .amw-cc-button-icon i,
.amw-cc-style-visual-shop .amw-cc-shop-button .amw-cc-button-icon img {
    display: block;
    width: 24px;
    height: 24px;
    color: #262626;
    font-size: 24px;
}
.amw-cc-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .amw-cc-style-visual-shop .amw-cc-card-body {
        min-height: 112px;
        padding: 8px 16px 0 !important;
    }
    .amw-cc-style-visual-shop .amw-cc-title { font-size: 14px; }
    .amw-cc-style-visual-shop .amw-cc-shop-footer { margin-inline: -16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .amw-cc-style-visual-shop .amw-cc-card:hover { box-shadow: 0 12px 34px rgba(17, 24, 39, .06); }
}
@media (max-width: 767px) {
    .amw-fc { padding: 12px; border-radius: 18px; }
    .amw-fc-main,
    .amw-fc-media-start .amw-fc-main,
    .amw-fc-media-end .amw-fc-main { flex-direction: column; gap: 16px; }
    .amw-fc-media-column,
    .amw-fc-content,
    .amw-fc[dir="rtl"] .amw-fc-media-column,
    .amw-fc[dir="rtl"] .amw-fc-content { order: initial; flex-basis: auto; width: 100%; }
    .amw-fc-media-column { order: 1 !important; }
    .amw-fc-content { order: 2 !important; }
    .amw-fc.is-equal-height .amw-fc-media-column,
    .amw-fc.is-equal-height .amw-fc-media { height: auto; }
    .amw-fc-media { min-height: 0; border-radius: 14px; }
    .amw-fc-title { font-size: 25px; line-height: 1.42; }
    .amw-fc-description { font-size: 14px; line-height: 1.65; }
    .amw-fc-instructor-avatar { width: 52px; height: 52px; }
    .amw-fc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .amw-fc-stat { padding: 10px; }
    .amw-fc-actions { flex-direction: column; }
    .amw-fc-button { flex-basis: auto; width: 100%; }
    .amw-fc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; padding: 8px; }
    .amw-fc-feature {
        align-items: flex-start;
        padding: 8px 6px;
        border-inline-end: 1px solid #eceef1;
        border-bottom: 0;
    }
    .amw-fc-feature:nth-child(2n),
    .amw-fc-feature:nth-child(n+3),
    .amw-fc-feature:nth-last-child(-n+2),
    .amw-fc-feature:last-child { border: 1px solid #eceef1; }
    .amw-fc-feature:nth-child(n+3) { margin-top: 0; }
    .amw-fc-feature:last-child { border-bottom: 0; }
    .amw-fc-video-modal { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .amw-fc,
    .amw-fc-media-image,
    .amw-fc-play,
    .amw-fc-button { animation: none !important; transition: none !important; }
    .amw-fc:hover,
    .amw-fc-button:hover { transform: none !important; }
}

/* ---------- باکس ویژگی ---------- */
.amw-fb {
    display: block; padding: 28px 24px; border-radius: 16px; text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}
a.amw-fb:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.amw-fb-icon { display: inline-flex; line-height: 1; }
.amw-fb-icon svg { width: 1em; height: 1em; }
.amw-fb-title { margin: 14px 0 8px; font-size: 19px; }
.amw-fb-desc { margin: 0; color: #6b7280; line-height: 1.9; font-size: 15px; }

/* ---------- جعبه فراخوان ---------- */
.amw-cta { padding: 40px 32px; border-radius: 20px; text-align: center; }
.amw-cta-title { margin: 0 0 12px; font-size: 26px; }
.amw-cta-desc { margin: 0 auto 24px; max-width: 520px; line-height: 1.9; font-size: 16px; }
.amw-cta-btn {
    display: inline-block; padding: 13px 34px; border-radius: 12px;
    text-decoration: none; font-size: 16px; font-weight: 600; transition: opacity .15s;
}
.amw-cta-btn:hover { opacity: .9; }

/* ---------- جدول قیمت ---------- */
.amw-price-switcher-wrap {
    display: flex; justify-content: center; width: 100%; margin-bottom: 24px;
}
.amw-price-switcher-placeholder {
    display: block; width: 100%; height: 76px; pointer-events: none;
}
.amw-price-switcher {
    display: inline-flex; align-items: stretch; justify-content: center; gap: 3px;
    max-width: 100%; padding: 4px; overflow-x: auto; background: #f1f1f1;
    border-radius: 14px; scrollbar-width: none;
}
.amw-price-switcher::-webkit-scrollbar { display: none; }
.amw-price-switcher-button {
    appearance: none; display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; min-width: max-content; padding: 9px 18px; border: 0;
    border-radius: 10px; background: transparent; color: #6b7280;
    font: inherit; font-size: 14px; font-weight: 600; line-height: 1.4;
    cursor: pointer; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.amw-price-switcher-button:hover { color: #111; }
.amw-price-switcher-button.is-active {
    color: #111; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.amw-price-switcher-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.amw-price-switcher-note {
    display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 999px;
    background: #111; color: #fff; font-size: .72em; font-weight: 600; line-height: 1.5;
}
.amw-pricing-mobile-toolbar, .amw-price-mobile-navigation { display: none; }
.amw-price {
    box-sizing: border-box; position: relative; width: 100%; padding: 32px 28px;
    margin-right: auto; margin-left: auto; border: 2px solid #e5e7eb;
    border-radius: 20px; text-align: center; background: #fff;
    display: flex; flex-direction: column;
}
.amw-price-mode-changed .amw-price-plan,
.amw-price-mode-changed .amw-price-amount,
.amw-price-mode-changed .amw-price-period,
.amw-price-mode-changed .amw-price-btn {
    animation: amw-price-mode-in .24s ease both;
}
@keyframes amw-price-mode-in {
    from { opacity: .35; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
    .amw-price-switcher { justify-content: flex-start; }
    .amw-price-switcher-button { padding: 8px 12px; }
    .amw-pricing-mobile-toolbar { display: block; width: 100%; position: relative; z-index: 4; }
    .amw-pricing-mobile-toolbar:empty { display: none; }
    .amw-pricing-mobile-toolbar .amw-price-switcher-wrap { display: flex !important; height: auto !important; margin-inline: auto; }
    .amw-pricing-mobile-track > .elementor-widget-amw_pricing .amw-price-switcher-wrap,
    .amw-pricing-mobile-track > .elementor-widget-amw_pricing .amw-price-switcher-placeholder { display: none !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }
    .amw-pricing-mobile-track {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        overflow-x: auto !important;
        overflow-y: visible;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scroll-padding-inline: 0;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y;
        scrollbar-width: none;
    }
    .amw-pricing-mobile-track::-webkit-scrollbar { display: none; }
    .amw-pricing-mobile-track > .elementor-column,
    .amw-pricing-mobile-track > .e-con,
    .amw-pricing-mobile-track > .elementor-row > .elementor-column {
        padding: 0 !important;
    }
    .amw-pricing-mobile-track .elementor-widget-wrap,
    .amw-pricing-mobile-track .elementor-widget-container {
        padding: 0 !important;
    }
    .amw-pricing-mobile-track .amw-price {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .amw-pricing-mobile-track .elementor-widget-amw_pricing.amw-price-mobile-carousel-yes,
    .amw-pricing-mobile-track > .elementor-column,
    .amw-pricing-mobile-track > .e-con,
    .amw-pricing-mobile-track > .elementor-row > .elementor-column {
        flex: 0 0 var(--amw-price-mobile-width, 82%) !important;
        width: var(--amw-price-mobile-width, 82%) !important;
        max-width: var(--amw-price-mobile-width, 82%) !important;
        min-width: 0 !important;
        margin: 0 var(--amw-price-mobile-gap, 12px) 0 0 !important;
        scroll-snap-align: var(--amw-price-snap, start);
        scroll-snap-stop: always;
    }
    [dir="rtl"] .amw-pricing-mobile-track .elementor-widget-amw_pricing.amw-price-mobile-carousel-yes,
    .amw-pricing-mobile-track[dir="rtl"] .elementor-widget-amw_pricing.amw-price-mobile-carousel-yes,
    [dir="rtl"] .amw-pricing-mobile-track > .elementor-column,
    .amw-pricing-mobile-track[dir="rtl"] > .elementor-column,
    [dir="rtl"] .amw-pricing-mobile-track > .e-con,
    .amw-pricing-mobile-track[dir="rtl"] > .e-con {
        margin: 0 0 0 var(--amw-price-mobile-gap, 12px) !important;
    }
    .amw-pricing-mobile-track .elementor-widget-amw_pricing.amw-price-mobile-carousel-yes:last-child,
    .amw-pricing-mobile-track > .elementor-column:last-child,
    .amw-pricing-mobile-track > .e-con:last-child { margin-inline-end: 0 !important; }
    .amw-pricing-mobile-track .elementor-widget-amw_pricing > .elementor-widget-container { display: flex; height: 100%; flex-direction: column; }
    .amw-pricing-mobile-track .elementor-widget-amw_pricing .amw-price { flex: 1 1 auto; height: auto; }
    .amw-pricing-mobile-track > .amw-price-scrollbar-yes { scrollbar-width: thin; }
    .amw-pricing-mobile-track:has(> .amw-price-scrollbar-yes) { scrollbar-width: thin; padding-bottom: 8px; }
    .amw-pricing-mobile-track:has(> .amw-price-scrollbar-yes)::-webkit-scrollbar { display: block; height: 5px; }
    .amw-pricing-mobile-track:has(> .amw-price-scrollbar-yes)::-webkit-scrollbar-thumb { border-radius: 99px; background: #c7c7c7; }
    .amw-price-mobile-navigation {
        display: block;
        position: relative;
        z-index: 6;
        width: 100%;
        margin-top: var(--amw-price-nav-gap, 18px);
        direction: rtl;
    }
    .amw-price-mobile-navigation:empty { display: none; }
    .amw-price-mobile-arrows {
        position: absolute;
        inset-inline: 0;
        top: calc(-1 * var(--amw-price-track-height, 400px) - var(--amw-price-nav-gap, 18px));
        height: var(--amw-price-track-height, 400px);
        pointer-events: none;
    }
    .amw-price-mobile-arrows button {
        position: absolute;
        top: calc(50% + var(--amw-price-arrow-y, 0px));
        z-index: 3;
        display: inline-flex;
        width: var(--amw-price-arrow-size, 40px);
        height: var(--amw-price-arrow-height, 40px);
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid var(--amw-price-arrow-border, #e5e7eb) !important;
        border-radius: var(--amw-price-arrow-radius, 50%) !important;
        color: var(--amw-price-arrow-color, #111) !important;
        background: var(--amw-price-arrow-bg, #f1f1f1) !important;
        cursor: pointer;
        pointer-events: auto;
        transform: translateY(-50%);
        transition: opacity .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
    }
    .amw-price-mobile-arrows [data-amw-price-nav="prev"] { right: var(--amw-price-arrow-side, 8px); }
    .amw-price-mobile-arrows [data-amw-price-nav="next"] { left: var(--amw-price-arrow-side, 8px); }
    .amw-price-nav-edge .amw-price-mobile-arrows [data-amw-price-nav="prev"] { right: calc(var(--amw-price-arrow-side, 0px) - var(--amw-price-arrow-size, 40px) / 2); }
    .amw-price-nav-edge .amw-price-mobile-arrows [data-amw-price-nav="next"] { left: calc(var(--amw-price-arrow-side, 0px) - var(--amw-price-arrow-size, 40px) / 2); }
    .amw-price-nav-outside .amw-price-mobile-arrows [data-amw-price-nav="prev"] { right: var(--amw-price-arrow-side, 4px); }
    .amw-price-nav-outside .amw-price-mobile-arrows [data-amw-price-nav="next"] { left: var(--amw-price-arrow-side, 4px); }
    .amw-price-mobile-arrows button:hover, .amw-price-mobile-arrows button:focus-visible { color: var(--amw-price-arrow-color, #111) !important; background: var(--amw-price-arrow-bg, #f1f1f1) !important; transform: translateY(-50%) scale(1.04); }
    .amw-price-mobile-arrows button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
    .amw-price-mobile-arrows button:disabled { opacity: .32; cursor: default; transform: translateY(-50%); }
    .amw-price-mobile-arrows svg, .amw-price-mobile-arrows i { display: block; width: var(--amw-price-arrow-icon-size, 18px); height: var(--amw-price-arrow-icon-size, 18px); color: inherit; font-size: var(--amw-price-arrow-icon-size, 18px); line-height: 1; }
    .amw-price-mobile-arrows i::before { color: inherit; }
    .amw-price-mobile-arrows svg [stroke]:not([stroke="none"]) { stroke: currentColor !important; }
    .amw-price-mobile-arrows svg [fill]:not([fill="none"]), .amw-price-mobile-arrows svg.svg-inline--fa path, .amw-price-mobile-arrows svg.e-font-icon-svg:not([fill="none"]) path { fill: currentColor !important; }
    .amw-price-mobile-dots { display: flex; width: 100%; align-items: center; justify-content: var(--amw-price-dots-align, center); gap: var(--amw-price-dots-gap, 7px); }
    .amw-price-mobile-dot {
        display: block;
        width: var(--amw-price-dot-size, 8px);
        min-width: var(--amw-price-dot-size, 8px);
        height: var(--amw-price-dot-size, 8px);
        padding: 0;
        border: 0;
        border-radius: var(--amw-price-dot-radius, 999px) !important;
        background: var(--amw-price-dot-color, #d1d5db) !important;
        cursor: pointer;
        transition: width .2s ease, background-color .2s ease, transform .2s ease;
    }
    .amw-price-mobile-dot:hover, .amw-price-mobile-dot:focus-visible { background: var(--amw-price-dot-active, #111) !important; transform: scale(1.15); }
    .amw-price-mobile-dot.is-active { width: calc(var(--amw-price-dot-size, 8px) * 2.5); background: var(--amw-price-dot-active, #111) !important; }
    .amw-price-mobile-dot:focus-visible { outline: 2px solid var(--amw-price-dot-active, #111); outline-offset: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    .amw-price-switcher-button { transition: none; }
    .amw-price-mode-changed .amw-price-plan,
    .amw-price-mode-changed .amw-price-amount,
    .amw-price-mode-changed .amw-price-period,
    .amw-price-mode-changed .amw-price-btn { animation: none; }
}
.amw-price.featured { box-shadow: 0 12px 40px rgba(37,99,235,.12); }
.amw-price-badge {
    position: absolute; top: -13px; right: 50%; transform: translateX(50%);
    z-index: 2; max-width: calc(100% - 24px); overflow: hidden; white-space: nowrap;
    text-overflow: ellipsis; background: #2563eb; color: #fff; font-size: 12px;
    padding: 4px 14px; border-radius: 999px;
}
.amw-badge-right .amw-price-badge { right: 20px; transform: none; }
.amw-badge-left .amw-price-badge { right: auto; left: 20px; transform: none; }
.amw-price-plan { font-size: 17px; color: #6b7280; }
.amw-price-amount { font-size: 40px; font-weight: 800; margin: 8px 0 2px; }
.amw-price-period { font-size: 13px; color: #9ca3af; margin-bottom: 20px; }
.amw-price-list { list-style: none; padding: 0; margin: 0 0 24px; text-align: right; flex: 1 1 auto; }
.amw-price-list li {
    position: relative; display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: 15px;
}
.amw-price-list.has-divider li:not(:last-child) { border-bottom: 1px solid #eef0f3; }
.amw-price-list li.off { color: #9ca3af; }
.amw-price-feature-text { min-width: 0; }
.amw-price-tick {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    line-height: 0; text-align: center;
}
.amw-price-tick svg {
    display: block; width: 13px; height: 13px; margin: 0;
    flex: 0 0 auto; overflow: visible;
}
.amw-price-list li.on .amw-price-tick { background: #d1fae5; color: #065f46; }
.amw-price-list li.off .amw-price-tick { background: #f3f4f6; color: #9ca3af; }
.amw-price.amw-status-circle .amw-price-tick { border-radius: 50%; }
.amw-price.amw-status-rounded .amw-price-tick { border-radius: 6px; }
.amw-price.amw-status-square .amw-price-tick { border-radius: 0; }
.amw-price.amw-status-no-bg .amw-price-tick { background-color: transparent !important; }
.amw-price-btn {
    display: block; padding: 13px; border-radius: 12px; color: #fff;
    background: #2563eb; text-decoration: none !important; font-weight: 600;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.amw-price-btn:hover { color: #fff; background: #1d4ed8; }
.amw-price-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.amw-price-help {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 17px; height: 17px; margin-right: auto; flex: 0 0 auto;
    border: 1px solid #9ca3af; border-radius: 50%; color: #9ca3af;
    font-family: inherit; font-size: 11px; font-weight: 700;
    line-height: 1; cursor: help; outline: none;
}
.amw-price-tooltip {
    position: absolute; z-index: 20; right: 50%; bottom: calc(100% + 10px);
    width: 220px; max-width: min(80vw, 320px); padding: 10px 12px;
    border-radius: 8px; background: #111827; color: #fff; font-family: inherit; font-size: 12px;
    font-weight: 400; line-height: 1.7; text-align: right; white-space: normal;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(50%, 6px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.amw-price-tooltip::before {
    content: ""; position: absolute; right: 0; bottom: -12px; width: 100%; height: 12px;
}
.amw-price-tooltip::after {
    content: ""; position: absolute; top: 100%; right: 50%; transform: translateX(50%);
    border: 6px solid transparent; border-top-color: #111827;
}
.amw-price-tooltip p { margin: 0; }
.amw-price-tooltip a {
    color: #93c5fd; text-decoration: underline; text-underline-offset: 2px;
    transition: color .15s ease;
}
.amw-price-tooltip a:hover, .amw-price-tooltip a:focus-visible { color: #fff; }
.amw-price-help:hover .amw-price-tooltip,
.amw-price-help:focus .amw-price-tooltip,
.amw-price-help:focus-within .amw-price-tooltip {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(50%, 0);
}

/* ---------- کارت ویژگی هاور ---------- */
.amw-hf {
    --amw-hf-speed: 250ms;
    box-sizing: border-box;
    direction: rtl;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 116px;
    column-gap: 22px;
    padding: 18px 22px;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    color: inherit;
    text-align: right;
    text-decoration: none !important;
    transition: background-color var(--amw-hf-speed) ease, border-color var(--amw-hf-speed) ease, box-shadow var(--amw-hf-speed) ease, transform var(--amw-hf-speed) ease;
}
.amw-hf:hover { background: #f1f2f4; color: inherit; }
.amw-hf-main-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 82px;
    height: 82px;
    color: #5f6772;
    font-size: 50px;
    line-height: 1;
    transition: color var(--amw-hf-speed) ease, background-color var(--amw-hf-speed) ease;
}
.amw-hf-main-icon svg { display: block; width: 50px; height: 50px; }
.amw-hf-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}
.amw-hf-title, .amw-hf-description { display: block; transition: color var(--amw-hf-speed) ease; }
.amw-hf-title { color: #202124; font-size: 26px; font-weight: 600; line-height: 1.25; }
.amw-hf-description { color: #707887; font-size: 21px; font-weight: 400; line-height: 1.35; }
.amw-hf-end-icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    width: 28px;
    color: #202124;
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity var(--amw-hf-speed) ease, visibility var(--amw-hf-speed) ease, transform var(--amw-hf-speed) ease, color var(--amw-hf-speed) ease;
}
.amw-hf-end-icon svg { display: block; width: 20px; height: 20px; }
.amw-hf:hover .amw-hf-end-icon, .amw-hf:focus-visible .amw-hf-end-icon {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.amw-hf:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Sales stack */
/* Flexible steps */
.amw-fs-list { display: flex; gap: var(--amw-fs-gap, 24px); width: 100%; }
.amw-fs-item { position: relative; display: flex; min-width: 0; }
.amw-fs-card { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; align-items: center; color: inherit; text-decoration: none; }
.amw-fs-card:hover { color: inherit; text-decoration: none; }
.amw-fs-marker { position: relative; z-index: 2; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; line-height: 1; }
.amw-fs-marker i, .amw-fs-marker svg { display: block; color: inherit; }
.amw-fs-marker svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.amw-fs-marker svg [fill]:not([fill="none"]) { fill: currentColor; }
.amw-fs-marker img { display: block; object-fit: cover; }
.amw-fs-title, .amw-fs-description { display: block; width: 100%; }
.amw-fs-disabled { opacity: .48; }
.amw-fs-connector { position: absolute; z-index: 1; pointer-events: none; box-sizing: border-box; }
.amw-fs-horizontal .amw-fs-list { flex-direction: row; }
.amw-fs-horizontal .amw-fs-item { flex: 1 1 0; min-width: var(--amw-fs-min, 210px); }
.amw-fs-horizontal .amw-fs-connector { top: calc(var(--amw-fs-pad-top, 18px) + var(--amw-fs-marker, 48px) / 2); inset-inline-start: calc(50% + var(--amw-fs-marker, 48px) / 2); width: calc(100% + var(--amw-fs-gap, 24px) - var(--amw-fs-marker, 48px)); border-width: var(--amw-fs-line, 2px) 0 0; }
.amw-fs-vertical .amw-fs-list { flex-direction: column; }
.amw-fs-vertical .amw-fs-item { width: 100%; }
.amw-fs-vertical .amw-fs-card { align-items: flex-start; padding-inline-start: 78px; }
.amw-fs-vertical .amw-fs-marker { position: absolute; inset-inline-start: 18px; top: 18px; }
.amw-fs-vertical .amw-fs-connector { top: calc(var(--amw-fs-pad-top, 18px) + var(--amw-fs-marker, 48px)); bottom: calc(-1 * var(--amw-fs-gap, 24px) - var(--amw-fs-pad-top, 18px)); inset-inline-start: calc(18px + var(--amw-fs-marker, 48px) / 2); border-width: 0 0 0 var(--amw-fs-line, 2px); }
.amw-fs-vertical .amw-fs-list[dir="rtl"] .amw-fs-connector { border-width: 0 var(--amw-fs-line, 2px) 0 0; }

@media (max-width: 1024px) {
    .amw-fs-tablet-horizontal .amw-fs-list { flex-direction: row; }
    .amw-fs-tablet-horizontal .amw-fs-item { flex: 1 1 0; min-width: var(--amw-fs-min, 210px); }
    .amw-fs-tablet-horizontal .amw-fs-card { align-items: center; padding-inline-start: 18px; }
    .amw-fs-tablet-horizontal .amw-fs-marker { position: relative; inset: auto; }
    .amw-fs-tablet-horizontal .amw-fs-connector { top: calc(var(--amw-fs-pad-top, 18px) + var(--amw-fs-marker, 48px) / 2); bottom: auto; inset-inline-start: calc(50% + var(--amw-fs-marker, 48px) / 2); width: calc(100% + var(--amw-fs-gap, 24px) - var(--amw-fs-marker, 48px)); border-width: var(--amw-fs-line, 2px) 0 0; }
    .amw-fs-tablet-vertical .amw-fs-list { flex-direction: column; }
    .amw-fs-tablet-vertical .amw-fs-item { width: 100%; }
    .amw-fs-tablet-vertical .amw-fs-card { align-items: flex-start; padding-inline-start: 78px; }
    .amw-fs-tablet-vertical .amw-fs-marker { position: absolute; inset-inline-start: 18px; top: 18px; }
    .amw-fs-tablet-vertical .amw-fs-connector { top: calc(var(--amw-fs-pad-top, 18px) + var(--amw-fs-marker, 48px)); bottom: calc(-1 * var(--amw-fs-gap, 24px) - var(--amw-fs-pad-top, 18px)); inset-inline-start: calc(18px + var(--amw-fs-marker, 48px) / 2); width: 0; border-width: 0 0 0 var(--amw-fs-line, 2px); }
    .amw-fs-tablet-vertical .amw-fs-list[dir="rtl"] .amw-fs-connector { border-width: 0 var(--amw-fs-line, 2px) 0 0; }
}
@media (max-width: 767px) {
    .amw-fs-mobile-vertical .amw-fs-list { flex-direction: column; overflow: visible; }
    .amw-fs-mobile-vertical .amw-fs-item { width: 100%; min-width: 0; }
    .amw-fs-mobile-vertical .amw-fs-card { align-items: flex-start; padding-inline-start: 78px; }
    .amw-fs-mobile-vertical .amw-fs-marker { position: absolute; inset-inline-start: 18px; top: 18px; }
    .amw-fs-mobile-vertical .amw-fs-connector { top: calc(var(--amw-fs-pad-top, 18px) + var(--amw-fs-marker, 48px)); bottom: calc(-1 * var(--amw-fs-gap, 24px) - var(--amw-fs-pad-top, 18px)); inset-inline-start: calc(18px + var(--amw-fs-marker, 48px) / 2); width: 0; border-width: 0 0 0 var(--amw-fs-line, 2px); }
    .amw-fs-mobile-horizontal.amw-fs-mobile-scroll .amw-fs-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding-bottom: 8px; }
    .amw-fs-mobile-horizontal.amw-fs-mobile-scroll .amw-fs-item { flex: 0 0 min(78vw, var(--amw-fs-min, 250px)); scroll-snap-align: start; }
    .amw-fs-mobile-horizontal .amw-fs-card { align-items: center; padding-inline-start: 18px; }
    .amw-fs-mobile-horizontal .amw-fs-marker { position: relative; inset: auto; }
    .amw-fs-mobile-horizontal .amw-fs-connector { top: calc(var(--amw-fs-pad-top, 18px) + var(--amw-fs-marker, 48px) / 2); bottom: auto; inset-inline-start: calc(50% + var(--amw-fs-marker, 48px) / 2); width: calc(100% + var(--amw-fs-gap, 24px) - var(--amw-fs-marker, 48px)); border-width: var(--amw-fs-line, 2px) 0 0; }
    .amw-fs-mobile-horizontal.amw-fs-mobile-wrap .amw-fs-list { flex-flow: row wrap; }
    .amw-fs-mobile-horizontal.amw-fs-mobile-wrap .amw-fs-item { flex: 1 1 var(--amw-fs-min, 210px); }
}

/* Minimal FAQ */
.amw-mf-list { display: flex; width: 100%; flex-direction: column; }
.amw-mf-item { overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.amw-mf-question { display: flex; width: 100%; align-items: center; gap: 12px; border: 0; color: #111; background: #fff; text-align: inherit; cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.amw-mf-question:hover, .amw-mf-question:focus-visible { color: #111; background-color: #f1f1f1; }
.amw-mf-question:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.amw-mf-question-icon, .amw-mf-answer-icon, .amw-mf-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.amw-mf-question-icon, .amw-mf-question-icon i, .amw-mf-question-icon i::before, .amw-mf-question-icon svg { color: var(--amw-mf-question-icon, #111) !important; }
.amw-mf-toggle, .amw-mf-toggle i, .amw-mf-toggle i::before, .amw-mf-toggle svg { color: var(--amw-mf-toggle, #6b7280) !important; }
.amw-mf-answer-icon, .amw-mf-answer-icon i, .amw-mf-answer-icon i::before, .amw-mf-answer-icon svg { color: var(--amw-mf-answer-icon, #9ca3af) !important; }
.amw-mf-question-icon i, .amw-mf-question-icon svg, .amw-mf-answer-icon i, .amw-mf-answer-icon svg, .amw-mf-toggle i, .amw-mf-toggle svg { display: block; }
.amw-mf-question-icon svg [stroke]:not([stroke="none"]) { stroke: var(--amw-mf-question-icon, #111) !important; }
.amw-mf-answer-icon svg [stroke]:not([stroke="none"]) { stroke: var(--amw-mf-answer-icon, #9ca3af) !important; }
.amw-mf-toggle svg [stroke]:not([stroke="none"]) { stroke: var(--amw-mf-toggle, #6b7280) !important; }
.amw-mf-question-icon svg [fill]:not([fill="none"]), .amw-mf-question-icon svg.svg-inline--fa path, .amw-mf-question-icon svg.e-font-icon-svg:not([fill="none"]) path { fill: var(--amw-mf-question-icon, #111) !important; }
.amw-mf-answer-icon svg [fill]:not([fill="none"]), .amw-mf-answer-icon svg.svg-inline--fa path, .amw-mf-answer-icon svg.e-font-icon-svg:not([fill="none"]) path { fill: var(--amw-mf-answer-icon, #9ca3af) !important; }
.amw-mf-toggle svg [fill]:not([fill="none"]), .amw-mf-toggle svg.svg-inline--fa path, .amw-mf-toggle svg.e-font-icon-svg:not([fill="none"]) path { fill: var(--amw-mf-toggle, #6b7280) !important; }
.amw-mf-question-text { flex: 1 1 auto; min-width: 0; }
.amw-mf-toggle { margin-inline-start: auto; transition: transform .25s ease; }
.amw-mf-item.is-open .amw-mf-toggle { transform: rotate(45deg); }
.amw-mf-answer-inner { display: flex; align-items: flex-start; gap: 12px; border-top: 1px solid; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.amw-mf-answer-content { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.amw-mf-answer-content > :first-child { margin-top: 0; }
.amw-mf-answer-content > :last-child { margin-bottom: 0; }
.amw-mf-answer-content a { text-underline-offset: 3px; }
@media (max-width: 480px) {
    .amw-mf-question { gap: 9px; }
    .amw-mf-answer-inner { gap: 9px; }
}

.amw-icb,
.amw-icb-title,
.amw-icb-subtitle,
.amw-icb-button {
    font-family: inherit;
}
.amw-icb {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}
.amw-icb-pos-right .amw-icb { flex-direction: row; }
.amw-icb-pos-left .amw-icb { flex-direction: row-reverse; }
.amw-icb-pos-top .amw-icb { flex-direction: column; }
.amw-icb-pos-bottom .amw-icb { flex-direction: column-reverse; }
.amw-icb-media { min-width: 0; overflow: hidden; flex: 0 0 auto; }
.amw-icb-media img { display: block; width: 100%; height: 100%; }
.amw-icb-content { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; }
.amw-icb-copy { display: flex; flex-direction: column; }
.amw-icb-title, .amw-icb-subtitle { margin: 0; }
.amw-icb-buttons { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; }
.amw-icb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.amw-icb-button:hover, .amw-icb-button:focus-visible { transform: translateY(-2px); text-decoration: none; }
.amw-icb-button-icon { display: inline-flex; align-items: center; justify-content: center; color: inherit; }
.amw-icb-button-icon i, .amw-icb-button-icon svg { display: block; color: inherit; }
.amw-icb-button-icon svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.amw-icb-button-icon svg [fill]:not([fill="none"]) { fill: currentColor; }
.amw-icb-video-open { overflow: hidden; }
.amw-icb-video-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.78); }
.amw-icb-video-frame { width: min(960px, 92vw); aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; background: #000; }
.amw-icb-video-frame iframe, .amw-icb-video-frame video { width: 100%; height: 100%; border: 0; object-fit: contain; }
.amw-icb-video-close { position: fixed; top: 20px; right: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #111; background: #fff; font-size: 28px; cursor: pointer; }

/* ----------------------------------------------------------------- */
/*                  ویجت باکس گارانتی (amw-guarantee-box)            */
/* ----------------------------------------------------------------- */
.amw-guarantee-box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    font-family: inherit;
    transition: all 0.2s ease;
}

.amw-guarantee-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 16px auto;
    padding: 6px 16px;
    background: #f1f1f1;
    color: #000000;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    width: fit-content;
}

.amw-guarantee-badge i,
.amw-guarantee-badge svg {
    display: block;
    color: inherit;
}

.amw-guarantee-title {
    margin: 0 0 12px 0;
    font-family: inherit;
    line-height: 1.4;
}

.amw-guarantee-desc {
    margin: 0 0 24px 0;
    font-family: inherit;
    line-height: 1.7;
    color: #52525b;
}

.amw-guarantee-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.amw-guarantee-list-stack .amw-guarantee-list {
    flex-direction: column;
}

.amw-guarantee-list-grid .amw-guarantee-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.amw-guarantee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f1f1f1;
    color: #000000;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.15s ease;
}

.amw-guarantee-item-icon,
.amw-guarantee-badge i,
.amw-guarantee-badge svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.amw-guarantee-item-icon i,
.amw-guarantee-badge i {
    font-family: unset;
    font-style: normal;
}

.amw-guarantee-box i[class*="fa-"],
.amw-guarantee-box i.fa,
.amw-guarantee-box i.fas,
.amw-guarantee-box i.far,
.amw-guarantee-box i.fab,
.amw-guarantee-box i[class*="eicon"] {
    font-family: unset !important;
}

/* ----------------------------------------------------------------- */
/*              ویجت نوار چسبان خرید فوری (amw-sticky-action-bar)      */
/* ----------------------------------------------------------------- */
.amw-sab-wrapper {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.25s ease;
    padding: 10px 24px;
}

/* Light Theme Preset (Default) */
.amw-sab-theme-light .amw-sab-wrapper,
.amw-sab-wrapper {
    background-color: #ffffff;
    border-top: 1px solid #e4e4e7;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.amw-sab-theme-light .amw-sab-title { color: #000000; }
.amw-sab-theme-light .amw-sab-subtitle { color: #52525b; }
.amw-sab-theme-light .amw-sab-price-amount { color: #000000; }
.amw-sab-theme-light .amw-sab-price-old { color: #a1a1aa; }
.amw-sab-theme-light .amw-sab-currency { color: #71717a; }
.amw-sab-theme-light .amw-sab-timer-unit { background: #f1f1f1; color: #000000; }
.amw-sab-theme-light .amw-sab-colon { color: #71717a; }
.amw-sab-theme-light .amw-sab-btn { background: #000000; color: #ffffff; }
.amw-sab-theme-light .amw-sab-btn:hover { background: #27272a; color: #ffffff; }
.amw-sab-theme-light .amw-sab-close { background: #f1f1f1; color: #000000; }
.amw-sab-theme-light .amw-sab-close:hover { background: #000000; color: #ffffff; }

/* Dark Theme Preset */
.amw-sab-theme-dark .amw-sab-wrapper {
    background-color: #09090b;
    border-top: 1px solid #27272a;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.amw-sab-theme-dark.amw-sab-pos-top_fixed .amw-sab-wrapper {
    border-top: none;
    border-bottom: 1px solid #27272a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.amw-sab-theme-dark .amw-sab-title { color: #ffffff; }
.amw-sab-theme-dark .amw-sab-subtitle { color: #a1a1aa; }
.amw-sab-theme-dark .amw-sab-price-amount { color: #ffffff; }
.amw-sab-theme-dark .amw-sab-price-old { color: #71717a; }
.amw-sab-theme-dark .amw-sab-currency { color: #a1a1aa; }
.amw-sab-theme-dark .amw-sab-timer-unit { background: #27272a; color: #ffffff; }
.amw-sab-theme-dark .amw-sab-colon { color: #a1a1aa; }
.amw-sab-theme-dark .amw-sab-btn { background: #ffffff; color: #000000; }
.amw-sab-theme-dark .amw-sab-btn:hover { background: #e4e4e7; color: #000000; }
.amw-sab-theme-dark .amw-sab-close { background: #27272a; color: #ffffff; }
.amw-sab-theme-dark .amw-sab-close:hover { background: #ffffff; color: #000000; }

/* Navy Dark Theme Preset */
.amw-sab-theme-navy .amw-sab-wrapper {
    background-color: #0f172a;
    border-top: 1px solid #1e293b;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.4);
}
.amw-sab-theme-navy.amw-sab-pos-top_fixed .amw-sab-wrapper {
    border-top: none;
    border-bottom: 1px solid #1e293b;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.4);
}
.amw-sab-theme-navy .amw-sab-title { color: #ffffff; }
.amw-sab-theme-navy .amw-sab-subtitle { color: #94a3b8; }
.amw-sab-theme-navy .amw-sab-price-amount { color: #38bdf8; }
.amw-sab-theme-navy .amw-sab-price-old { color: #64748b; }
.amw-sab-theme-navy .amw-sab-currency { color: #38bdf8; }
.amw-sab-theme-navy .amw-sab-timer-unit { background: #1e293b; color: #ffffff; }
.amw-sab-theme-navy .amw-sab-colon { color: #38bdf8; }
.amw-sab-theme-navy .amw-sab-btn { background: #38bdf8; color: #0f172a; }
.amw-sab-theme-navy .amw-sab-btn:hover { background: #0284c7; color: #ffffff; }
.amw-sab-theme-navy .amw-sab-close { background: #1e293b; color: #ffffff; }
.amw-sab-theme-navy .amw-sab-close:hover { background: #38bdf8; color: #0f172a; }

/* Orange Theme Preset */
.amw-sab-theme-orange .amw-sab-wrapper {
    background-color: #fff7ed;
    border-top: 1px solid #ffedd5;
    box-shadow: 0 -4px 20px rgba(234, 88, 12, 0.12);
}
.amw-sab-theme-orange.amw-sab-pos-top_fixed .amw-sab-wrapper {
    border-top: none;
    border-bottom: 1px solid #ffedd5;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.12);
}
.amw-sab-theme-orange .amw-sab-title { color: #1c1917; }
.amw-sab-theme-orange .amw-sab-subtitle { color: #ea580c; }
.amw-sab-theme-orange .amw-sab-price-amount { color: #c2410c; }
.amw-sab-theme-orange .amw-sab-price-old { color: #a8a29e; }
.amw-sab-theme-orange .amw-sab-currency { color: #ea580c; }
.amw-sab-theme-orange .amw-sab-timer-unit { background: #ffedd5; color: #9a3412; }
.amw-sab-theme-orange .amw-sab-colon { color: #ea580c; }
.amw-sab-theme-orange .amw-sab-btn { background: #ea580c; color: #ffffff; }
.amw-sab-theme-orange .amw-sab-btn:hover { background: #c2410c; color: #ffffff; }
.amw-sab-theme-orange .amw-sab-close { background: #ffedd5; color: #9a3412; }
.amw-sab-theme-orange .amw-sab-close:hover { background: #ea580c; color: #ffffff; }

.elementor-widget-amw_sticky_action_bar.amw-sab-pos-top_fixed,
.elementor-widget-amw_sticky_action_bar.amw-sab-pos-bottom_fixed {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.elementor-widget-amw_sticky_action_bar.amw-sab-pos-top_fixed > .elementor-widget-container,
.elementor-widget-amw_sticky_action_bar.amw-sab-pos-bottom_fixed > .elementor-widget-container {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.amw-sab-pos-bottom_fixed .amw-sab-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    margin-left: auto;
    margin-right: auto;
    z-index: 99999;
}

.amw-sab-pos-top_fixed .amw-sab-wrapper,
.elementor-widget-amw_sticky_action_bar.amw-sab-pos-top_fixed .amw-sab-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    margin-left: auto;
    margin-right: auto;
    z-index: 99999;
    border-top: none;
    border-bottom: 1px solid #e4e4e7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.amw-sab-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    padding-left: 45px; /* Space for absolute close button on desktop far left */
}

.amw-sab-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.amw-sab-thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f1f1;
}

.amw-sab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amw-sab-details {
    display: flex;
    flex-direction: column;
}

.amw-sab-subrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

/* Coupon Pill Styles */
.amw-sab-coupon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border: 1px dashed #71717a;
    border-radius: 6px;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
    color: inherit;
}

.amw-sab-theme-light .amw-sab-coupon { border-color: #71717a; color: #000000; }
.amw-sab-theme-dark .amw-sab-coupon { border-color: #71717a; color: #ffffff; }
.amw-sab-theme-navy .amw-sab-coupon { border-color: #38bdf8; color: #38bdf8; }
.amw-sab-theme-orange .amw-sab-coupon { border-color: #ea580c; color: #ea580c; }

.amw-sab-coupon:hover {
    border-style: solid;
    opacity: 0.9;
}

.amw-sab-coupon.copied {
    border-color: #22c55e !important;
    color: #22c55e !important;
}

.amw-sab-coupon-code {
    font-family: inherit;
    direction: ltr;
    letter-spacing: 0.5px;
}

.amw-sab-coupon-hint {
    font-size: 9.5px;
    opacity: 0.8;
}

.amw-sab-coupon-mobile { display: none !important; }
.amw-sab-coupon-desktop { display: inline-flex !important; }

@media (max-width: 768px) {
    .amw-sab-coupon-desktop { display: none !important; }
    .amw-sab-coupon-mobile { display: inline-flex !important; padding: 2px 6px !important; font-size: 9.5px !important; }
}

.amw-sab-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.amw-sab-subtitle {
    font-size: 11px;
    margin-top: 2px;
}

.amw-sab-center {
    display: flex;
    align-items: center;
    gap: 24px;
}

.amw-sab-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    direction: ltr;
}

.amw-sab-colon {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.amw-sab-timer-sync {
    display: inline-flex;
    align-items: center;
}

.amw-sab-timer-sync .fml-countdown-timer,
.amw-sab-timer-sync .fml-cd-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.amw-sab-timer-sync .fml-cd-item {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    min-width: 30px !important;
}

.amw-sab-timer-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    min-width: 30px;
}

.amw-sab-timer-unit b {
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.amw-sab-timer-unit small {
    font-size: 8px;
    opacity: 0.8;
    font-weight: 600;
}

.amw-sab-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.amw-sab-price-old {
    font-size: 11px;
    text-decoration: line-through;
}

.amw-sab-price-new {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.amw-sab-price-amount {
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.amw-sab-currency {
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    margin-right: 2px;
}

.amw-sab-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Perfect Vertical Centering for CTA Button & Text */
.amw-sab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
}

.amw-sab-btn span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transform: translateY(-1px); /* Baseline offset fix for Persian fonts */
}

.amw-sab-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.amw-sab-btn-icon i,
.amw-sab-btn-icon svg {
    display: block;
    line-height: 1;
}

/* Close button pinned to far-left corner on desktop */
.amw-sab-close {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.amw-sab-close:hover {
    background: #000000;
    color: #ffffff;
}

/* Device Visibility Rules */
@media (min-width: 1025px) {
    .amw-sab-dev-mobile_only .amw-sab-wrapper { display: none !important; }
}

@media (max-width: 1024px) {
    .amw-sab-dev-desktop_only .amw-sab-wrapper { display: none !important; }
}

/* Compact 1-Line Layout for Tablet (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .amw-sab-wrapper {
        padding: 6px 16px !important;
    }
    .amw-sab-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding-left: 36px !important;
    }
    .amw-sab-info {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 1 !important;
    }
    .amw-sab-thumb {
        width: 36px !important;
        height: 36px !important;
    }
    .amw-sab-title {
        font-size: 11.5px !important;
    }
    .amw-sab-subtitle {
        font-size: 9.5px !important;
    }
    .amw-sab-center {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .amw-sab-prices {
        gap: 4px !important;
    }
    .amw-sab-price-old {
        font-size: 10px !important;
    }
    .amw-sab-price-amount {
        font-size: 13px !important;
    }
    .amw-sab-currency {
        font-size: 9px !important;
    }
    .amw-sab-timer {
        gap: 2px !important;
        font-size: 10px !important;
    }
    .amw-sab-timer-unit {
        padding: 2px 4px !important;
        min-width: 24px !important;
    }
    .amw-sab-timer-unit b {
        font-size: 11px !important;
    }
    .amw-sab-timer-unit small {
        font-size: 7.5px !important;
    }
    .amw-sab-btn {
        padding: 7px 12px !important;
        font-size: 11.5px !important;
    }
    .amw-sab-close {
        left: 6px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        font-size: 14px !important;
    }
}

/* Ultra-Clean Compact 2-Line Mobile Layout (<= 768px) */
@media (max-width: 768px) {
    .amw-sab-wrapper {
        padding: 8px 12px !important;
    }
    .amw-sab-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        align-items: stretch !important;
        padding-left: 0 !important;
    }

    /* Line 1: Thumb + Title/Subtitle (Close Button absolute at top-left) */
    .amw-sab-info {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        padding-left: 36px !important; /* Space for top-left close button */
        box-sizing: border-box !important;
    }
    .amw-sab-details {
        flex: 1 !important;
        text-align: right !important;
    }
    .amw-sab-thumb {
        width: 34px !important;
        height: 34px !important;
    }
    .amw-sab-title {
        font-size: 12px !important;
    }
    .amw-sab-subtitle {
        font-size: 10px !important;
    }

    /* Close Button on Mobile: Absolute Top-Left */
    .amw-sab-close {
        top: 6px !important;
        left: 6px !important;
        transform: none !important;
        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        font-size: 14px !important;
    }

    /* Line 2: Price (50% Right Area - Centered) & Timer (50% Left Area - Centered) */
    .amw-sab-center {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        padding: 5px 0 !important;
        direction: rtl !important;
    }
    .amw-sab-prices {
        width: 50% !important;
        flex: 0 0 50% !important;
        display: flex !important;
        align-items: baseline !important;
        justify-content: center !important;
        gap: 5px !important;
        text-align: center !important;
    }
    .amw-sab-price-old {
        font-size: 10.5px !important;
    }
    .amw-sab-price-amount {
        font-size: 14px !important;
    }
    .amw-sab-currency {
        font-size: 9px !important;
    }

    .amw-sab-timer {
        width: 50% !important;
        flex: 0 0 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        direction: ltr !important;
    }
    .amw-sab-timer-unit {
        padding: 2px 5px !important;
        min-width: 26px !important;
    }
    .amw-sab-timer-unit b {
        font-size: 12px !important;
    }
    .amw-sab-timer-unit small {
        font-size: 7.5px !important;
    }

    /* Line 3: Full Width Action Button */
    .amw-sab-action {
        width: 100% !important;
        display: flex !important;
        gap: 6px !important;
    }
    .amw-sab-btn {
        width: 100% !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 1024px) {
    .amw-icb-pos-tablet-right .amw-icb { flex-direction: row; }
    .amw-icb-pos-tablet-left .amw-icb { flex-direction: row-reverse; }
    .amw-icb-pos-tablet-top .amw-icb { flex-direction: column; }
    .amw-icb-pos-tablet-bottom .amw-icb { flex-direction: column-reverse; }
}
@media (max-width: 767px) {
    .amw-icb-pos-right .amw-icb, .amw-icb-pos-left .amw-icb { flex-direction: column; }
    .amw-icb-pos-mobile-right .amw-icb { flex-direction: row; }
    .amw-icb-pos-mobile-left .amw-icb { flex-direction: row-reverse; }
    .amw-icb-pos-mobile-top .amw-icb { flex-direction: column; }
    .amw-icb-pos-mobile-bottom .amw-icb { flex-direction: column-reverse; }
    .amw-icb-media { width: 100%; max-width: 100% !important; flex-basis: auto !important; }
    .amw-icb-buttons { width: 100%; }
    .amw-icb-button { flex: 1 1 150px; }
}

.amw-sales-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    overflow: hidden;
}
.amw-sales-stack.amw-ss-image-bottom .amw-ss-media { order: 10; }
.amw-ss-media { align-self: center; overflow: hidden; flex: 0 0 auto; }
.amw-ss-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.amw-ss-heading { display: flex; flex-direction: column; gap: 7px; }
.amw-ss-title, .amw-ss-subtitle { margin: 0; }
.amw-ss-list { display: flex; flex-direction: column; }
.amw-ss-item {
    display: grid;
    grid-template-columns: auto minmax(0, max-content) minmax(24px, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-width: 0;
    transition: background-color .2s ease, transform .2s ease;
}
.amw-ss-item:hover { transform: translateY(-1px); }
.amw-ss-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.amw-ss-icon i, .amw-ss-icon svg { display: block; }
.amw-ss-label { min-width: 0; line-height: 1.65; }
.amw-ss-leader { width: 100%; height: 0; opacity: .95; }
.amw-ss-value-wrap { display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 4px; white-space: nowrap; }
.amw-ss-prefix, .amw-ss-currency { line-height: 1; }
.amw-ss-value { line-height: 1.25; }
[dir="ltr"].amw-sales-stack .amw-ss-value-wrap { justify-content: flex-start; }

@media (max-width: 767px) {
    .amw-ss-item { grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px; }
    .amw-ss-leader { display: none; }
    .amw-ss-label { overflow-wrap: anywhere; }
    .amw-ss-value-wrap { flex-wrap: wrap; max-width: 44vw; row-gap: 2px; }
}
@media (max-width: 420px) {
    .amw-ss-item { grid-template-columns: auto minmax(0, 1fr); }
    .amw-ss-value-wrap { grid-column: 2; justify-content: flex-start; max-width: none; }
}

@media (max-width: 480px) {
    .amw-cd-num { font-size: 28px; }
    .amw-cd-box { min-width: 64px; padding: 12px 14px; }
    .amw-hf-title { font-size: 21px; }
    .amw-hf-description { font-size: 16px; }
    .amw-lob { padding: 10px 12px; }
    .amw-lob-inner { gap: 9px; flex-wrap: wrap; }
    .amw-lob-copy { flex-basis: 100%; text-align: center; }
    .amw-lob-mobile-close-top-left .amw-lob-close,
    .amw-lob-mobile-close-top-right .amw-lob-close {
        position: absolute; top: var(--amw-lob-close-top, 7px); z-index: 2;
    }
    .amw-lob-mobile-close-top-left .amw-lob-close { left: var(--amw-lob-close-side, 7px); }
    .amw-lob-mobile-close-top-right .amw-lob-close { right: var(--amw-lob-close-side, 7px); }
    .amw-lob-mobile-close-inline .amw-lob-close { position: static; order: -1; }
    .amw-lob-mobile-hide-subtitle-yes .amw-lob-subtitle,
    .amw-lob-mobile-hide-coupon-hint-yes .amw-lob-coupon-hint,
    .amw-lob-mobile-hide-button-sub-yes .amw-lob-button-sub { display: none; }
    .amw-lob-timer, .amw-lob-coupon, .amw-lob-button { flex: 1 1 auto; }
    .amw-lob-mobile-one-row-yes .amw-lob-inner { flex-wrap: nowrap; }
    .amw-lob-mobile-one-row-yes .amw-lob-copy { display: none; }
    .amw-lob-mobile-one-row-yes .amw-lob-timer,
    .amw-lob-mobile-one-row-yes .amw-lob-coupon,
    .amw-lob-mobile-one-row-yes .amw-lob-button { flex: 0 1 auto; min-width: 0; }
    .amw-hero { min-height: 520px; padding: 70px 18px 60px; }
    .amw-hero-badge-wrap { margin-bottom: 34px; }
    .amw-hero-badge { max-width: 100%; font-size: 12px; }
    .amw-hero-title { margin-bottom: 24px; font-size: 42px; letter-spacing: -1px; }
    .amw-hero-subtitle { font-size: 17px; }
    .amw-hero-actions { width: 100%; }
    .amw-hero-button { flex: 1 1 auto; min-width: 135px; }
}
/* Account/login shortcode skin */
.amw-account-trigger{position:relative;display:flex;flex-direction:column;align-items:center;width:max-content;max-width:100%;z-index:30}
.amw-account-shortcode{display:flex;align-items:center;line-height:1}
.amw-account-trigger .amw-account-button{--amw-account-size:44px;position:relative;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;margin:0!important;text-decoration:none!important;font-family:inherit;line-height:1!important;cursor:pointer;overflow:hidden;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.amw-account-trigger .amw-account-button:hover{transform:translateY(-1px)}
.elementor-widget-amw_account_trigger .amw-account-trigger .amw-account-shortcode .amw-account-button{height:auto!important;max-height:none!important}
.elementor-widget-amw_account_trigger .amw-account-trigger.is-icon-only .amw-account-shortcode .amw-account-button{width:var(--amw-account-size)!important;min-width:var(--amw-account-size)!important;height:var(--amw-account-size)!important;min-height:var(--amw-account-size)!important}
.elementor-widget-amw_account_trigger .amw-account-trigger.has-trigger-text .amw-account-shortcode .amw-account-button{width:auto!important;height:auto!important;min-height:var(--amw-account-size)!important}
.amw-account-trigger .amw-account-button:hover{transform:translateY(-1px)}
.amw-account-trigger .amw-account-modern-icon{display:block;width:21px;height:21px;fill:none!important;stroke:currentColor!important;flex:none}
.amw-account-trigger .amw-account-modern-icon path{fill:none!important;stroke:currentColor!important}
.amw-account-trigger .amw-account-selected-icon-wrap{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;line-height:0;color:inherit;flex:none}
.amw-account-trigger .amw-account-selected-icon-wrap i{font-size:inherit;color:inherit}
.amw-account-trigger .amw-account-selected-icon-wrap svg{display:block;width:100%;height:100%;color:inherit}
.amw-account-trigger .amw-account-selected-icon-wrap svg[stroke]:not([stroke="none"]) path,.amw-account-trigger .amw-account-selected-icon-wrap svg path[stroke]:not([stroke="none"]),.amw-account-trigger .amw-account-selected-icon-wrap svg [fill="none"],.amw-account-trigger .amw-account-selected-icon-wrap svg path[fill="none"]{fill:none!important;stroke:currentColor!important}
.amw-account-trigger .amw-account-selected-icon-wrap svg:not([stroke]):not([fill="none"]) path:not([fill="none"]),.amw-account-trigger .amw-account-selected-icon-wrap svg.svg-inline--fa path{fill:currentColor!important}
.amw-account-trigger .amw-account-icon-frame{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:32px;height:32px;border-style:solid;border-width:1px;flex:none;transition:background-color .18s ease,border-color .18s ease}
.amw-account-trigger .amw-account-avatar{display:block;width:32px;height:32px;object-fit:cover;flex:none;overflow:hidden}
.amw-account-trigger.is-icon-only.has-valid-account-avatar .amw-account-button{padding:0!important}
.amw-account-trigger.is-icon-only.has-account-avatar .amw-account-avatar{position:absolute;z-index:2;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;opacity:0;visibility:hidden;pointer-events:none}
.amw-account-trigger.is-icon-only.has-account-avatar .amw-account-avatar.is-valid-avatar{opacity:1;visibility:visible}
.amw-account-trigger.is-icon-only.has-account-avatar .amw-account-avatar.is-invalid-avatar{display:none!important}
.amw-account-trigger .amw-account-label{display:inline-block;white-space:nowrap;line-height:1.25}
.amw-account-trigger .l3-modal-button,.amw-account-trigger .l3-modal-account-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;box-sizing:border-box;text-decoration:none!important;line-height:1!important;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.amw-account-trigger .l3-modal-button:hover,.amw-account-trigger .l3-modal-account-button:hover{transform:translateY(-1px)}
.amw-account-trigger .l3-modal-button-icon{display:inline-block!important;flex:none}
.amw-account-trigger.guest-icon-custom .l3-modal-button>.l3-modal-button-icon,.amw-account-trigger.guest-icon-none .l3-modal-button>.l3-modal-button-icon{display:none!important}
.amw-account-trigger.guest-text-hidden .l3-modal-button-text{display:none!important}
.amw-account-trigger .amw-custom-trigger-icon{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex:none}
.amw-account-trigger .amw-custom-trigger-icon svg{display:block;color:inherit}
.amw-account-trigger .amw-custom-trigger-icon svg:not([fill="none"]),.amw-account-trigger .amw-custom-trigger-icon svg:not([fill="none"]) path{fill:currentColor!important}
.amw-account-trigger.guest-icon-before .l3-modal-button .amw-custom-trigger-icon{order:-1}
.amw-account-trigger.guest-icon-after .l3-modal-button .amw-custom-trigger-icon{order:2}
.amw-account-trigger .l3-account-avatar{display:inline-flex!important;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box;flex:none}
.amw-account-trigger .l3-account-avatar-photo{display:block;width:100%!important;height:100%!important;object-fit:cover}
.amw-account-menu{--amw-menu-offset:10px;position:absolute;top:calc(100% + var(--amw-menu-offset));z-index:99999;display:flex;flex-direction:column;gap:2px;box-sizing:border-box;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}
.amw-account-menu:before{content:"";position:absolute;bottom:100%;left:0;width:100%;height:var(--amw-menu-offset)}
.amw-menu-position-right .amw-account-menu{right:0}.amw-menu-position-left .amw-account-menu{left:0}.amw-menu-position-center .amw-account-menu{left:50%;transform:translate(-50%,-5px)}
.amw-account-trigger.menu-opens-up .amw-account-menu{top:auto;bottom:calc(100% + var(--amw-menu-offset));transform:translateY(5px)}
.amw-account-trigger.is-menu-open .amw-account-menu,.amw-account-trigger.menu-opens-hover:hover .amw-account-menu,.amw-account-trigger.menu-opens-hover:focus-within .amw-account-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.amw-menu-position-center.is-menu-open .amw-account-menu,.amw-menu-position-center.menu-opens-hover:hover .amw-account-menu,.amw-menu-position-center.menu-opens-hover:focus-within .amw-account-menu{transform:translate(-50%,0)}
.amw-account-trigger.menu-opens-up.is-menu-open .amw-account-menu,.amw-account-trigger.menu-opens-up.menu-opens-hover:hover .amw-account-menu,.amw-account-trigger.menu-opens-up.menu-opens-hover:focus-within .amw-account-menu{transform:translateY(0)}
.amw-account-menu a{display:flex;align-items:center;gap:9px;text-decoration:none!important;border-radius:8px;white-space:nowrap;transition:background-color .16s ease,color .16s ease}
.amw-account-menu a svg{width:18px;height:18px;fill:currentColor;color:inherit;flex:none}
.amw-account-notice{padding:10px 12px;border:1px solid #f0c36d;border-radius:8px;background:#fff8e5;color:#684d00;font-size:12px;line-height:1.7}
.amw-account-dependency-notice{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px solid #e5b94f;border-radius:10px;background:#fff8e5;color:#684d00;font-size:13px;line-height:1.7}
@media(max-width:767px){.amw-account-trigger.menu-desktop-only .amw-account-menu{display:none!important}.amw-account-trigger.menu-desktop-only .l3-modal-account-button{pointer-events:auto}.amw-account-trigger .l3-modal-button-text{display:inline!important}.amw-account-trigger.guest-text-hidden .l3-modal-button-text{display:none!important}}

/* ----------------------------------------------------------------- */
/*                  ویجت اسلایدر برندها و تصاویر (amw-logo-slider)     */
/* ----------------------------------------------------------------- */
.amw-logo-slider-wrapper {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    font-family: inherit;
    user-select: none;
    -webkit-user-select: none;
    padding-top: 55px;
    padding-bottom: 15px;
    margin-top: -35px;
    overflow: visible;
}

.amw-logo-slider-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    scroll-behavior: smooth;
    padding-top: 5px;
}

.amw-logo-slider-viewport::-webkit-scrollbar {
    display: none;
}

.amw-logo-slider-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.amw-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 8px 16px;
    min-width: 100px;
    max-width: 160px;
}

.amw-logo-item img {
    width: auto;
    max-width: 100%;
    height: 50px;
    max-height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Grayscale to Color Effect */
.amw-logo-grayscale-yes .amw-logo-item img {
    filter: grayscale(100%);
    opacity: 0.7;
}

.amw-logo-grayscale-yes .amw-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Hover Zoom Effect */
.amw-logo-zoom-yes .amw-logo-item img:hover,
.amw-logo-zoom-yes .amw-logo-item:hover img {
    transform: scale(1.08);
}

/* Floating Tooltip Portal */
#amw-logo-tooltip-portal {
    position: fixed;
    z-index: 9999999;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    transform: translate(-50%, -100%) translateY(-6px);
    width: max-content;
    max-width: 240px;
    box-sizing: border-box;
    font-family: inherit;
}

#amw-logo-tooltip-portal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -100%) translateY(-2px);
}

#amw-logo-tooltip-portal::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
}

/* Theme 1: Dark (Default) */
#amw-logo-tooltip-portal.amw-tt-theme-dark,
#amw-logo-tooltip-portal:not([class*="amw-tt-theme-"]) {
    background-color: #09090b;
    color: #ffffff;
    border: 1px solid #27272a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
#amw-logo-tooltip-portal.amw-tt-theme-dark::after,
#amw-logo-tooltip-portal:not([class*="amw-tt-theme-"])::after {
    border-color: #09090b transparent transparent transparent;
}
#amw-logo-tooltip-portal.amw-tt-theme-dark .amw-logo-tooltip-link,
#amw-logo-tooltip-portal:not([class*="amw-tt-theme-"]) .amw-logo-tooltip-link {
    color: #38bdf8;
}

/* Theme 2: Light */
#amw-logo-tooltip-portal.amw-tt-theme-light {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
#amw-logo-tooltip-portal.amw-tt-theme-light::after {
    border-color: #ffffff transparent transparent transparent;
}
#amw-logo-tooltip-portal.amw-tt-theme-light .amw-logo-tooltip-link {
    color: #2563eb;
}

/* Theme 3: Navy Dark */
#amw-logo-tooltip-portal.amw-tt-theme-navy {
    background-color: #0f172a;
    color: #f8fafc;
    border: 1px solid #1e293b;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.55);
}
#amw-logo-tooltip-portal.amw-tt-theme-navy::after {
    border-color: #0f172a transparent transparent transparent;
}
#amw-logo-tooltip-portal.amw-tt-theme-navy .amw-logo-tooltip-link {
    color: #38bdf8;
}

/* Theme 4: Orange Light */
#amw-logo-tooltip-portal.amw-tt-theme-orange {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #fed7aa;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.18);
}
#amw-logo-tooltip-portal.amw-tt-theme-orange::after {
    border-color: #ffffff transparent transparent transparent;
}
#amw-logo-tooltip-portal.amw-tt-theme-orange .amw-logo-tooltip-title {
    color: #ea580c;
}
#amw-logo-tooltip-portal.amw-tt-theme-orange .amw-logo-tooltip-link {
    color: #f97316;
}
#amw-logo-tooltip-portal.amw-tt-theme-orange .amw-logo-tooltip-link:hover {
    color: #ea580c;
}

.amw-logo-tooltip-title {
    font-weight: 700;
    font-size: 12.5px;
    margin-bottom: 3px;
    color: inherit;
}

.amw-logo-tooltip-desc {
    font-size: 11.5px;
    opacity: 0.88;
    margin-bottom: 4px;
    line-height: 1.5;
    color: inherit;
}

.amw-logo-tooltip-link:hover {
    color: #ffffff;
}

/* -----------------------------------------------------------------
 * Global palette fallbacks.
 * Elementor-generated widget CSS is more specific and is loaded later, so a
 * color explicitly selected by the user continues to override these values.
 * ----------------------------------------------------------------- */
.amw-cd-title,
.amw-cd-num { color: var(--amw-color-secondary); }
.amw-cd-label { color: var(--amw-color-text); }
.amw-cd-box { background: var(--amw-color-surface-alt); }

.amw-lob { background: var(--amw-color-surface-alt); color: var(--amw-color-secondary); }
.amw-lob-title,
.amw-lob-time-num,
.amw-lob-code { color: var(--amw-color-secondary); }
.amw-lob-subtitle,
.amw-lob-time-label,
.amw-lob-coupon-hint { color: var(--amw-color-text); }
.amw-lob-time-unit,
.amw-lob-coupon { background: var(--amw-color-surface); }
.amw-lob-button { background: var(--amw-color-primary); border-color: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-lob-button:hover { background: var(--amw-color-surface); color: var(--amw-color-primary); }
.amw-lob-close { color: var(--amw-color-secondary); }

.amw-hero { background: var(--amw-color-surface); }
.amw-hero-badge {
    --amw-badge-color-1: var(--amw-color-primary);
    --amw-badge-color-2: var(--amw-color-accent);
    --amw-badge-bg: var(--amw-color-surface);
    color: var(--amw-color-text);
    border-color: var(--amw-color-border);
}
.amw-hero-title { color: var(--amw-color-secondary); }
.amw-hero-subtitle { color: var(--amw-color-text); }
.amw-hero-button-primary { background: var(--amw-color-primary); border-color: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-hero-button-primary:hover { color: var(--amw-color-on-brand); }
.amw-hero-button-secondary { background: var(--amw-color-surface); border-color: var(--amw-color-border); color: var(--amw-color-secondary); }

.amw-svg-icon { background: var(--amw-color-surface-alt); color: var(--amw-color-primary); }
.amw-svg-icon:hover,
.amw-svg-icon:focus-visible { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-svg-tooltip { --amw-svg-tooltip-bg: var(--amw-color-tooltip); color: var(--amw-color-on-brand); }
.amw-svg-tooltip a { color: var(--amw-color-accent); }

.amw-section-heading-line-primary { background: var(--amw-color-primary); }
.amw-section-heading-line-secondary { background: var(--amw-color-surface-alt); }
.amw-section-heading-icon { background: var(--amw-color-surface-alt); border-color: var(--amw-color-border); color: var(--amw-color-accent); }
.amw-section-heading-link:hover .amw-section-heading-icon { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-section-heading-accent { color: var(--amw-color-accent); }
.amw-section-heading-main { color: var(--amw-color-secondary); }
.amw-section-heading-subtitle { color: var(--amw-color-text); }

.amw-tlb-button { background-color: var(--amw-tlb-bg, var(--amw-color-primary)); border-color: var(--amw-tlb-border, var(--amw-color-primary)); }
.amw-tlb-text,
.amw-tlb-media { color: var(--amw-tlb-fg, var(--amw-color-on-brand)); }

.amw-cc-card { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-cc-card:hover { border-color: var(--amw-color-primary); }
.amw-cc-title,
.amw-cc-price { color: var(--amw-color-secondary); }
.amw-cc-excerpt,
.amw-cc-meta { color: var(--amw-color-text); }
.amw-cc-button { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-cc-button:hover { background: var(--amw-color-surface-alt); color: var(--amw-color-primary); }
.amw-cc-arrow { background: var(--amw-color-surface); border-color: var(--amw-color-border); color: var(--amw-color-primary); }
.amw-cc-arrow:hover,
.amw-cc-dot.is-active { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }

.amw-fc { --amw-fc-accent: var(--amw-color-accent); background: var(--amw-color-surface); color: var(--amw-color-secondary); }
.amw-fc-title,
.amw-fc-instructor-name,
.amw-fc-stat-value,
.amw-fc-current-price,
.amw-fc-free,
.amw-fc-feature-title { color: var(--amw-color-secondary); }
.amw-fc-subtitle,
.amw-fc-description,
.amw-fc-instructor-role,
.amw-fc-stat-label,
.amw-fc-feature-description { color: var(--amw-color-text); }
.amw-fc-instructor,
.amw-fc-stat,
.amw-fc-price-box,
.amw-fc-features { background: var(--amw-color-surface-alt); border-color: var(--amw-color-border); }
.amw-fc-button-primary { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-fc-button-secondary { background: var(--amw-color-surface-alt); color: var(--amw-color-secondary); }

.amw-fb { background: var(--amw-color-surface); }
.amw-fb-icon { color: var(--amw-color-accent); }
.amw-fb-title { color: var(--amw-color-secondary); }
.amw-fb-desc { color: var(--amw-color-text); }

.amw-cta { background: var(--amw-color-secondary); color: var(--amw-color-on-brand); }
.amw-cta-title { color: var(--amw-color-on-brand); }
.amw-cta-desc { color: color-mix(in srgb, var(--amw-color-on-brand) 78%, transparent); }
.amw-cta-btn { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }

.amw-price-switcher { background: var(--amw-color-surface-alt); }
.amw-price-switcher-button { color: var(--amw-color-text); }
.amw-price-switcher-button.is-active { background: var(--amw-color-surface); color: var(--amw-color-secondary); }
.amw-price { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-price.featured { border-color: var(--amw-color-primary); }
.amw-price-badge,
.amw-price-btn { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-price-plan,
.amw-price-period,
.amw-price-list li.off { color: var(--amw-color-text); }
.amw-price-amount { color: var(--amw-color-accent); }
.amw-price-list.has-divider li:not(:last-child) { border-color: var(--amw-color-border); }
.amw-price-list li.on .amw-price-tick {
    background: color-mix(in srgb, var(--amw-color-success) 11%, var(--amw-color-surface));
    color: var(--amw-color-success);
}
.amw-price-list li.off {
    color: color-mix(in srgb, var(--amw-color-text) 58%, var(--amw-color-surface));
}
.amw-price-list li.off .amw-price-tick {
    background: var(--amw-color-surface-alt);
    color: color-mix(in srgb, var(--amw-color-text) 62%, var(--amw-color-surface));
}
.amw-price-help {
    border-color: color-mix(in srgb, var(--amw-color-text) 46%, var(--amw-color-surface));
    color: color-mix(in srgb, var(--amw-color-text) 62%, var(--amw-color-surface));
}
.amw-price-tooltip { background: var(--amw-color-tooltip); color: var(--amw-color-on-brand); }

.amw-hf { background: var(--amw-color-surface); }
.amw-hf:hover { background: var(--amw-color-surface-alt); }
.amw-hf-main-icon { color: var(--amw-color-accent); }
.amw-hf-title,
.amw-hf-end-icon { color: var(--amw-color-secondary); }
.amw-hf-description { color: var(--amw-color-text); }

.amw-ss-title,
.amw-ss-label { color: var(--amw-color-secondary); }
.amw-ss-subtitle { color: var(--amw-color-text); }
.amw-ss-item:hover { background: var(--amw-color-surface-alt); }
.amw-ss-icon,
.amw-ss-value,
.amw-ss-currency,
.amw-ss-prefix { color: var(--amw-color-accent); }
.amw-ss-leader { border-color: var(--amw-color-border); }

.amw-fs-marker { background: var(--amw-color-surface-alt); color: var(--amw-color-primary); }
.amw-fs-active .amw-fs-marker,
.amw-fs-completed .amw-fs-marker { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }
.amw-fs-title { color: var(--amw-color-secondary); }
.amw-fs-description { color: var(--amw-color-text); }
.amw-fs-connector { border-color: var(--amw-color-border); }

.amw-mf-item,
.amw-mf-question,
.amw-mf-answer-inner { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-mf-question { --amw-mf-question-icon: var(--amw-color-primary); --amw-mf-toggle: var(--amw-color-text); color: var(--amw-color-secondary); }
.amw-mf-question:hover,
.amw-mf-question:focus-visible,
.amw-mf-item.is-open .amw-mf-question { background: var(--amw-color-surface-alt); color: var(--amw-color-secondary); }
.amw-mf-answer-inner { --amw-mf-answer-icon: var(--amw-color-accent); color: var(--amw-color-text); }
.amw-mf-answer-content a { color: var(--amw-color-accent); }

.amw-icb { background: var(--amw-color-surface); }
.amw-icb-title { color: var(--amw-color-secondary); }
.amw-icb-subtitle { color: var(--amw-color-text); }
.amw-icb-button:first-child { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }

.amw-guarantee-box { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-guarantee-title,
.amw-guarantee-badge,
.amw-guarantee-item { color: var(--amw-color-secondary); }
.amw-guarantee-desc { color: var(--amw-color-text); }
.amw-guarantee-badge,
.amw-guarantee-item { background: var(--amw-color-surface-alt); }
.amw-guarantee-item-icon { color: var(--amw-color-accent); }

.amw-sab-theme-light .amw-sab-wrapper,
.amw-sab-wrapper { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-sab-theme-light .amw-sab-title,
.amw-sab-theme-light .amw-sab-price-amount { color: var(--amw-color-secondary); }
.amw-sab-theme-light .amw-sab-subtitle,
.amw-sab-theme-light .amw-sab-price-old,
.amw-sab-theme-light .amw-sab-currency,
.amw-sab-theme-light .amw-sab-colon { color: var(--amw-color-text); }
.amw-sab-theme-light .amw-sab-timer-unit,
.amw-sab-theme-light .amw-sab-close { background: var(--amw-color-surface-alt); color: var(--amw-color-secondary); }
.amw-sab-theme-light .amw-sab-btn { background: var(--amw-color-primary); color: var(--amw-color-on-brand); }

.amw-account-menu { background: var(--amw-color-surface); border-color: var(--amw-color-border); color: var(--amw-color-secondary); }

.amw-logo-item { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-logo-tooltip { background: var(--amw-color-tooltip); color: var(--amw-color-on-brand); }
.amw-logo-tooltip-link { color: var(--amw-color-accent); }

.amw-menu-theme-light .amw-mega-item-link { color: var(--amw-color-secondary); }
.amw-menu-theme-light .amw-mega-item-link:hover,
.amw-menu-theme-light .amw-mega-item.is-active > .amw-mega-item-link { color: var(--amw-color-primary); }
.amw-menu-theme-light .amw-mega-dropdown,
.amw-mega-menu-nav { background: var(--amw-color-surface); border-color: var(--amw-color-border); }
.amw-mega-cat-header,
.amw-mega-card-title { color: var(--amw-color-secondary); }
.amw-mega-card-sub,
.amw-mega-promo-desc { color: var(--amw-color-text); }
.amw-mega-card:hover { background: var(--amw-color-surface-alt); }
.amw-mega-card-icon,
.amw-mega-promo-btn { color: var(--amw-color-accent); }
.amw-mega-badge,
.amw-mega-card-badge { color: var(--amw-color-accent); background: color-mix(in srgb, var(--amw-color-accent) 12%, var(--amw-color-surface)); }

/* ----------------------------------------------------------------- */
/*                 ویجت مگامنوی پیشرفته اتومارکتینگ (amw-mega-menu)   */
/* ----------------------------------------------------------------- */
.amw-mega-menu-wrapper {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    font-family: inherit;
}

.amw-mega-menu-nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.amw-mega-menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 12px;
}

.amw-mega-item {
    position: relative;
}

.amw-mega-item-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: inherit;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.amw-mega-arrow {
    display: inline-block;
    font-size: 14px;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.amw-mega-item:hover > .amw-mega-item-link .amw-mega-arrow,
.amw-mega-item.is-active > .amw-mega-item-link .amw-mega-arrow {
    transform: rotate(-270deg);
}

.amw-mega-badge {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1.2;
}

/* Hover Bridge Pseudo-element */
.amw-mega-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 100%;
    height: 18px;
    background: transparent;
}

/* Mega Dropdown Card (Desktop) */
.amw-mega-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    box-sizing: border-box;
    width: max-content !important;
    max-width: 92vw !important;
}

.amw-mega-item:hover > .amw-mega-dropdown,
.amw-mega-item.is-active > .amw-mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.amw-mega-dropdown-inner {
    padding: 12px 14px !important;
    display: flex !important;
    gap: 12px !important;
}

.amw-mega-columns {
    display: flex !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
}

.amw-mega-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 0 0 auto !important;
    min-width: 140px !important;
}

.amw-mega-cat-header {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #94a3b8;
    letter-spacing: 0.5px !important;
    margin-bottom: 0px !important;
    padding: 2px 8px !important;
    box-sizing: border-box !important;
}

.amw-mega-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.amw-mega-card {
    display: flex;
    align-items: flex-start;
    gap: 10px !important;
    padding: 6px 8px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    background: transparent;
}

.amw-mega-card:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.amw-mega-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 16px;
    flex-shrink: 0;
}

.amw-mega-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.amw-mega-card-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

.amw-mega-card-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    background: #ea580c;
    color: #ffffff;
}

/* Featured Promo Banner */
.amw-mega-promo {
    width: 190px;
    flex-shrink: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background-color: #0f172a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amw-mega-promo-title {
    font-size: 14px;
    font-weight: 700;
}

.amw-mega-promo-desc {
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.5;
}

.amw-mega-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #ea580c;
    text-decoration: none !important;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.amw-mega-promo-btn svg {
    transition: transform 0.2s ease, color 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

.amw-mega-promo-btn:hover svg,
.amw-mega-promo:hover .amw-mega-promo-btn svg {
    transform: translateX(-3px);
}

/* 4 Preset Themes */

/* Theme 1: Light (روشن) */
.amw-menu-theme-light .amw-mega-menu-list { background: transparent; }
.amw-menu-theme-light .amw-mega-item-link { color: #0f172a !important; }
.amw-menu-theme-light .amw-mega-item:hover > .amw-mega-item-link,
.amw-menu-theme-light .amw-mega-item.is-active > .amw-mega-item-link { color: #ea580c !important; background: rgba(234, 88, 12, 0.06) !important; }
.amw-menu-theme-light .amw-mega-dropdown { background: #ffffff !important; border: 1px solid #f1f5f9 !important; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.amw-menu-theme-light .amw-mega-cat-header { color: #94a3b8; }
.amw-menu-theme-light .amw-mega-card-title { color: #0f172a !important; }
.amw-menu-theme-light .amw-mega-card-sub { color: #64748b !important; }
.amw-menu-theme-light .amw-mega-card:hover { background: #f8fafc !important; }
.amw-menu-theme-light .amw-mega-card-icon { background: #f1f5f9; color: #0f172a; }

/* Theme 2: Dark (تاریک) */
.amw-menu-theme-dark .amw-mega-menu-list { background: #09090b; padding: 6px 12px; border-radius: 14px; border: 1px solid #27272a; }
.amw-menu-theme-dark .amw-mega-item-link { color: #f8fafc !important; }
.amw-menu-theme-dark .amw-mega-item:hover > .amw-mega-item-link,
.amw-menu-theme-dark .amw-mega-item.is-active > .amw-mega-item-link { color: #ea580c !important; background: rgba(255, 255, 255, 0.1) !important; }
.amw-menu-theme-dark .amw-mega-dropdown { background: #09090b !important; border: 1px solid #27272a !important; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.amw-menu-theme-dark .amw-mega-cat-header { color: #71717a; }
.amw-menu-theme-dark .amw-mega-card-title { color: #ffffff !important; }
.amw-menu-theme-dark .amw-mega-card-sub { color: #a1a1aa !important; }
.amw-menu-theme-dark .amw-mega-card-icon { background: #18181b; color: #ffffff; }
.amw-menu-theme-dark .amw-mega-card:hover { background: rgba(255, 255, 255, 0.06) !important; }

/* Theme 3: Navy Dark (سرمه‌ای تاریک) */
.amw-menu-theme-navy .amw-mega-menu-list { background: #0f172a; padding: 6px 12px; border-radius: 14px; border: 1px solid #1e293b; }
.amw-menu-theme-navy .amw-mega-item-link { color: #f8fafc !important; }
.amw-menu-theme-navy .amw-mega-item:hover > .amw-mega-item-link,
.amw-menu-theme-navy .amw-mega-item.is-active > .amw-mega-item-link { color: #38bdf8 !important; background: rgba(56, 189, 248, 0.12) !important; }
.amw-menu-theme-navy .amw-mega-dropdown { background: #0f172a !important; border: 1px solid #1e293b !important; box-shadow: 0 20px 40px rgba(15, 23, 42, 0.6); }
.amw-menu-theme-navy .amw-mega-cat-header { color: #64748b; }
.amw-menu-theme-navy .amw-mega-card-title { color: #ffffff !important; }
.amw-menu-theme-navy .amw-mega-card-sub { color: #94a3b8 !important; }
.amw-menu-theme-navy .amw-mega-card-icon { background: #1e293b; color: #38bdf8; }
.amw-menu-theme-navy .amw-mega-card:hover { background: rgba(255, 255, 255, 0.06) !important; }

/* Theme 4: Orange Light (نارنجی روشن) */
.amw-menu-theme-orange .amw-mega-menu-list { background: #fff7ed; padding: 6px 12px; border-radius: 14px; border: 1px solid #fed7aa; }
.amw-menu-theme-orange .amw-mega-item-link { color: #0f172a !important; }
.amw-menu-theme-orange .amw-mega-item:hover > .amw-mega-item-link,
.amw-menu-theme-orange .amw-mega-item.is-active > .amw-mega-item-link { color: #ea580c !important; background: #ffffff !important; }
.amw-menu-theme-orange .amw-mega-dropdown { background: #ffffff !important; border: 1px solid #fed7aa !important; box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15); }
.amw-menu-theme-orange .amw-mega-cat-header { color: #ea580c; }
.amw-menu-theme-orange .amw-mega-card-title { color: #0f172a !important; }
.amw-menu-theme-orange .amw-mega-card-sub { color: #64748b !important; }
.amw-menu-theme-orange .amw-mega-card-icon { background: #fff7ed; color: #ea580c; }
.amw-menu-theme-orange .amw-mega-card:hover { background: #fff7ed !important; }

/* ================================================================= */
/*                     DESKTOP ONLY (min-width: 992px)               */
/* ================================================================= */
@media (min-width: 992px) {
    .amw-mega-mobile-toggle,
    .amw-mega-mobile-header {
        display: none !important;
    }

    .amw-mega-menu-wrapper {
        width: 100% !important;
    }

    .amw-mega-menu-nav {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        overflow: visible !important;
        padding: 0 !important;
    }
}

/* ================================================================= */
/*                     MOBILE & TABLET (max-width: 991px)            */
/* ================================================================= */
.amw-mega-mobile-toggle,
.amw-mega-mobile-header,
.amw-mega-mobile-overlay {
    display: none;
}

body.amw-mega-drawer-active {
    overflow: hidden !important;
}

@media (max-width: 991px) {
    .amw-mega-mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 9999998 !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .amw-mega-menu-wrapper.is-drawer-open .amw-mega-mobile-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .amw-mega-mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 8px;
        border: 1px solid #cbd5e1;
        background: #ffffff;
        color: #0f172a;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        z-index: 99;
    }

    .amw-mega-toggle-icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
    }

    .amw-mega-toggle-icon-wrap .amw-svg-close {
        display: none;
    }

    .amw-mega-menu-wrapper.is-drawer-open .amw-mega-toggle-icon-wrap .amw-svg-hamburger {
        display: none;
    }

    .amw-mega-menu-wrapper.is-drawer-open .amw-mega-toggle-icon-wrap .amw-svg-close {
        display: block;
    }

    .amw-mega-menu-nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: var(--amw-mobile-drawer-width, 300px) !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff;
        z-index: 9999999 !important;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        box-shadow: none !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
        overflow-y: auto;
        overflow-x: hidden !important;
        box-sizing: border-box;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .amw-mega-menu-nav.is-open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2) !important;
    }

    .amw-mega-mobile-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-bottom: 12px;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 16px;
    }

    .amw-mega-mobile-close {
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
        color: #0f172a;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
        transition: background 0.2s ease;
    }

    .amw-mega-mobile-close:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .amw-mega-menu-list {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
    }

    /* Submenu Fluid Width in Mobile Drawer (Zero Overflow!) */
    .amw-mega-dropdown {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        display: none;
        padding: 10px 0 !important;
        background: transparent !important;
    }

    .amw-mega-item.is-open > .amw-mega-dropdown {
        display: block !important;
    }

    .amw-mega-dropdown-inner,
    .amw-mega-columns,
    .amw-mega-column,
    .amw-mega-cards {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .amw-mega-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .amw-mega-promo {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile Drawer Themes */
    .amw-menu-theme-dark .amw-mega-menu-nav { background: #09090b !important; color: #ffffff !important; }
    .amw-menu-theme-dark .amw-mega-mobile-header { border-bottom-color: #27272a; color: #ffffff; }
    .amw-menu-theme-dark .amw-mega-mobile-close { color: #ffffff; }

    .amw-menu-theme-navy .amw-mega-menu-nav { background: #0f172a !important; color: #ffffff !important; }
    .amw-menu-theme-navy .amw-mega-mobile-header { border-bottom-color: #1e293b; color: #ffffff; }
    .amw-menu-theme-navy .amw-mega-mobile-close { color: #ffffff; }
}

.amw-logo-tooltip-link:hover {
    color: #ffffff;
}

/* ================================================================= */
/*                  ویجت فوتر جامع و پیشرفته (AMW_Footer)            */
/* ================================================================= */
.amw-footer-wrapper {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    direction: rtl;
    text-align: right;
    font-family: inherit;
}

.amw-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 30px;
    box-sizing: border-box;
}

.amw-footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.1fr 1.4fr;
    gap: 36px;
    margin-bottom: 40px;
}

.amw-footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.amw-footer-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.amw-footer-logo {
    display: flex;
    align-items: center;
}
.amw-footer-logo img {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.amw-footer-col-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.amw-footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    margin: 0;
    opacity: 0.88;
}

.amw-footer-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.amw-footer-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.85;
}
.amw-footer-features .amw-feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.amw-footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amw-footer-link {
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
    opacity: 0.85;
}
.amw-footer-link:hover {
    opacity: 1;
    transform: translateX(-4px);
}

/* Trust Badges Grid */
.amw-footer-badges-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.amw-footer-badge-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    min-height: 80px;
    box-sizing: border-box;
}

.amw-badge-has-box-no .amw-footer-badge-box,
.elementor-widget-amw_footer:not(.amw-badge-has-box-yes) .amw-footer-badge-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

.amw-footer-badge-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.amw-badge-has-box-no .amw-footer-badge-box:hover,
.elementor-widget-amw_footer:not(.amw-badge-has-box-yes) .amw-footer-badge-box:hover {
    box-shadow: none !important;
    transform: none !important;
}
.amw-footer-badge-box img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.amw-badge-placeholder {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    opacity: 0.75;
}

/* Ultra Minimal Social Media Row */
.amw-footer-social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(150, 150, 150, 0.15);
    margin-bottom: 20px;
}
.amw-footer-social-title {
    font-size: 13.5px;
    font-weight: 600;
    opacity: 0.9;
}
.amw-footer-social-list {
    display: flex;
    align-items: center;
    gap: 12px;
}
.amw-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease, color 0.2s ease, stroke 0.2s ease, fill 0.2s ease;
    font-size: 20px;
    opacity: 0.8;
}

/* Optional Background Circle */
.amw-social-has-bg-yes .amw-footer-social-link {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 50%;
    background: rgba(150, 150, 150, 0.1) !important;
}

/* Optional Square/Rounded Border */
.amw-social-has-border-yes .amw-footer-social-link {
    border: 1px solid rgba(150, 150, 150, 0.25) !important;
    padding: 6px !important;
    border-radius: 10px;
}
.amw-footer-social-link i,
.amw-footer-social-link svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    color: inherit !important;
    transition: color 0.2s ease, fill 0.2s ease, stroke 0.2s ease;
}

/* Outlined / Line SVGs (like Instagram, Tabler, Feather, stroke-based SVGs) */
.amw-footer-social-link svg path[stroke]:not([stroke="none"]),
.amw-footer-social-link svg rect[stroke]:not([stroke="none"]),
.amw-footer-social-link svg circle[stroke]:not([stroke="none"]) {
    fill: none !important;
    stroke: currentColor !important;
}

/* Ensure invisible SVG canvas paths (like Tabler M0 0h24v24) stay 100% invisible */
.amw-footer-social-link svg path[stroke="none"],
.amw-footer-social-link svg path[d*="M0 0h24v24"],
.amw-footer-social-link svg path[d*="M0 0h24v24H0z"] {
    fill: none !important;
    stroke: none !important;
    border: none !important;
}

.amw-footer-social-link:hover {
    opacity: 1;
}

/* Copyright Bar */
.amw-footer-copyright-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    font-size: 13px;
    opacity: 0.85;
}
.amw-footer-copyright-text a {
    color: inherit;
    text-decoration: underline;
    transition: color 0.2s ease, opacity 0.2s ease;
}
.amw-footer-copyright-text a:hover {
    opacity: 0.85;
}
.amw-footer-back-to-top {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.amw-footer-back-to-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Rules for Footer */
@media (max-width: 991px) {
    .amw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .amw-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .amw-footer-social-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .amw-footer-copyright-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ----------------------------------------------------------------- */
/*                  4 Preset Themes for AMW_Footer                    */
/* ----------------------------------------------------------------- */

/* Theme 1: Light (روشن) */
.amw-footer-theme-light .amw-footer-wrapper {
    background-color: #f8fafc;
    color: #0f172a;
}
.amw-footer-theme-light .amw-footer-col-title {
    color: #0f172a;
}
.amw-footer-theme-light .amw-footer-desc,
.amw-footer-theme-light .amw-footer-link {
    color: #475569;
}
.amw-footer-theme-light .amw-footer-link:hover {
    color: #ea580c;
}
.amw-footer-theme-light .amw-footer-badge-box {
    background: #ffffff;
    border-color: #e2e8f0;
}
.amw-footer-theme-light .amw-footer-social-link {
    background: transparent;
    color: #475569;
}
.amw-footer-theme-light .amw-footer-social-link:hover {
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}
.amw-footer-theme-light .amw-footer-copyright-bar {
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

/* Theme 2: Dark (تاریک) */
.amw-footer-theme-dark .amw-footer-wrapper {
    background-color: #09090b;
    color: #ffffff;
}
.amw-footer-theme-dark .amw-footer-col-title {
    color: #ffffff;
}
.amw-footer-theme-dark .amw-footer-desc,
.amw-footer-theme-dark .amw-footer-link {
    color: #a1a1aa;
}
.amw-footer-theme-dark .amw-footer-link:hover {
    color: #ffffff;
}
.amw-footer-theme-dark .amw-footer-badge-box {
    background: #18181b;
    border-color: #27272a;
}
.amw-footer-theme-dark .amw-footer-social-link {
    background: transparent;
    color: #a1a1aa;
}
.amw-footer-theme-dark .amw-footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.amw-footer-theme-dark .amw-footer-copyright-bar {
    border-top: 1px solid #27272a;
    color: #71717a;
}

/* Theme 3: Navy Dark (سرمه‌ای تاریک) */
.amw-footer-theme-navy .amw-footer-wrapper {
    background-color: #0f172a;
    color: #ffffff;
}
.amw-footer-theme-navy .amw-footer-col-title {
    color: #ffffff;
}
.amw-footer-theme-navy .amw-footer-desc,
.amw-footer-theme-navy .amw-footer-link {
    color: #94a3b8;
}
.amw-footer-theme-navy .amw-footer-link:hover {
    color: #38bdf8;
}
.amw-footer-theme-navy .amw-footer-badge-box {
    background: #1e293b;
    border-color: #334155;
}
.amw-footer-theme-navy .amw-footer-social-link {
    background: transparent;
    color: #94a3b8;
}
.amw-footer-theme-navy .amw-footer-social-link:hover {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}
.amw-footer-theme-navy .amw-footer-copyright-bar {
    border-top: 1px solid #1e293b;
    color: #64748b;
}

/* Theme 4: Orange (نارنجی) */
.amw-footer-theme-orange .amw-footer-wrapper {
    background-color: #fff7ed;
    color: #0c0a09;
}
.amw-footer-theme-orange .amw-footer-col-title {
    color: #ea580c;
}
.amw-footer-theme-orange .amw-footer-desc,
.amw-footer-theme-orange .amw-footer-link {
    color: #78350f;
}
.amw-footer-theme-orange .amw-footer-link:hover {
    color: #ea580c;
}
.amw-footer-theme-orange .amw-footer-badge-box {
    background: #ffffff;
    border-color: #ffedd5;
}
.amw-footer-theme-orange .amw-footer-social-link {
    background: transparent;
    color: #78350f;
}
.amw-footer-theme-orange .amw-footer-social-link:hover {
    background: rgba(234, 88, 12, 0.12);
    color: #ea580c;
}
.amw-footer-theme-orange .amw-footer-copyright-bar {
    border-top: 1px solid #ffedd5;
    color: #9a3412;
}

/* ----------------------------------------------------------------- */
/*                     AMW_Ajax_Search Widget                        */
/* ----------------------------------------------------------------- */

.amw-ajax-search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.amw-ajax-search-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 18px !important;
    width: 70px !important;
    height: 44px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    background: #f4f5f8 !important;
    color: #475569 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-trigger {
    display: none !important;
}

.amw-ajax-search-wrapper:not(.amw-has-kbd) .amw-ajax-search-trigger {
    width: 44px !important;
    padding: 0 !important;
    border-radius: 8px !important;
}

.amw-ajax-search-trigger:hover {
    background: #e2e8f0;
}

.amw-search-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: inherit;
}

.amw-search-kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    background: #ffffff;
    color: #475569;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    line-height: 1;
    box-sizing: border-box;
}

.amw-ajax-search-form-container {
    position: relative;
    width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: visible;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
}

.amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-trigger {
    display: none;
}

.amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-form-container {
    width: 320px;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1024px) {
    .amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-form-container,
    .amw-global-mobile-search.amw-is-open .amw-ajax-search-form-container {
        position: fixed !important;
        top: 110px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 550px !important;
        margin: 0 !important;
        z-index: 99999999 !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22) !important;
        border-radius: 16px !important;
        background: #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    body:not(.admin-bar) .amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-form-container,
    body:not(.admin-bar) .amw-global-mobile-search.amw-is-open .amw-ajax-search-form-container {
        top: 65px !important;
    }

    body.amw-mobile-search-active .amw-ajax-search-wrapper {
        display: block !important;
        visibility: visible !important;
    }

    .amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-form,
    .amw-global-mobile-search.amw-is-open .amw-ajax-search-form {
        width: 100% !important;
        height: 52px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
    }

    .amw-ajax-search-wrapper.amw-is-open .amw-ajax-search-results-panel,
    .amw-global-mobile-search.amw-is-open .amw-ajax-search-results-panel {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 55vh !important;
        box-shadow: none !important;
        border-top: 1px solid #f1f5f9 !important;
    }
}

.amw-ajax-search-form {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 0 12px 0 16px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.amw-ajax-search-form:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.amw-ajax-search-input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    margin-left: 8px;
    font-size: 16px;
    flex-shrink: 0;
}

.amw-ajax-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 14px;
    color: #1e293b;
    padding: 0;
    margin: 0;
    width: 100%;
}

.amw-ajax-search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.amw-ajax-search-close:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Dropdown Results Panel */
.amw-ajax-search-results-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 100%;
    min-width: 320px;
    max-height: 380px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #f1f5f9;
    padding: 8px 0;
    z-index: 9999;
    display: none;
    box-sizing: border-box;
}

.amw-ajax-search-results-panel.amw-show {
    display: block;
    animation: amwSearchFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes amwSearchFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amw-ajax-search-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 3px 6px;
    border-radius: 8px;
    text-decoration: none !important;
    gap: 12px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    border-bottom: none !important;
}

.amw-ajax-search-item:last-child {
    border-bottom: none !important;
}

.amw-ajax-search-item:hover,
.amw-ajax-search-item.amw-is-selected {
    background-color: #f1f1f1 !important;
}

.amw-ajax-search-item-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

.amw-ajax-search-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amw-ajax-search-item-info {
    flex: 1;
    min-width: 0;
}

.amw-ajax-search-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.amw-ajax-search-item-cat {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.amw-ajax-search-item-price {
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    margin-top: 2px;
}

.amw-ajax-search-empty {
    padding: 18px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.amw-ajax-search-view-all {
    display: block;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    background: #f8fafc;
    text-decoration: none !important;
    border-top: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.amw-ajax-search-view-all:hover {
    background: #f1f5f9;
}

/* Skeleton Loading Animation */
.amw-ajax-search-skeleton {
    padding: 8px 14px;
}

.amw-skeleton-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.amw-skeleton-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: amwSkeletonShimmer 1.5s infinite;
}

.amw-skeleton-text {
    flex: 1;
}

.amw-skeleton-line {
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: amwSkeletonShimmer 1.5s infinite;
    margin-bottom: 6px;
}

.amw-skeleton-line.short {
    width: 40%;
}

.amw-skeleton-line.long {
    width: 80%;
}

@keyframes amwSkeletonShimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
.amw-footer-theme-orange .amw-footer-copyright-bar {
    border-top: 1px solid #ffedd5;
    color: #9a3412;
}

/* ==========================================================================
   AMW_Mini_Cart (سبد خرید کشویی ایجکس) & AMW_Quick_Support (پشتیبانی شناور)
   ========================================================================== */

/* --- AMW_Mini_Cart --- */
.amw-mini-cart-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.amw-mini-cart-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 8px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
}

.amw-mini-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    line-height: 1;
}

.amw-mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.amw-mini-cart-wrapper.amw-is-open .amw-mini-cart-overlay {
    opacity: 1;
    visibility: visible;
}

.amw-mini-cart-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 380px;
    max-width: 90vw;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.amw-pos-left .amw-mini-cart-drawer {
    left: 0;
    transform: translateX(-100%);
}

.amw-pos-right .amw-mini-cart-drawer {
    right: 0;
    transform: translateX(100%);
}

.amw-mini-cart-wrapper.amw-is-open .amw-mini-cart-drawer {
    transform: translateX(0);
}

.amw-mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.amw-mini-cart-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.amw-mini-cart-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.amw-shipping-bar-container {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.amw-shipping-bar-msg {
    font-size: 12.5px;
    margin-bottom: 6px;
}

.amw-shipping-bar-track {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.amw-shipping-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.amw-mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.amw-mini-cart-empty {
    text-align: center;
    padding: 40px 10px;
}

.amw-empty-icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.amw-btn-shop {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
}

.amw-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.amw-cart-item.amw-loading {
    opacity: 0.4;
    pointer-events: none;
}

.amw-item-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.amw-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amw-item-info {
    flex: 1;
}

.amw-item-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.amw-item-title a {
    text-decoration: none !important;
    color: inherit;
}

.amw-item-price {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.amw-item-quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    overflow: hidden;
}

.amw-qty-btn {
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.amw-qty-input {
    width: 30px;
    height: 26px;
    border: none !important;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    background: transparent !important;
}

.amw-item-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
}

.amw-mini-cart-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.amw-mini-cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 16px;
}

.amw-mini-cart-actions {
    display: flex;
    gap: 10px;
}

.amw-mini-cart-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
}

/* 4 Theme Presets for Mini Cart */
.amw-theme-light .amw-mini-cart-trigger { background: #f1f5f9; color: #1e293b; }
.amw-theme-light .amw-mini-cart-badge { background: #3b82f6; color: #ffffff; }
.amw-theme-light .amw-mini-cart-drawer { background: #ffffff; color: #1e293b; }
.amw-theme-light .amw-btn-view-cart { background: #f1f5f9; color: #1e293b; }
.amw-theme-light .amw-btn-checkout { background: #1e293b; color: #ffffff; }
.amw-theme-light .amw-shipping-bar-fill { background: #3b82f6; }
.amw-theme-light .amw-btn-shop { background: #3b82f6; color: #ffffff; }

.amw-theme-dark .amw-mini-cart-trigger { background: #1e293b; color: #f8fafc; }
.amw-theme-dark .amw-mini-cart-badge { background: #3b82f6; color: #ffffff; }
.amw-theme-dark .amw-mini-cart-drawer { background: #0f172a; color: #f8fafc; }
.amw-theme-dark .amw-btn-view-cart { background: #1e293b; color: #f8fafc; }
.amw-theme-dark .amw-btn-checkout { background: #3b82f6; color: #ffffff; }
.amw-theme-dark .amw-shipping-bar-fill { background: #3b82f6; }
.amw-theme-dark .amw-btn-shop { background: #3b82f6; color: #ffffff; }

.amw-theme-navy .amw-mini-cart-trigger { background: #1e293b; color: #e2e8f0; border-color: #334155; }
.amw-theme-navy .amw-mini-cart-badge { background: #0ea5e9; color: #ffffff; }
.amw-theme-navy .amw-mini-cart-drawer { background: #0f172a; color: #e2e8f0; }
.amw-theme-navy .amw-btn-view-cart { background: #1e293b; color: #e2e8f0; }
.amw-theme-navy .amw-btn-checkout { background: #0ea5e9; color: #ffffff; }
.amw-theme-navy .amw-shipping-bar-fill { background: #0ea5e9; }
.amw-theme-navy .amw-btn-shop { background: #0ea5e9; color: #ffffff; }

.amw-theme-orange .amw-mini-cart-trigger { background: #fff7ed; color: #c2410c; }
.amw-theme-orange .amw-mini-cart-badge { background: #ff6b00; color: #ffffff; }
.amw-theme-orange .amw-mini-cart-drawer { background: #ffffff; color: #1c1917; }
.amw-theme-orange .amw-btn-view-cart { background: #fff7ed; color: #c2410c; }
.amw-theme-orange .amw-btn-checkout { background: #ff6b00; color: #ffffff; }
.amw-theme-orange .amw-shipping-bar-fill { background: #ff6b00; }
.amw-theme-orange .amw-btn-shop { background: #ff6b00; color: #ffffff; }


/* --- AMW_Quick_Support --- */
.amw-quick-support-wrapper {
    position: fixed;
    z-index: 999990;
}

.amw-float-bottom-left {
    bottom: 24px;
    left: 24px;
}

.amw-float-bottom-right {
    bottom: 24px;
    right: 24px;
}

.amw-quick-support-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
    position: relative;
}

.amw-quick-support-wrapper.amw-has-pulse .amw-quick-support-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    animation: amwPulse 2s infinite;
}

@keyframes amwPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.amw-quick-support-icon {
    font-size: 22px;
    display: inline-flex;
}

.amw-quick-support-trigger.amw-has-image {
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 50% !important;
}

.amw-quick-support-avatar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.amw-quick-support-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

.amw-agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.amw-quick-support-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 10;
    line-height: 1;
}

.amw-quick-support-tooltip {
    position: absolute;
    bottom: 50%;
    white-space: nowrap;
    background: #1e293b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
    z-index: 10;
}

.amw-float-bottom-left .amw-quick-support-tooltip {
    left: calc(100% + 12px);
    right: auto;
    transform: translateY(50%) translateX(-8px);
}

.amw-float-bottom-left .amw-quick-support-trigger:hover .amw-quick-support-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(50%) translateX(0);
}

.amw-float-bottom-right .amw-quick-support-tooltip {
    right: calc(100% + 12px);
    left: auto;
    transform: translateY(50%) translateX(8px);
}

.amw-float-bottom-right .amw-quick-support-trigger:hover .amw-quick-support-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(50%) translateX(0);
}

.amw-channel-custom-media {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: inline-block;
}

.amw-channel-custom-media.amw-is-svg {
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.amw-quick-support-popover {
    position: absolute;
    bottom: 70px;
    width: 320px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amw-float-bottom-left .amw-quick-support-popover { left: 0; }
.amw-float-bottom-right .amw-quick-support-popover { right: 0; }

.amw-quick-support-wrapper.amw-is-open .amw-quick-support-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.amw-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.amw-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amw-agent-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.amw-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.amw-agent-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.amw-agent-status {
    font-size: 12px;
    opacity: 0.7;
}

.amw-popover-close {
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.6;
}

.amw-popover-body {
    padding: 12px;
}

.amw-channels-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amw-channel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.amw-channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.amw-type-whatsapp .amw-channel-icon { color: #25d366; background: rgba(37, 211, 102, 0.12); }
.amw-type-telegram .amw-channel-icon { color: #0088cc; background: rgba(0, 136, 204, 0.12); }
.amw-type-bale .amw-channel-icon { color: #00a884; background: rgba(0, 168, 132, 0.12); }
.amw-type-phone .amw-channel-icon { color: #3b82f6; background: rgba(59, 130, 246, 0.12); }

.amw-channel-info {
    flex: 1;
}

.amw-channel-title {
    font-size: 13.5px;
    font-weight: 700;
    color: inherit;
}

.amw-channel-subtitle {
    font-size: 11.5px;
    opacity: 0.65;
}

.amw-channel-arrow {
    font-size: 12px;
    opacity: 0.4;
}

/* 4 Theme Presets for Quick Support */
.amw-theme-light .amw-quick-support-trigger { background: #3b82f6; color: #ffffff; }
.amw-theme-light .amw-quick-support-popover { background: #ffffff; color: #1e293b; }
.amw-theme-light .amw-channel-item:hover { background: #f8fafc; }

.amw-theme-dark .amw-quick-support-trigger { background: #3b82f6; color: #ffffff; }
.amw-theme-dark .amw-quick-support-popover { background: #0f172a; color: #f8fafc; }
.amw-theme-dark .amw-channel-item:hover { background: #1e293b; }

.amw-theme-navy .amw-quick-support-trigger { background: #0ea5e9; color: #ffffff; }
.amw-theme-navy .amw-quick-support-popover { background: #0f172a; color: #e2e8f0; }
.amw-theme-navy .amw-channel-item:hover { background: #1e293b; }

.amw-theme-orange .amw-quick-support-trigger { background: #ff6b00; color: #ffffff; }
.amw-theme-orange .amw-quick-support-popover { background: #ffffff; color: #1c1917; }
.amw-theme-orange .amw-channel-item:hover { background: #fff7ed; }

/* --- AMW_Mobile_Bottom_Bar --- */
.amw-mobile-bottom-bar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99995;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amw-mobile-bottom-bar-wrapper.amw-bar-hidden {
    transform: translateY(100%);
}

@media (min-width: 1025px) {
    .amw-mobile-bottom-bar-wrapper.amw-hide-desktop {
        display: none !important;
    }
}

.amw-mobile-bottom-bar {
    height: 64px;
    display: flex;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.amw-bar-items-container {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-around;
}

.amw-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none !important;
    position: relative;
    gap: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.amw-bar-item-icon {
    font-size: 20px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.amw-bar-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.amw-bar-item-title {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.amw-active-dot {
    position: absolute;
    bottom: 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.amw-bar-item.amw-active .amw-active-dot {
    opacity: 1;
    transform: scale(1);
}

/* 4 Theme Presets for Mobile Bottom Bar */
.amw-theme-light .amw-mobile-bottom-bar { background: rgba(255, 255, 255, 0.95); border-top: 1px solid rgba(0, 0, 0, 0.06); }
.amw-theme-light .amw-bar-item { color: #64748b; }
.amw-theme-light .amw-bar-item.amw-active { color: #3b82f6; }
.amw-theme-light .amw-active-dot { background: #3b82f6; }

.amw-theme-dark .amw-mobile-bottom-bar { background: rgba(15, 23, 42, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.amw-theme-dark .amw-bar-item { color: #94a3b8; }
.amw-theme-dark .amw-bar-item.amw-active { color: #3b82f6; }
.amw-theme-dark .amw-active-dot { background: #3b82f6; }

.amw-theme-navy .amw-mobile-bottom-bar { background: rgba(15, 23, 42, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.amw-theme-navy .amw-bar-item { color: #94a3b8; }
.amw-theme-navy .amw-bar-item.amw-active { color: #0ea5e9; }
.amw-theme-navy .amw-active-dot { background: #0ea5e9; }

.amw-theme-orange .amw-mobile-bottom-bar { background: rgba(255, 255, 255, 0.95); border-top: 1px solid rgba(0, 0, 0, 0.06); }
.amw-theme-orange .amw-bar-item { color: #78716c; }
.amw-theme-orange .amw-bar-item.amw-active { color: #ff6b00; }
.amw-theme-orange .amw-active-dot { background: #ff6b00; }

/* --- Automatic Stacking for Sticky Action Bar & Mobile Bottom Bar --- */
@media (max-width: 1024px) {
    body:has(.amw-mobile-bottom-bar-wrapper:not(.amw-bar-hidden)) .amw-sab-wrapper:not(.amw-sab-pos-top_fixed),
    body:has(.amw-mobile-bottom-bar-wrapper:not(.amw-bar-hidden)) .elementor-widget-amw_sticky_action_bar:not(.amw-sab-pos-top_fixed),
    .amw-sticky-action-bar-stacked:not(.amw-sab-pos-top_fixed),
    .amw-sab-wrapper.amw-sticky-action-bar-stacked:not(.amw-sab-pos-top_fixed) {
        bottom: 64px !important;
        z-index: 99990 !important;
        transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    body:has(.amw-mobile-bottom-bar-wrapper.amw-bar-hidden) .amw-sab-wrapper:not(.amw-sab-pos-top_fixed),
    body:has(.amw-mobile-bottom-bar-wrapper.amw-bar-hidden) .elementor-widget-amw_sticky_action_bar:not(.amw-sab-pos-top_fixed) {
        bottom: 0 !important;
        z-index: 99990 !important;
        transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
}
