/* ==========================================================================
   asocode — استایل اصلی قالب
   رنگ‌ها، فونت و اندازه‌ها از theme.json می‌آیند و در «ویرایشگر سایت ← سبک‌ها» قابل تغییرند.
   ========================================================================== */

:root {
    --aso-navy-deep: var(--wp--preset--color--navy-deep, #070c1d);
    --aso-navy: var(--wp--preset--color--navy, #0b1228);
    --aso-navy-soft: var(--wp--preset--color--navy-soft, #121b3a);
    --aso-blue: var(--wp--preset--color--blue, #2f5bff);
    --aso-cyan: var(--wp--preset--color--cyan, #22c8f5);
    --aso-teal: var(--wp--preset--color--teal, #14b8a6);
    --aso-ink: var(--wp--preset--color--ink, #0b1228);
    --aso-ink-soft: var(--wp--preset--color--ink-soft, #3a4463);
    --aso-muted: var(--wp--preset--color--muted, #6b7491);
    --aso-line: var(--wp--preset--color--line, #e4e8f2);
    --aso-surface: var(--wp--preset--color--surface, #ffffff);
    --aso-surface-alt: var(--wp--preset--color--surface-alt, #f5f7fc);
    --aso-on-dark: var(--wp--preset--color--on-dark, #eef2ff);
    --aso-on-dark-muted: var(--wp--preset--color--on-dark-muted, #9aa5c9);
    --aso-grad: var(--wp--preset--gradient--brand, linear-gradient(135deg, #22c8f5, #2f5bff));
    --aso-grad-soft: var(--wp--preset--gradient--brand-soft, linear-gradient(135deg, rgba(34, 200, 245, .14), rgba(47, 91, 255, .14)));
    --aso-line-dark: rgba(255, 255, 255, .09);
    --aso-radius: var(--wp--custom--radius, 18px);
    --aso-radius-sm: var(--wp--custom--radius-sm, 12px);
    --aso-shadow: var(--wp--preset--shadow--soft);
    --aso-shadow-lg: var(--wp--preset--shadow--deep);
    --aso-ease: cubic-bezier(.2, .8, .2, 1);
    --aso-header-h: 76px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

.aso-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.aso-latin,
.aso-chips {
    direction: ltr;
    unicode-bidi: isolate;
}

/* متن گرادیانی: هم به‌عنوان سبک بلوک تیتر، هم برای <span class="aso-grad"> داخل متن */
.aso-grad,
.is-style-aso-gradient {
    background: var(--aso-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

/* ==========================================================================
   دکمه‌ها
   ========================================================================== */

.wp-element-button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .55);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(47, 91, 255, .75);
    text-decoration: none;
}

.wp-block-button.is-style-aso-ghost .wp-block-button__link {
    color: var(--aso-on-dark);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.wp-block-button.is-style-aso-ghost .wp-block-button__link:hover {
    background: rgba(255, 255, 255, .12);
}

.wp-block-button.is-style-aso-outline .wp-block-button__link {
    color: var(--aso-ink);
    background: var(--aso-surface);
    box-shadow: inset 0 0 0 1.5px var(--aso-line);
}

.wp-block-button.is-style-aso-outline .wp-block-button__link:hover {
    color: var(--aso-blue);
    box-shadow: inset 0 0 0 1.5px var(--aso-blue);
}

.wp-block-button.is-style-aso-white .wp-block-button__link {
    color: var(--aso-blue);
    background: #fff;
    box-shadow: 0 12px 30px -10px rgba(7, 12, 29, .5);
}

/* ==========================================================================
   سبک‌های بلوک
   ========================================================================== */

.is-style-aso-eyebrow {
    display: inline-block;
    width: fit-content;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
    color: var(--aso-blue);
    background: var(--aso-grad-soft);
}

.aso-dark .is-style-aso-eyebrow,
.has-night-gradient-background .is-style-aso-eyebrow,
.has-navy-deep-background-color .is-style-aso-eyebrow {
    color: var(--aso-cyan);
    background: rgba(34, 200, 245, .12);
}

.is-style-aso-lead {
    font-size: var(--wp--preset--font-size--medium);
    color: var(--aso-muted);
}

.has-night-gradient-background .is-style-aso-lead,
.aso-dark .is-style-aso-lead {
    color: var(--aso-on-dark-muted);
}

.wp-block-group.is-style-aso-card,
.wp-block-group.is-style-aso-card-dark {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--aso-radius);
    background-color: var(--aso-surface);
    border: 1px solid var(--aso-line);
    transition: transform .3s var(--aso-ease), box-shadow .3s ease, border-color .3s ease;
}

.wp-block-group.is-style-aso-card:hover,
.wp-block-group.is-style-aso-card-dark:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--aso-shadow);
}

.wp-block-group.is-style-aso-card-dark {
    color: var(--aso-on-dark);
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(34, 200, 245, .2), transparent 60%),
        var(--aso-navy);
    border-color: var(--aso-navy-soft);
}

.wp-block-group.is-style-aso-card-dark p {
    color: var(--aso-on-dark-muted);
}

.wp-block-group.is-style-aso-panel {
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background: var(--aso-grad-soft), var(--aso-surface);
    border: 1px solid var(--aso-line);
}

.is-style-aso-card h3,
.is-style-aso-card-dark h3 {
    margin-top: 18px;
    font-size: 19px;
}

.is-style-aso-card p,
.is-style-aso-card-dark p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--aso-muted);
}

ul.is-style-aso-check,
ul.is-style-aso-check-card {
    display: grid;
    gap: 10px;
    padding: 0;
    list-style: none;
}

ul.is-style-aso-check li,
ul.is-style-aso-check-card li {
    position: relative;
    padding-inline-start: 30px;
}

ul.is-style-aso-check li::before,
ul.is-style-aso-check-card li::before {
    content: "";
    position: absolute;
    top: .45em;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat,
        var(--aso-grad);
}

ul.is-style-aso-check-card {
    gap: 12px;
}

ul.is-style-aso-check-card li {
    padding: 14px 52px 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
}

ul.is-style-aso-check-card li::before {
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
}

.wp-block-image.is-style-aso-shadow img {
    border-radius: var(--aso-radius);
    box-shadow: var(--aso-shadow-lg);
}

/* ==========================================================================
   بلوک آیکون
   ========================================================================== */

.aso-icon {
    --aso-icon-size: 50px;
    display: grid;
    place-items: center;
    width: var(--aso-icon-size);
    height: var(--aso-icon-size);
    border-radius: calc(var(--aso-icon-size) * .28);
    color: var(--aso-blue);
    background: var(--aso-grad-soft);
}

.aso-icon .aso-svg {
    width: 48%;
    height: 48%;
}

.aso-icon.is-solid {
    color: #fff;
    background: var(--aso-grad);
}

.aso-icon.is-dark {
    color: var(--aso-cyan);
    background: rgba(34, 200, 245, .1);
    box-shadow: inset 0 0 0 1px rgba(34, 200, 245, .2);
}

.aso-icon.is-bale {
    color: #fff;
    background: linear-gradient(135deg, #3ccf91, #18a86b);
}

.aso-icon.is-telegram {
    color: #fff;
    background: linear-gradient(135deg, #2aabee, #229ed9);
}

.aso-icon.is-plain {
    background: none !important;
}

.aso-icon.is-plain .aso-svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   سربرگ
   ========================================================================== */

.aso-site-header {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    right: 0;
    left: 0;
    z-index: 100;
}

/* پس‌زمینه روی شبه‌عنصر است تا backdrop-filter منوی کشویی (fixed) را در خودش حبس نکند */
.aso-site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: rgba(7, 12, 29, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--aso-line-dark);
    transition: opacity .3s ease;
    pointer-events: none;
}

.aso-site-header.is-scrolled::before {
    opacity: 1;
}

/* آیکون حساب کاربری کنار همبرگری */
.aso-account-link {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: background-color .25s ease, transform .25s var(--aso-ease), box-shadow .25s ease;
}

.aso-account-link:hover {
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 24px -8px rgba(47, 91, 255, .7);
    transform: translateY(-2px);
    text-decoration: none;
}

.aso-account-link .aso-svg {
    width: 22px;
    height: 22px;
}

.aso-account-link img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
}

.aso-account-link.is-logged-in {
    padding: 2px;
    background: var(--aso-grad);
}

.aso-account-dot {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px var(--aso-navy-deep);
}

/* دکمه‌های پایین منوی کشویی (با اسکریپت اضافه می‌شوند) — فقط وقتی کشو باز است */
.wp-block-navigation__responsive-container:not(.is-menu-open) .aso-drawer-foot {
    display: none !important;
}

.aso-drawer-foot {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
    animation: aso-item-in .5s var(--aso-ease) .45s both;
}

.aso-drawer-foot a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.aso-drawer-foot a:hover {
    text-decoration: none;
}

.aso-drawer-foot .is-primary {
    background: var(--aso-grad);
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .65);
}

.aso-drawer-foot .is-ghost {
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.aso-drawer-foot .aso-svg {
    width: 20px;
    height: 20px;
}

/* در ویرایشگر سربرگ ثابت نیست و زمینه‌ی تیره دارد تا منو خوانا بماند */
.editor-styles-wrapper .aso-site-header {
    position: relative;
    top: 0;
    background: var(--aso-navy-deep);
}

.editor-styles-wrapper .aso-hero {
    padding-top: 90px !important;
}

.aso-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    box-sizing: border-box;
    max-width: calc(var(--wp--style--global--wide-size, 1200px) + 48px);
    height: var(--aso-header-h);
    margin-inline: auto;
    padding-inline: 24px;
}

.aso-header-inner > * {
    margin-block: 0 !important;
}

.aso-site-header .wp-block-site-logo {
    flex: none;
    transition: transform .3s var(--aso-ease);
}

.aso-site-header .wp-block-site-logo:hover {
    transform: scale(1.06) rotate(-4deg);
}

.aso-site-header .wp-block-site-logo img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(47, 91, 255, .45));
}

.aso-site-header .aso-nav {
    flex: 1;
    margin: 0;
}

.aso-site-header .wp-block-buttons {
    flex: none;
    gap: 10px;
    margin: 0;
}

.aso-site-header .wp-block-button__link {
    padding: 10px 18px;
    font-size: 14px;
}

.aso-site-header .aso-btn-login .wp-block-button__link {
    color: var(--aso-on-dark);
    background: none;
    box-shadow: none;
}

.aso-site-header .aso-btn-login .wp-block-button__link:hover {
    background: rgba(255, 255, 255, .08);
    transform: none;
}

.aso-site-header {
    color: var(--aso-on-dark);
}

/* منوی افقی دسکتاپ */
.aso-site-header .aso-nav .wp-block-navigation-item__content {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--aso-on-dark-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color .2s ease, background-color .2s ease;
}

.aso-site-header .aso-nav .wp-block-navigation-item__content:hover,
.aso-site-header .aso-nav .current-menu-item > .wp-block-navigation-item__content {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
}

.aso-nav.wp-block-navigation .wp-block-navigation__container {
    gap: 2px;
}

/* دکمه‌ی همبرگری: سه خط که خط وسط کوتاه‌تر است */
.aso-nav .wp-block-navigation__responsive-container-open {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    transition: background-color .3s ease;
}

.aso-nav .wp-block-navigation__responsive-container-open:hover {
    background: rgba(255, 255, 255, .14);
}

.aso-nav .wp-block-navigation__responsive-container-open svg {
    display: none;
}

.aso-nav .wp-block-navigation__responsive-container-open::before,
.aso-nav .wp-block-navigation__responsive-container-open::after,
.aso-nav .wp-block-navigation__responsive-container-open span {
    content: "";
    position: absolute;
    left: 13px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: width .3s ease, transform .3s ease;
}

.aso-nav .wp-block-navigation__responsive-container-open::before {
    top: 16px;
}

.aso-nav .wp-block-navigation__responsive-container-open::after {
    top: 28px;
}

.aso-nav .wp-block-navigation__responsive-container-open span {
    top: 22px;
    width: 14px;
}

.aso-nav .wp-block-navigation__responsive-container-open:hover span {
    width: 20px;
}

/* کشوی منو */
.aso-nav .wp-block-navigation__responsive-container.is-menu-open {
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    padding: 0;
    color: var(--aso-on-dark);
    background:
        radial-gradient(420px 300px at 100% 0%, rgba(47, 91, 255, .28), transparent 65%),
        radial-gradient(360px 260px at 0% 100%, rgba(34, 200, 245, .16), transparent 65%),
        var(--aso-navy-deep) !important;
    box-shadow: 0 0 0 100vmax rgba(3, 6, 16, .6), -30px 0 80px -20px rgba(0, 0, 0, .6);
    animation: aso-drawer-in .55s var(--aso-ease) both;
}

.aso-nav.is-closing .wp-block-navigation__responsive-container {
    animation: aso-drawer-out .35s cubic-bezier(.7, 0, .8, .4) both;
}

@keyframes aso-drawer-in {
    from {
        transform: translateX(105%);
        box-shadow: 0 0 0 100vmax rgba(3, 6, 16, 0), -30px 0 80px -20px rgba(0, 0, 0, 0);
    }
}

@keyframes aso-drawer-out {
    to {
        transform: translateX(105%);
        box-shadow: 0 0 0 100vmax rgba(3, 6, 16, 0), -30px 0 80px -20px rgba(0, 0, 0, 0);
    }
}

.aso-nav .is-menu-open .wp-block-navigation__responsive-close {
    max-width: none;
    height: 100%;
}

.aso-nav .is-menu-open .wp-block-navigation__responsive-dialog {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 0 !important;
    padding: 96px 20px 28px;
}

.aso-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
    content: "";
    position: absolute;
    top: 22px;
    right: 24px;
    width: 150px;
    height: 32px;
    background: var(--aso-drawer-logo) right center / contain no-repeat;
    animation: aso-fade .5s ease .15s both;
}

.aso-nav .is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: stretch !important;
    gap: 4px !important;
    padding: 0 !important;
}

.aso-nav .is-menu-open .wp-block-navigation__container {
    align-items: stretch !important;
    width: 100%;
    gap: 4px !important;
}

.aso-nav .is-menu-open .wp-block-navigation-item {
    width: 100%;
    animation: aso-item-in .5s var(--aso-ease) both;
}

.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: .12s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .17s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .22s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .27s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .32s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .37s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(7) { animation-delay: .42s; }
.aso-nav .is-menu-open .wp-block-navigation-item:nth-child(n+8) { animation-delay: .47s; }

@keyframes aso-item-in {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
}

@keyframes aso-fade {
    from {
        opacity: 0;
    }
}

.aso-site-header .aso-nav .is-menu-open .wp-block-navigation-item__content {
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 14px 18px !important;
    border-radius: 14px;
    font-size: 17px;
    color: var(--aso-on-dark);
}

.aso-nav .is-menu-open .wp-block-navigation-item__content::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin-inline-end: 14px;
    border-radius: 50%;
    background: var(--aso-grad);
    transform: scale(0);
    transition: transform .25s ease;
}

.aso-nav .is-menu-open .wp-block-navigation-item__content:hover::before {
    transform: scale(1);
}

/* دکمه‌ی بستن: دایره‌ی گرادیانی که با چرخش وارد می‌شود */
.aso-nav .is-menu-open .wp-block-navigation__responsive-container-close {
    top: 16px !important;
    left: 18px !important;
    right: auto !important;
    display: grid !important;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 24px -8px rgba(47, 91, 255, .7);
    animation: aso-close-in .5s var(--aso-ease) .1s both;
}

.aso-nav .is-menu-open .wp-block-navigation__responsive-container-close svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@keyframes aso-close-in {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(.4);
    }
}

/* ==========================================================================
   ساختار عمومی بخش‌ها
   ========================================================================== */

.wp-site-blocks {
    padding-top: 0;
}

.wp-site-blocks > * + * {
    margin-block-start: 0;
}

.aso-section {
    padding-block: var(--wp--preset--spacing--60, 110px);
}

.aso-section-head {
    max-width: 780px;
    margin: 0 auto 56px !important;
    text-align: center;
}

.aso-section-head > * {
    margin-inline: auto;
}

.aso-section-head h2 {
    margin-top: 14px;
}

.aso-section-head > p:last-child:not(.is-style-aso-eyebrow) {
    margin-top: 16px;
    font-size: 17px;
    color: var(--aso-muted);
}

.has-night-gradient-background .aso-section-head > p:last-child:not(.is-style-aso-eyebrow) {
    color: var(--aso-on-dark-muted);
}

.aso-section-head.is-start {
    margin: 0 0 20px !important;
    text-align: right;
}

.aso-section-head.is-start > * {
    margin-inline: 0;
}

/* شبکه‌ها (حاشیه‌ی بالای فرزندان که چیدمان «جریان» وردپرس اضافه می‌کند حذف می‌شود) */
.aso-numbers > *,
.aso-bento > *,
.aso-steps > *,
.aso-pricing > *,
.aso-support > *,
.aso-faq > *,
.aso-footer-grid > *,
.aso-privacy > * {
    margin-block: 0 !important;
}

/* ==========================================================================
   قهرمان (Hero)
   ========================================================================== */

.aso-hero {
    position: relative;
    overflow: hidden;
    padding-top: 150px !important;
    padding-bottom: 120px !important;
}

.aso-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
    pointer-events: none;
}

.aso-hero > * {
    position: relative;
}

.aso-hero .wp-block-columns {
    gap: 56px;
}

.aso-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 6px 8px 6px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--aso-on-dark);
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.aso-badge b,
.aso-badge strong {
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
    background: var(--aso-grad);
}

.aso-hero h1 {
    margin-top: 24px;
}

.aso-hero .is-style-aso-lead {
    max-width: 540px;
    margin-top: 22px;
}

.aso-hero .wp-block-buttons {
    margin-top: 36px;
}

.aso-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 34px !important;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--aso-on-dark-muted);
}

.aso-hero-points li {
    position: relative;
    padding-inline-start: 26px;
}

.aso-hero-points li::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c8f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   ماکت داشبورد
   ========================================================================== */

.aso-mock-wrap {
    position: relative;
}

.aso-mock {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    color: var(--aso-ink);
    box-shadow: var(--aso-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
    transform: perspective(1600px) rotateY(6deg) rotateX(3deg);
    transform-origin: left center;
    transition: transform .8s var(--aso-ease);
}

.aso-mock-wrap:hover .aso-mock {
    transform: perspective(1600px) rotateY(2deg) rotateX(1deg);
}

.aso-mock-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 14px;
    background: #eef1f8;
    direction: ltr;
}

.aso-mock-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d3d8e6;
}

.aso-mock-bar span {
    flex: 1;
    max-width: 260px;
    height: 20px;
    margin-inline: auto;
    border-radius: 6px;
    background: #fff;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    color: var(--aso-muted);
}

.aso-mock-body {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 360px;
}

.aso-mock-side {
    padding: 16px 12px;
    background: #10294a;
    color: #c9d5ea;
    font-size: 12px;
}

.aso-mock-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-weight: 800;
    color: #fff;
}

.aso-mock-logo .aso-svg {
    width: 22px;
    height: 22px;
    color: #2dd4bf;
}

.aso-mock-side ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aso-mock-side li {
    padding: 6px 10px;
    margin-bottom: 2px;
    border-radius: 8px;
}

.aso-mock-side li.on {
    color: #fff;
    background: rgba(20, 184, 166, .25);
}

.aso-mock-main {
    padding: 16px;
    background: #f6f8fc;
}

.aso-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
}

.aso-mock-head small {
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 500;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--aso-line);
    color: var(--aso-ink-soft);
}

.aso-mock-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.aso-mock-stat {
    padding: 9px 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--aso-line);
}

.aso-mock-stat span {
    display: block;
    font-size: 10px;
    color: var(--aso-muted);
}

.aso-mock-stat b {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    white-space: nowrap;
}

.aso-mock-stat em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    color: #0e9f6e;
}

.aso-mock-chart {
    padding: 10px 10px 4px;
    border-radius: 10px;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--aso-line);
}

.aso-mock-chart svg {
    display: block;
    width: 100%;
    height: auto;
}

.aso-mock-months {
    display: flex;
    justify-content: space-between;
    padding: 2px 4px 0;
    font-size: 9.5px;
    color: var(--aso-muted);
}

.aso-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .97);
    color: var(--aso-ink);
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 20px 50px -12px rgba(7, 12, 29, .5);
    animation: aso-float 6s ease-in-out infinite;
}

.aso-float b {
    display: block;
    font-size: 13px;
}

.aso-float small {
    display: block;
    font-size: 11.5px;
    color: var(--aso-muted);
}

.aso-float-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #fff;
}

.aso-float-icon .aso-svg {
    width: 20px;
    height: 20px;
}

.aso-float-msg {
    bottom: -28px;
    right: -18px;
    max-width: 290px;
}

.aso-float-msg .aso-float-icon {
    background: linear-gradient(135deg, #2aabee, #229ed9);
}

.aso-float-cal {
    top: 54px;
    left: -26px;
    animation-delay: -3s;
}

.aso-float-cal .aso-float-icon {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

@keyframes aso-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   کارت‌های عدد
   ========================================================================== */

.aso-numbers-wrap {
    position: relative;
    z-index: 2;
    margin-top: -56px !important;
}

.aso-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.aso-number {
    padding: 26px 24px;
    border-radius: var(--aso-radius);
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    box-shadow: var(--aso-shadow);
}

.aso-number > * {
    margin: 0 !important;
}

.aso-number-value {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
}

.aso-number p:last-child {
    font-size: 14px;
    color: var(--aso-muted);
}

/* ==========================================================================
   نوار سازگاری
   ========================================================================== */

.aso-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 36px;
    padding-block: 34px;
    border-bottom: 1px solid var(--aso-line);
}

.aso-logos > * {
    margin: 0 !important;
}

.aso-logos > p:first-child {
    font-size: 14px;
    color: var(--aso-muted);
}

.aso-logos ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 30px;
    padding: 0;
    list-style: none;
    direction: ltr;
}

.aso-logos li {
    font-weight: 800;
    font-size: 17px;
    color: #9aa3bd;
    transition: color .2s ease;
}

.aso-logos li:hover {
    color: var(--aso-ink);
}

/* ==========================================================================
   شبکه‌ی امکانات (Bento)
   ========================================================================== */

.aso-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.aso-bento > * {
    grid-column: span 2;
}

.aso-bento > .aso-span-3 {
    grid-column: span 3;
}

.aso-bento > .aso-span-4 {
    grid-column: span 4;
}

.aso-bento > .aso-span-6 {
    grid-column: span 6;
}

.aso-live {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 90px;
    margin-top: 26px;
}

.aso-live i {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: var(--aso-grad);
    opacity: .85;
    transform-origin: bottom;
    animation: aso-bar 2.4s ease-in-out infinite;
}

.aso-live i:nth-child(2n) { animation-delay: -.6s; }
.aso-live i:nth-child(3n) { animation-delay: -1.2s; }
.aso-live i:nth-child(5n) { animation-delay: -1.8s; }

@keyframes aso-bar {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(.55);
    }
}

.aso-live-dot {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 20px !important;
    font-size: 14px !important;
    color: var(--aso-on-dark) !important;
}

.aso-live-dot::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    animation: aso-pulse 1.8s infinite;
}

@keyframes aso-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .6);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }
}

.aso-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px !important;
}

.aso-chips span {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--aso-ink-soft);
    background: var(--aso-surface-alt);
    border: 1px solid var(--aso-line);
}

/* ==========================================================================
   بخش ویژه‌ی ایران
   ========================================================================== */

.aso-feature {
    display: flex;
    gap: 18px;
    padding-block: 22px;
    border-bottom: 1px solid var(--aso-line-dark);
}

.aso-feature:last-child {
    border-bottom: 0;
}

.aso-feature > * {
    margin: 0 !important;
}

.aso-feature .aso-icon {
    flex: none;
}

.aso-feature h3 {
    font-size: 18px;
}

.aso-feature p {
    margin-top: 4px !important;
    font-size: 15px;
    color: var(--aso-on-dark-muted);
}

.aso-feature-list {
    margin-top: 0 !important;
}

.aso-feature-list > * {
    margin-block-start: 0 !important;
}

/* گوشی */
.aso-phone {
    position: relative;
    width: 320px;
    max-width: 100%;
    margin-inline: auto;
    padding: 14px;
    border-radius: 42px;
    background: #1a2140;
    box-shadow: var(--aso-shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.aso-phone-screen {
    overflow: hidden;
    border-radius: 30px;
    background: #e9eef4;
}

.aso-phone-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    color: var(--aso-ink);
    border-bottom: 1px solid #e3e8ef;
}

.aso-phone-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: #0f766e;
}

.aso-phone-avatar .aso-svg {
    width: 20px;
    height: 20px;
}

.aso-phone-top b {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.aso-phone-top small {
    font-size: 11px;
    color: var(--aso-muted);
}

.aso-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 12px 22px;
}

.aso-bubble {
    max-width: 92%;
    padding: 10px 13px;
    border-radius: 16px 16px 16px 4px;
    background: #fff;
    color: var(--aso-ink);
    font-size: 12.5px;
    line-height: 1.9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
}

.aso-bubble b {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
}

.aso-bubble .up {
    font-weight: 700;
    color: #0e9f6e;
}

.aso-bubble .warn {
    font-weight: 700;
    color: #d97706;
}

.aso-bubble time {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    text-align: left;
    color: var(--aso-muted);
}

/* پیام‌ها یکی‌یکی ظاهر می‌شوند */
.aso-phone.is-visible .aso-bubble {
    animation: aso-bubble-in .6s var(--aso-ease) both;
}

.aso-phone.is-visible .aso-bubble:nth-child(2) { animation-delay: .5s; }
.aso-phone.is-visible .aso-bubble:nth-child(3) { animation-delay: 1s; }
.aso-phone.is-visible .aso-bubble:nth-child(n+4) { animation-delay: 1.5s; }

@keyframes aso-bubble-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.96);
    }
}

/* ==========================================================================
   قدم‌ها
   ========================================================================== */

.aso-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    counter-reset: aso-step;
}

.aso-step {
    position: relative;
    padding: 30px;
    border-radius: var(--aso-radius);
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
}

.aso-step::before {
    counter-increment: aso-step;
    content: counter(aso-step, persian);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    background: var(--aso-grad);
}

.aso-step > * {
    margin-block: 0 !important;
}

.aso-step h3 {
    font-size: 18px;
}

.aso-step p {
    margin-top: 6px !important;
    font-size: 15px;
    color: var(--aso-muted);
}

/* ==========================================================================
   حریم خصوصی
   ========================================================================== */

.aso-privacy {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
}

.aso-privacy h2 {
    margin-top: 14px;
    font-size: clamp(26px, 3vw, 36px);
}

.aso-privacy p:not(.is-style-aso-eyebrow) {
    margin-top: 14px;
    color: var(--aso-ink-soft);
}

/* ==========================================================================
   قیمت‌ها
   ========================================================================== */

.aso-pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.aso-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
    border-radius: var(--aso-radius);
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    transition: transform .3s var(--aso-ease), box-shadow .3s ease;
}

.aso-plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--aso-shadow);
}

.aso-plan > * {
    margin-block: 0 !important;
}

.aso-plan h3 {
    font-size: 20px;
}

.aso-plan h3 + p {
    margin-top: 6px !important;
    font-size: 14px;
    color: var(--aso-muted);
}

.aso-price {
    margin: 24px 0 !important;
    font-size: 30px;
    font-weight: 900;
}

.aso-price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--aso-muted);
}

.aso-plan ul {
    margin-bottom: 30px !important;
    font-size: 15px;
}

.aso-plan .wp-block-buttons {
    margin-top: auto !important;
}

.aso-plan .wp-block-button,
.aso-plan .wp-block-button__link {
    width: 100%;
}

.aso-plan.is-featured {
    color: var(--aso-on-dark);
    background:
        radial-gradient(400px 260px at 100% 0%, rgba(34, 200, 245, .22), transparent 60%),
        var(--aso-navy);
    border-color: var(--aso-navy-soft);
    box-shadow: var(--aso-shadow-lg);
}

.aso-plan.is-featured h3 + p,
.aso-plan.is-featured .aso-price small {
    color: var(--aso-on-dark-muted);
}

.aso-plan-tag {
    position: absolute;
    top: -13px;
    right: 30px;
    padding: 3px 14px;
    border-radius: 999px;
    font-size: 12px !important;
    font-weight: 700;
    color: #fff;
    background: var(--aso-grad);
}

.aso-notice {
    max-width: 640px;
    margin: 30px auto 0 !important;
    text-align: center;
    font-size: 14px;
    color: var(--aso-muted);
}

/* ==========================================================================
   سؤالات متداول (بلوک «جزئیات»)
   ========================================================================== */

.aso-faq {
    max-width: 820px;
    margin-inline: auto;
}

.wp-block-details.is-style-aso-faq {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px !important;
    padding: 0;
    border-radius: var(--aso-radius);
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    transition: border-color .3s ease, box-shadow .4s ease;
}

.wp-block-details.is-style-aso-faq::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 4px;
    background: var(--aso-grad);
    transform: scaleY(0);
    transition: transform .45s var(--aso-ease);
}

.wp-block-details.is-style-aso-faq:hover {
    border-color: #cfd6ea;
}

.wp-block-details.is-style-aso-faq.is-open {
    border-color: transparent;
    box-shadow: var(--aso-shadow);
}

.wp-block-details.is-style-aso-faq.is-open::before {
    transform: scaleY(1);
}

.wp-block-details.is-style-aso-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: color .25s ease;
}

.wp-block-details.is-style-aso-faq summary::-webkit-details-marker {
    display: none;
}

.wp-block-details.is-style-aso-faq.is-open summary {
    color: var(--aso-blue);
}

.wp-block-details.is-style-aso-faq summary::after {
    content: "";
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--aso-blue);
    background:
        linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
        var(--aso-grad-soft);
    transition: transform .45s var(--aso-ease);
}

.wp-block-details.is-style-aso-faq.is-open summary::after {
    transform: rotate(135deg);
    color: #fff;
    background:
        linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat,
        var(--aso-grad);
}

.wp-block-details.is-style-aso-faq > :not(summary) {
    margin: 0 !important;
    padding: 0 26px 24px;
    color: var(--aso-ink-soft);
}

.js .wp-block-details.is-style-aso-faq > :not(summary) {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .35s ease, transform .45s var(--aso-ease);
}

.js .wp-block-details.is-style-aso-faq.is-open > :not(summary) {
    opacity: 1;
    transform: none;
    transition-delay: .08s;
}

/* ==========================================================================
   پشتیبانی
   ========================================================================== */

.aso-support {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.aso-support > * {
    text-align: center;
}

.aso-support .aso-icon {
    margin-inline: auto;
}

.aso-support-link {
    margin-top: 10px !important;
    font-weight: 700;
    direction: ltr;
}

.aso-support-link a {
    color: var(--aso-blue);
}

/* اطلاعات تماس (برگه‌ی تماس) */
.aso-contact-value {
    margin-top: 10px !important;
    font-weight: 700;
    color: var(--wp--preset--color--ink, inherit);
}

.aso-contact-phone {
    unicode-bidi: plaintext;
}

.aso-contact-phone a {
    color: var(--aso-blue);
}

/* ==========================================================================
   فراخوان پایانی
   ========================================================================== */

.aso-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 64px) !important;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(500px 300px at 0% 100%, rgba(255, 255, 255, .18), transparent 60%),
        var(--aso-grad);
}

.aso-cta h2 {
    color: #fff;
}

.aso-cta p {
    max-width: 560px;
    margin: 14px auto 0 !important;
    font-size: 17px;
    opacity: .9;
}

.aso-cta .wp-block-buttons {
    justify-content: center;
    margin-top: 30px !important;
}

/* ==========================================================================
   سربرگ صفحه‌های داخلی
   ========================================================================== */

.aso-page-hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--aso-header-h) + 70px) !important;
    padding-bottom: 70px !important;
    text-align: center;
}

.aso-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%);
    pointer-events: none;
}

.aso-page-hero > * {
    position: relative;
}

.aso-page-hero .wp-block-post-title {
    font-size: var(--wp--preset--font-size--x-large);
}

.aso-page-content {
    padding-block: 70px 110px;
}

.wp-block-query-title + .aso-blog-title {
    display: none;
}

.aso-post-cats,
.aso-post-date {
    font-size: 14px;
    color: var(--aso-on-dark-muted);
}

.aso-post-cats a {
    color: var(--aso-cyan);
}

.aso-posts .aso-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 0 24px;
}

.aso-post-card > * {
    margin-inline: 24px !important;
}

.aso-post-card > .wp-block-post-featured-image {
    margin: 0 0 6px !important;
}

.aso-post-card .wp-block-post-title {
    font-size: 19px;
}

.aso-post-card .wp-block-post-title a {
    color: var(--aso-ink);
}

.aso-post-card .wp-block-post-date {
    margin-top: auto !important;
    font-size: 13px;
    color: var(--aso-muted);
}

.aso-404-code {
    font-size: clamp(80px, 16vw, 160px);
    font-weight: 900;
    line-height: 1;
}

/* ==========================================================================
   راهنما و مستندات
   ساختار: گروه aso-docs ← گروه aso-docs-toc (فهرست) + گروه aso-docs-body (متن)
   ========================================================================== */

.aso-docs {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.aso-docs > * {
    margin-block: 0 !important;
}

.aso-docs-toc {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--aso-header-h) + 20px);
    max-height: calc(100vh - var(--aso-header-h) - 60px);
    overflow-y: auto;
    padding: 20px;
    border-radius: 20px;
    background: var(--aso-surface-alt);
    border: 1px solid var(--aso-line);
    scrollbar-width: thin;
}

.aso-docs-search {
    width: 100%;
    margin-bottom: 14px;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid var(--aso-line);
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7491' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") left 12px center / 18px no-repeat,
        var(--aso-surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.aso-docs-search:focus {
    outline: 0;
    border-color: var(--aso-blue);
    box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

.aso-docs-toc h4 {
    margin: 18px 0 6px !important;
    font-size: 13px;
    color: var(--aso-muted);
}

.aso-docs-toc h4:first-of-type {
    margin-top: 4px !important;
}

.aso-docs-toc ul {
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.aso-docs-toc li {
    margin: 0;
}

.aso-docs-toc a {
    position: relative;
    display: block;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--aso-ink-soft);
    transition: color .2s ease, background-color .2s ease;
}

.aso-docs-toc a:hover {
    color: var(--aso-blue);
    background: var(--aso-surface);
    text-decoration: none;
}

.aso-docs-toc a.is-active {
    color: var(--aso-blue);
    font-weight: 700;
    background: var(--aso-surface);
    box-shadow: inset -3px 0 0 var(--aso-blue);
}

.aso-docs-toc li.is-hidden,
.aso-docs-toc h4.is-hidden {
    display: none;
}

.aso-docs-body > h2 {
    margin-top: 56px !important;
    padding-bottom: 12px;
    font-size: 28px;
    border-bottom: 1px solid var(--aso-line);
}

.aso-docs-body > h2:first-child {
    margin-top: 0 !important;
}

.aso-docs-body > h3 {
    position: relative;
    margin-top: 40px !important;
    font-size: 20px;
}

.aso-docs-body > h3::before {
    content: "#";
    position: absolute;
    right: -24px;
    color: var(--aso-cyan);
    opacity: 0;
    transition: opacity .2s ease;
}

.aso-docs-body > h3:hover::before {
    opacity: 1;
}

.aso-docs-body > h3:target,
.aso-docs-body > h3.is-flash {
    animation: aso-flash 1.6s ease;
}

@keyframes aso-flash {
    0%, 30% {
        color: var(--aso-blue);
    }
}

.aso-docs-body p,
.aso-docs-body li {
    color: var(--aso-ink-soft);
}

.aso-docs-body ul,
.aso-docs-body ol {
    padding-inline-start: 22px;
}

.aso-docs-body li {
    margin-bottom: 6px;
}

.aso-docs-body li::marker {
    color: var(--aso-blue);
}

.aso-docs-body code {
    padding: 2px 7px;
    border-radius: 6px;
    font-size: .88em;
    background: var(--aso-surface-alt);
    border: 1px solid var(--aso-line);
}

.aso-docs-body .wp-block-code {
    padding: 18px 20px;
    border: 0;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.9;
    direction: ltr;
    text-align: left;
    color: #dbe4ff;
    background: var(--aso-navy);
    overflow-x: auto;
}

.aso-docs-body .wp-block-code code {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    white-space: pre;
}

.aso-docs-body .is-hidden {
    display: none !important;
}

.aso-docs-empty {
    display: none;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: var(--aso-muted);
    background: var(--aso-surface-alt);
}

.aso-docs-empty.is-visible {
    display: block;
}

/* ==========================================================================
   پاورقی
   ========================================================================== */

/* فقط بالا و پایین؛ فاصله‌ی چپ و راست را «فاصله‌ی سراسری» وردپرس می‌دهد */
.aso-footer {
    padding-block: 64px 28px !important;
    padding-inline: max(var(--wp--style--root--padding-left, 24px), 24px) !important;
    color: var(--aso-on-dark-muted);
    font-size: 15px;
}

.aso-footer a {
    color: var(--aso-on-dark-muted);
    transition: color .2s ease;
}

.aso-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.aso-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) auto;
    gap: 32px 40px;
}

.aso-footer-grid h4 {
    margin-bottom: 16px !important;
    font-size: 15px;
    color: var(--aso-on-dark);
}

.aso-footer-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aso-footer-grid li {
    margin-bottom: 10px;
}

.aso-footer-grid .wp-block-image {
    margin: 0;
}

.aso-footer-grid .wp-block-image img {
    width: auto;
    max-width: 100%;
    height: 34px;
}

.aso-footer-about p {
    max-width: 320px;
    margin-top: 16px !important;
    line-height: 1.9;
}

.aso-trust {
    display: flex;
    gap: 12px;
}

/* شبکه‌های اجتماعی: با hover، رنگ اصلی هر شبکه */
.aso-social {
    margin-top: 22px !important;
}

.aso-social-title {
    margin: 0 0 12px !important;
    font-size: 14px;
    color: var(--aso-on-dark);
}

.aso-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aso-social-list li {
    margin: 0 !important;
}

.aso-social-list a {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--aso-on-dark-muted);
    background: rgba(255, 255, 255, .05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    transition: color .25s ease, background-color .25s ease, transform .3s var(--aso-ease), box-shadow .3s ease;
}

.aso-social-list svg {
    width: 21px;
    height: 21px;
}

.aso-social-list a:hover,
.aso-social-list a:focus-visible {
    color: #fff;
    background: var(--aso-brand);
    box-shadow: 0 12px 26px -8px var(--aso-brand), inset 0 0 0 1px rgba(255, 255, 255, .15);
    transform: translateY(-4px) scale(1.06);
}

.aso-social-list .aso-social-instagram:hover,
.aso-social-list .aso-social-instagram:focus-visible {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.aso-social-list .aso-social-x:hover,
.aso-social-list .aso-social-github:hover {
    background: #fff;
    color: #0b1228;
}

/* تصویر نماد در قاب بماند (اندازه‌ی ثابت، تا وقتی دیر می‌رسد چیدمان جابه‌جا نشود) */
.aso-trust-slot img {
    display: block;
    width: 80px;
    height: auto;
    max-height: 96px;
    object-fit: contain;
}

.aso-trust-slot {
    display: grid;
    place-items: center;
    width: 96px;
    height: 110px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    background: rgba(255, 255, 255, .04);
    border: 1px dashed rgba(255, 255, 255, .18);
}

.aso-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 48px !important;
    padding-top: 26px;
    border-top: 1px solid var(--aso-line-dark);
    font-size: 14px;
}

.aso-footer-bottom > * {
    margin: 0 !important;
}

/* ==========================================================================
   پنل کاربری
   ========================================================================== */

.aso-account {
    --aso-acc-gap: 24px;
}

/* --- ورود و ثبت‌نام --- */

.aso-auth {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    overflow: hidden;
    max-width: 980px;
    margin-inline: auto;
    border-radius: 28px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    box-shadow: var(--aso-shadow);
}

.aso-auth-side {
    position: relative;
    padding: 44px 40px;
    color: var(--aso-on-dark);
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(34, 200, 245, .25), transparent 60%),
        radial-gradient(400px 300px at 0% 100%, rgba(47, 91, 255, .3), transparent 60%),
        var(--aso-navy-deep);
}

.aso-auth-side img {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
}

.aso-auth-side h2 {
    font-size: 26px;
    color: #fff;
}

.aso-auth-side p {
    margin-top: 10px;
    color: var(--aso-on-dark-muted);
}

.aso-auth-side ul {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.aso-auth-side li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.aso-auth-side li .aso-svg {
    flex: none;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 10px;
    color: var(--aso-cyan);
    background: rgba(34, 200, 245, .1);
}

.aso-auth-main {
    padding: 44px 40px;
}

.aso-auth-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 28px;
    padding: 5px;
    border-radius: 14px;
    background: var(--aso-surface-alt);
}

.aso-auth-tabs button {
    position: relative;
    z-index: 1;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    color: var(--aso-muted);
    background: none;
    cursor: pointer;
    transition: color .3s ease;
}

.aso-auth-tabs button.is-active {
    color: var(--aso-ink);
}

.aso-auth-tabs-ink {
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: 5px;
    width: calc(50% - 5px);
    border-radius: 10px;
    background: var(--aso-surface);
    box-shadow: 0 4px 14px -4px rgba(11, 18, 40, .18);
    transition: transform .45s var(--aso-ease);
}

.aso-auth-tabs.is-register .aso-auth-tabs-ink {
    transform: translateX(-100%);
}

.aso-auth-pane.is-active {
    animation: aso-pane-in .5s var(--aso-ease) both;
}

/* فرم‌ها (ورود وردپرس، ثبت‌نام و ویرایش حساب EDD) */
.aso-account form p,
.aso-account fieldset p {
    margin: 0 0 16px;
}

.aso-account fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.aso-account legend {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 800;
}

.aso-account label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aso-ink-soft);
}

.aso-account input[type="text"],
.aso-account input[type="email"],
.aso-account input[type="password"],
.aso-account input[type="tel"],
.aso-account select,
.aso-account textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--aso-line);
    border-radius: 12px;
    font: inherit;
    color: var(--aso-ink);
    background: var(--aso-surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.aso-account input:focus,
.aso-account select:focus,
.aso-account textarea:focus {
    outline: 0;
    border-color: var(--aso-blue);
    box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

.aso-account .login-remember label,
.aso-account input[type="checkbox"] + label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.aso-account input[type="submit"],
.aso-account button[type="submit"],
.aso-account .edd-submit,
.aso-account .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 160px;
    padding: 13px 28px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .55);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.aso-account input[type="submit"]:hover,
.aso-account button[type="submit"]:hover,
.aso-account .edd-submit:hover {
    transform: translateY(-2px);
}

.aso-auth .login-submit input {
    width: 100%;
}

.aso-auth-forgot {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
}

/* --- پنل داخلی --- */

.aso-acc {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: var(--aso-acc-gap);
    align-items: start;
}

.aso-acc-side {
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--aso-header-h) + 20px);
    padding: 22px 16px;
    border-radius: 24px;
    color: var(--aso-on-dark);
    background:
        radial-gradient(300px 220px at 100% 0%, rgba(47, 91, 255, .3), transparent 65%),
        var(--aso-navy-deep);
    box-shadow: var(--aso-shadow-lg);
}

.aso-acc-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 20px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--aso-line-dark);
}

.aso-acc-user img {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    box-shadow: 0 0 0 3px rgba(34, 200, 245, .35);
}

.aso-acc-user b {
    display: block;
    line-height: 1.5;
}

.aso-acc-user small {
    display: block;
    overflow: hidden;
    max-width: 170px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--aso-on-dark-muted);
    direction: ltr;
    text-align: right;
}

.aso-acc-nav {
    position: relative;
    display: grid;
    gap: 4px;
}

.aso-acc-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
    color: var(--aso-on-dark-muted);
    transition: color .25s ease, background-color .25s ease;
}

.aso-acc-nav a .aso-svg {
    flex: none;
    width: 20px;
    height: 20px;
    transition: transform .3s var(--aso-ease);
}

.aso-acc-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
}

.aso-acc-nav a:hover .aso-svg {
    transform: scale(1.12);
}

.aso-acc-nav a.is-active {
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 24px -10px rgba(47, 91, 255, .8);
}

.aso-acc-nav .aso-acc-logout {
    margin-top: 12px;
    color: #fca5a5;
}

.aso-acc-nav .aso-acc-logout:hover {
    color: #fff;
    background: rgba(239, 68, 68, .2);
}

.aso-acc-main {
    min-width: 0;
}

.aso-acc-pane {
    animation: aso-pane-in .5s var(--aso-ease) both;
}

@keyframes aso-pane-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

.aso-acc-pane-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.aso-acc-pane-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: #fff;
    background: var(--aso-grad);
}

.aso-acc-pane-icon .aso-svg {
    width: 26px;
    height: 26px;
}

.aso-acc-pane-head h2 {
    font-size: 24px;
}

.aso-acc-pane-head p {
    margin: 2px 0 0;
    color: var(--aso-muted);
}

.aso-acc-pane-body {
    padding: 28px;
    border-radius: 24px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
}

.aso-acc-pane[data-aso-pane="dashboard"] .aso-acc-pane-body {
    padding: 0;
    background: none;
    border: 0;
}

.aso-acc-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(400px 260px at 0% 100%, rgba(255, 255, 255, .2), transparent 60%),
        var(--aso-grad);
}

.aso-acc-welcome::after {
    content: "";
    position: absolute;
    top: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, .1);
    pointer-events: none;
}

.aso-acc-welcome h2 {
    font-size: 26px;
    color: #fff;
}

.aso-acc-welcome p {
    margin: 6px 0 0;
    opacity: .9;
}

.aso-acc-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--aso-blue);
    background: #fff;
    box-shadow: 0 12px 30px -10px rgba(7, 12, 29, .45);
    transition: transform .2s ease;
}

.aso-acc-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.aso-acc-btn .aso-svg {
    width: 18px;
    height: 18px;
}

.aso-acc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: var(--aso-acc-gap);
}

.aso-acc-stat {
    position: relative;
    padding: 22px;
    border-radius: 20px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    transition: transform .3s var(--aso-ease), box-shadow .3s ease;
}

.aso-acc-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--aso-shadow);
}

.aso-acc-stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 13px;
    color: var(--aso-blue);
    background: var(--aso-grad-soft);
}

.aso-acc-stat-icon .aso-svg {
    width: 22px;
    height: 22px;
}

.aso-acc-stat b {
    display: block;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.4;
}

.aso-acc-stat > span:last-child {
    font-size: 14px;
    color: var(--aso-muted);
}

.aso-acc-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    margin-top: var(--aso-acc-gap);
}

.aso-acc-box {
    padding: 26px;
    border-radius: 20px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
}

.aso-acc-box h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.aso-acc-box-dark {
    color: var(--aso-on-dark);
    background:
        radial-gradient(300px 200px at 100% 0%, rgba(34, 200, 245, .2), transparent 60%),
        var(--aso-navy);
    border-color: var(--aso-navy-soft);
}

.aso-acc-box-dark h3 {
    color: #fff;
}

.aso-acc-empty {
    padding: 20px 0;
    text-align: center;
    color: var(--aso-muted);
}

.aso-acc-empty .aso-svg {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    color: #c3cadf;
}

.aso-acc-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}

.aso-acc-orders {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aso-acc-orders li {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--aso-line);
    font-size: 14px;
}

.aso-acc-orders em {
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
}

.aso-acc-orders em.is-complete {
    color: #047857;
    background: #d1fae5;
}

.aso-acc-quick {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aso-acc-quick a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--aso-on-dark);
    background: rgba(255, 255, 255, .05);
    transition: background-color .25s ease, transform .25s var(--aso-ease);
}

.aso-acc-quick a:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateX(-4px);
    text-decoration: none;
}

.aso-acc-quick .aso-svg {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--aso-cyan);
}

/* جدول‌های EDD داخل پنل */
.aso-account table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.aso-account th {
    padding: 12px;
    text-align: right;
    font-weight: 700;
    color: var(--aso-muted);
    background: var(--aso-surface-alt);
}

.aso-account th:first-child {
    border-radius: 0 12px 12px 0;
}

.aso-account th:last-child {
    border-radius: 12px 0 0 12px;
}

.aso-account td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--aso-line);
}

.aso-account .edd-no-purchases,
.aso-account .edd_errors,
.aso-account .edd-alert {
    padding: 16px 20px;
    border-radius: 14px;
    background: var(--aso-surface-alt);
}

/* ==========================================================================
   پنل: فرم‌ها، پیام‌ها و لایسنس‌ها (ووکامرس)
   ========================================================================== */

.aso-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 800;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .55);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.aso-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(47, 91, 255, .75);
}

.aso-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.aso-account .aso-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 500;
}

.aso-form-hint {
    font-size: 13px;
    color: var(--aso-muted);
}

/* ثبت‌نام: موبایل و ایمیل، رمز و تکرار آن کنار هم */
.aso-reg-contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
}

.aso-reg-contact input {
    box-sizing: border-box;
    min-width: 0;
}

.aso-account .aso-register .aso-form-hint {
    margin-top: -8px;
}

.aso-account .aso-register .aso-check {
    align-items: flex-start;
    line-height: 1.8;
}

.aso-account .aso-register .aso-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--aso-blue);
}

@media (max-width: 480px) {
    .aso-reg-contact {
        grid-template-columns: 1fr;
    }
}

/* پیام‌های ووکامرس (خطا، موفقیت، اطلاع) */
.aso-notices:empty {
    display: none;
}

.aso-notices ul,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner {
    margin: 0 0 20px !important;
    padding: 14px 18px !important;
    border: 0 !important;
    border-radius: 14px;
    list-style: none;
    font-size: 14px;
}

.woocommerce-error,
.wc-block-components-notice-banner.is-error {
    color: #991b1b;
    background: #fee2e2 !important;
}

.woocommerce-message,
.wc-block-components-notice-banner.is-success {
    color: #065f46;
    background: #d1fae5 !important;
}

.woocommerce-info,
.wc-block-components-notice-banner.is-info {
    color: #1e3a8a;
    background: #dbeafe !important;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
    display: none !important;
}

.woocommerce-message .button,
.woocommerce-info .button {
    float: left;
    font-weight: 700;
}

.aso-acc-back {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: var(--aso-ink);
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    transform: scaleX(-1);
}

.aso-acc-back .aso-svg {
    width: 20px;
    height: 20px;
}

.aso-acc-stats.has-4 {
    grid-template-columns: repeat(4, 1fr);
}

a.aso-acc-stat {
    color: inherit;
    text-decoration: none;
}

.aso-acc-orders a {
    font-weight: 700;
}

.aso-acc-orders em.is-completed,
.aso-acc-orders em.is-processing {
    color: #047857;
    background: #d1fae5;
}

.aso-acc-orders em.is-cancelled,
.aso-acc-orders em.is-failed,
.aso-acc-orders em.is-refunded {
    color: #991b1b;
    background: #fee2e2;
}

/* جدول‌ها و فرم‌های ووکامرس داخل پنل */
.aso-account .woocommerce-orders-table,
.aso-account .woocommerce-table--order-downloads,
.aso-account .woocommerce-table--order-details,
.aso-account .shop_table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
}

.aso-account .woocommerce-orders-table .button,
.aso-account .woocommerce-table--order-downloads .button,
.aso-account .woocommerce-pagination .button {
    display: inline-flex;
    margin: 2px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--aso-blue);
    background: var(--aso-grad-soft);
    text-decoration: none;
}

.aso-account .woocommerce-EditAccountForm fieldset {
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--aso-line);
}

.aso-account .woocommerce-EditAccountForm .woocommerce-Button {
    min-width: 200px;
}

.aso-account .woocommerce-form-row--first,
.aso-account .woocommerce-form-row--last {
    width: 100%;
    float: none;
}

.aso-account .woocommerce-customer-details address {
    padding: 16px;
    border-radius: 14px;
    font-style: normal;
    border: 1px solid var(--aso-line);
}

/* کارت‌های لایسنس */
.aso-lic-list {
    display: grid;
    gap: 16px;
}

.aso-lic-card {
    position: relative;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    transition: box-shadow .3s ease, transform .3s var(--aso-ease);
}

.aso-lic-card:hover {
    box-shadow: var(--aso-shadow);
    transform: translateY(-2px);
}

.aso-lic-card::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    right: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: #10b981;
}

.aso-lic-card.is-expired::before {
    background: #f59e0b;
}

.aso-lic-card.is-disabled::before {
    background: #ef4444;
}

.aso-lic-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.aso-lic-head h3 {
    margin: 0;
    font-size: 17px;
}

.aso-lic-head p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--aso-muted);
}

.aso-lic-status {
    flex: none;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #047857;
    background: #d1fae5;
}

.is-expired .aso-lic-status {
    color: #b45309;
    background: #fef3c7;
}

.is-disabled .aso-lic-status {
    color: #b91c1c;
    background: #fee2e2;
}

.aso-lic-key {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    padding: 6px 6px 6px 16px;
    border-radius: 14px;
    background: var(--aso-navy);
}

.aso-lic-key code {
    flex: 1;
    overflow-x: auto;
    padding: 6px 4px;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    white-space: nowrap;
    color: #dbe4ff;
    background: none;
}

.aso-lic-copy {
    flex: none;
    padding: 9px 18px;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: var(--aso-grad);
    cursor: pointer;
    transition: transform .2s ease;
}

.aso-lic-copy:hover {
    transform: translateY(-1px);
}

.aso-lic-copy.is-done {
    background: #10b981;
}

.aso-lic-usage-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--aso-muted);
}

.aso-lic-usage-text b {
    color: var(--aso-ink);
}

.aso-lic-bar {
    height: 8px;
    margin-top: 8px;
    border-radius: 8px;
    background: var(--aso-surface-alt);
    overflow: hidden;
}

.aso-lic-bar i {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: var(--aso-grad);
}

.aso-lic-sites {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.aso-lic-sites li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--aso-line);
    font-size: 14px;
}

.aso-lic-sites form {
    margin: 0;
}

.aso-account .aso-lic-sites button {
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    box-shadow: none;
    padding: 5px 12px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #b91c1c;
    background: #fff;
    cursor: pointer;
}

.aso-account .aso-lic-sites button:hover {
    transform: none;
    background: #fee2e2;
}

.aso-lic-notice,
.aso-lic-empty {
    margin-bottom: 16px;
    padding: 16px 20px;
    border-radius: 14px;
    color: #065f46;
    background: #d1fae5;
}

.aso-lic-empty {
    color: var(--aso-muted);
    background: var(--aso-surface-alt);
}

/* کلیدها در صفحه‌ی تشکر و مشاهده‌ی سفارش */
.aso-lic-order {
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 18px;
    color: var(--aso-on-dark);
    background: radial-gradient(400px 200px at 100% 0%, rgba(34, 200, 245, .2), transparent 60%), var(--aso-navy);
}

.aso-lic-order h2 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #fff;
}

.aso-lic-order ul {
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.aso-lic-order li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--aso-line-dark);
}

.aso-lic-order code {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #9fdcff;
    background: none;
}

.aso-lic-order p {
    margin: 0;
    font-size: 13px;
    color: var(--aso-on-dark-muted);
}

/* ==========================================================================
   صفحه‌های خرید ووکامرس (سبد، تسویه حساب، تشکر)
   ========================================================================== */

.aso-wc-page .aso-page-content .wp-block-post-content {
    max-width: 1100px;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-order {
    padding: 24px;
    border-radius: 20px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
    box-shadow: var(--aso-shadow);
}

/* صفحه‌ای بدون بخش تیره‌ی بالایی: محتوا زیر سربرگ ثابت نرود */
.aso-no-hero .wp-site-blocks > main,
.aso-no-hero .wp-site-blocks > .wp-block-group {
    padding-top: calc(var(--aso-header-h) + 30px);
}

.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading {
    float: none;
    width: 100%;
}

.woocommerce-checkout #order_review_heading {
    margin: 28px 0 14px;
    font-size: 20px;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    float: none;
    width: 100%;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aso-ink-soft);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
    padding: 12px 16px;
    border: 1.5px solid var(--aso-line);
    border-radius: 12px;
    font: inherit;
    background: var(--aso-surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.woocommerce form .form-row input.input-text:focus {
    outline: 0;
    border-color: var(--aso-blue);
    box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

.woocommerce table.shop_table {
    border: 0;
    border-radius: 14px;
    border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 14px 12px;
    border-top: 1px solid var(--aso-line);
}

.woocommerce-checkout #payment {
    border-radius: 16px;
    background: var(--aso-surface-alt);
}

.woocommerce-checkout #payment div.payment_box {
    border-radius: 12px;
    background: var(--aso-surface);
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

.woocommerce #place_order,
.woocommerce .checkout-button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
    width: 100%;
    padding: 16px 28px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .55);
}

.woocommerce #place_order:hover,
.woocommerce button.button.alt:hover {
    background: var(--aso-grad);
    filter: brightness(1.05);
}

.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

.woocommerce-order-overview li {
    margin: 0 !important;
    padding: 14px 16px !important;
    border: 0 !important;
    border-radius: 14px;
    background: var(--aso-surface-alt);
    font-size: 13px !important;
}

.woocommerce-order-overview li strong {
    display: block;
    margin-top: 4px;
    font-size: 15px;
}

.woocommerce-thankyou-order-received {
    padding: 18px 22px;
    border-radius: 16px;
    font-weight: 700;
    color: #065f46;
    background: #d1fae5;
}

/* ==========================================================================
   صفحه‌های فروش EDD (تسویه حساب، رسید، تأیید خرید)
   ========================================================================== */

[class*="wp-block-edd-"] {
    --aso-edd-card: var(--aso-surface);
}

.edd-blocks__logged-in {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    color: var(--aso-ink-soft);
    background: var(--aso-grad-soft);
}

.edd-blocks-cart,
.edd-blocks-form fieldset,
.edd-blocks-receipt__items,
.edd-blocks-receipt__totals,
.edd-blocks__confirmation .edd-blocks-order__details {
    margin-bottom: 20px;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--aso-edd-card);
    border: 1px solid var(--aso-line);
    box-shadow: var(--aso-shadow);
}

.edd-blocks-cart__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--aso-line);
}

.edd-blocks-cart__row:last-child {
    border-bottom: 0;
}

.edd-blocks-cart__row-header {
    font-size: 13px;
    font-weight: 700;
    color: var(--aso-muted);
}

.edd-blocks-cart__row-footer {
    font-size: 18px;
    font-weight: 800;
}

.edd-blocks-cart__items .edd-blocks-cart__row {
    font-weight: 600;
}

.edd-blocks-form legend,
.edd-blocks__checkout h3 {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 800;
}

[class*="wp-block-edd-"] label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--aso-ink-soft);
}

[class*="wp-block-edd-"] .edd-description {
    margin-top: 4px;
    font-size: 12px;
    color: var(--aso-muted);
}

[class*="wp-block-edd-"] input[type="text"],
[class*="wp-block-edd-"] input[type="email"],
[class*="wp-block-edd-"] input[type="password"],
[class*="wp-block-edd-"] input[type="tel"],
[class*="wp-block-edd-"] select,
[class*="wp-block-edd-"] textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--aso-line);
    border-radius: 12px;
    font: inherit;
    color: var(--aso-ink);
    background: var(--aso-surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}

[class*="wp-block-edd-"] input:focus,
[class*="wp-block-edd-"] select:focus,
[class*="wp-block-edd-"] textarea:focus {
    outline: 0;
    border-color: var(--aso-blue);
    box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

[class*="wp-block-edd-"] .edd-submit,
[class*="wp-block-edd-"] input[type="submit"],
[class*="wp-block-edd-"] button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 32px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .55);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

[class*="wp-block-edd-"] .edd-submit:hover,
[class*="wp-block-edd-"] input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(47, 91, 255, .75);
}

#edd_purchase_form #edd_purchase_submit #edd-purchase-button {
    width: 100%;
    height: auto;
    padding: 15px 32px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .55);
}

#edd_purchase_form #edd_purchase_submit #edd-purchase-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -8px rgba(47, 91, 255, .75);
}

.edd-blocks-receipt__row-item,
.edd-blocks-receipt__total,
.edd-blocks-order__detail {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--aso-line);
}

.edd-blocks-receipt__row-item:last-child,
.edd-blocks-receipt__total:last-child {
    border-bottom: 0;
}

.edd-blocks-receipt__row-header {
    font-weight: 800;
}

[class*="wp-block-edd-"] .edd-alert,
[class*="wp-block-edd-"] .edd_errors {
    padding: 14px 18px;
    border-radius: 14px;
    border: 0;
    background: #fef3c7;
    color: #92400e;
}

/* ==========================================================================
   نمایش تدریجی هنگام اسکرول (فقط در سایت، نه در ویرایشگر)
   ========================================================================== */

.aso-will-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s var(--aso-ease);
}

.aso-will-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   پنل: تیکت‌ها (افزونه‌ی پشتوان با ظاهر پنل)
   استایل‌های پشتوان انتخابگرهای بلندی دارند؛ همه‌ی قانون‌ها اینجا زیر .aso-tk .mihanticket هستند
   تا بر آن‌ها اولویت داشته باشند.
   ========================================================================== */

.aso-acc-pane[data-aso-pane="tickets"] .aso-acc-pane-body {
    padding: 0;
    background: none;
    border: 0;
}

.aso-tk-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--aso-muted);
}

.aso-tk-hint .aso-svg {
    width: 17px;
    height: 17px;
    color: var(--aso-cyan);
}

.aso-tk-body {
    padding: 26px;
    border-radius: 24px;
    background: var(--aso-surface);
    border: 1px solid var(--aso-line);
}

.aso-tk .mihanticket {
    font: inherit;
    color: var(--aso-ink);
}

.aso-tk .mihanticket *,
.aso-tk .mihanticket *::before,
.aso-tk .mihanticket *::after {
    box-sizing: border-box;
}

/* دکمه‌ها */
.aso-tk .mihanticket .new-ticket .new-ticket-toolbar .open-new-ticket-form,
.aso-tk .mihanticket .new-ticket .form .bottom-toolbar.default-mode .submit-new-ticket,
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .new-reply .submit-reply,
.aso-tk .mihanticket .mihanticket-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 0 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--aso-grad);
    box-shadow: 0 10px 26px -10px rgba(47, 91, 255, .7);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.aso-tk .mihanticket .new-ticket .new-ticket-toolbar .open-new-ticket-form:hover,
.aso-tk .mihanticket .new-ticket .form .bottom-toolbar.default-mode .submit-new-ticket:hover,
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .new-reply .submit-reply:hover {
    transform: translateY(-2px);
}

.aso-tk .mihanticket .new-ticket .new-ticket-toolbar .open-new-ticket-form::before {
    content: "+";
    font-size: 20px;
    font-weight: 400;
}

/* حالت «بستن فرم»: دکمه‌ی ساده، نه قرمز */
.aso-tk .mihanticket .new-ticket .new-ticket-toolbar .open-new-ticket-form.close-mode {
    color: var(--aso-ink);
    background: var(--aso-surface);
    box-shadow: inset 0 0 0 1.5px var(--aso-line);
}

.aso-tk .mihanticket .new-ticket .new-ticket-toolbar .open-new-ticket-form.close-mode::before {
    content: "×";
}

.aso-tk .mihanticket .new-ticket .new-ticket-toolbar {
    margin-bottom: 18px;
}

/* فرم تیکت تازه */
.aso-tk .mihanticket .new-ticket .form {
    width: 100%;
    margin: 0 0 22px;
    padding: 22px;
    border-radius: 20px;
    background: var(--aso-surface-alt);
}

.aso-tk .mihanticket .new-ticket .form p {
    margin: 0 0 16px;
}

.aso-tk .mihanticket .new-ticket .form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--aso-ink);
}

.aso-tk .mihanticket .new-ticket .form input[type="text"],
.aso-tk .mihanticket .new-ticket .form input[type="email"],
.aso-tk .mihanticket .new-ticket .form select,
.aso-tk .mihanticket .new-ticket .form textarea,
.aso-tk .mihanticket .mihanticket-list textarea {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 11px 14px;
    border: 1.5px solid var(--aso-line) !important;
    border-radius: 12px;
    font: inherit;
    font-size: 15px;
    color: var(--aso-ink);
    background: var(--aso-surface);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.aso-tk .mihanticket .new-ticket .form textarea,
.aso-tk .mihanticket .mihanticket-list textarea {
    min-height: 140px;
    line-height: 1.9;
    resize: vertical;
}

.aso-tk .mihanticket .new-ticket .form input:focus,
.aso-tk .mihanticket .new-ticket .form select:focus,
.aso-tk .mihanticket .new-ticket .form textarea:focus,
.aso-tk .mihanticket .mihanticket-list textarea:focus {
    outline: 0;
    border-color: var(--aso-blue) !important;
    box-shadow: 0 0 0 4px rgba(47, 91, 255, .12);
}

.aso-tk .mihanticket .new-ticket .form .bottom-toolbar.default-mode {
    flex-direction: row;
    justify-content: flex-start;
    margin-top: 6px;
}

.aso-tk .mihanticket .new-ticket .form .bottom-toolbar.default-mode .submit-new-ticket {
    min-width: 170px;
    margin: 0;
}

/* انتخاب سفارش (select2) */
.aso-tk .mihanticket .select2-container {
    width: 100% !important;
}

.aso-tk .mihanticket .select2-container .select2-selection--single {
    height: 46px;
    border: 1.5px solid var(--aso-line);
    border-radius: 12px;
    background: var(--aso-surface);
}

.aso-tk .mihanticket .select2-container .select2-selection__rendered {
    padding: 0 14px 0 34px;
    line-height: 43px;
    color: var(--aso-ink);
}

.aso-tk .mihanticket .select2-container .select2-selection__arrow {
    top: 0;
    left: 8px;
    height: 43px;
}

/* پیام بالای فرم و پیام‌های دیگر */
.aso-tk .mihanticket .alert {
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    line-height: 1.9;
    color: var(--aso-ink) !important;
    box-shadow: none !important;
}

.aso-tk .mihanticket .alert.alert-info {
    background: #eef3ff;
    box-shadow: inset -4px 0 0 var(--aso-blue) !important;
}

.aso-tk .mihanticket .alert.alert-warning {
    background: #fff7e6;
    box-shadow: inset -4px 0 0 #f59e0b !important;
}

.aso-tk .mihanticket .alert.alert-danger {
    color: #991b1b !important;
    background: #fee2e2;
}

.aso-tk .mihanticket .alert.alert-light-gray {
    text-align: center;
    color: var(--aso-muted) !important;
    background: var(--aso-surface-alt);
}

/* پیوست */
.aso-tk .mihanticket .file_field {
    margin: 0 0 16px;
    border: 1.5px dashed #c7d0ea;
    border-radius: 14px;
    background: var(--aso-surface);
    transition: border-color .2s ease, background-color .2s ease;
}

.aso-tk .mihanticket .file_field:hover {
    border-color: var(--aso-blue);
    background: #f7f9ff;
}

.aso-tk .mihanticket .file_field label {
    width: 90%;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--aso-muted);
    opacity: 1;
}

.aso-tk .mihanticket .file_field label::before {
    content: "📎 ";
}

.aso-tk .mihanticket .file_field input {
    padding: 22px !important;
    cursor: pointer;
}

.aso-tk .mihanticket .file_field .progress_bar {
    border-radius: 12px;
    background: #d1fae5;
}

/* فهرست تیکت‌ها */
.aso-tk .mihanticket .mihanticket-list > .items > .item {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 12px;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid var(--aso-line);
    background: var(--aso-surface);
    box-shadow: none;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item:hover {
    border-color: #d5ddf3;
    box-shadow: var(--aso-shadow);
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .title {
    font-size: 16px;
    font-weight: 800;
    color: var(--aso-ink);
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .ticket_id {
    font-size: 13px;
    font-weight: 700;
    color: var(--aso-muted);
    direction: ltr;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .status > span {
    float: none;
    margin: 0 !important;
    padding: 0 12px;
    border-radius: 999px !important;
    font-size: 12px;
    line-height: 26px;
    box-shadow: none;
    white-space: nowrap;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .status.pending > span {
    color: #1d4ed8;
    background: #dbeafe;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .status.investigation > span {
    color: #b45309;
    background: #fef3c7;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .status.answered > span {
    color: #047857;
    background: #d1fae5;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .status.closed > span {
    color: var(--aso-muted);
    background: var(--aso-surface-alt);
}

/* هر تیکت باز شده */
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data {
    grid-column: 1 / -1;
    min-height: 0;
    padding-top: 16px;
    border-top: 1px solid var(--aso-line);
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header {
    float: none;
    margin-top: 16px;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header .action-bar {
    flex-direction: row;
    gap: 10px;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header .action-bar .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
    cursor: pointer;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header .action-bar .back-btn {
    color: var(--aso-ink);
    background: var(--aso-surface);
    box-shadow: inset 0 0 0 1.5px var(--aso-line);
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header .action-bar .back-btn::before {
    content: "→ ";
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header .action-bar .solve-btn {
    color: #047857;
    background: #d1fae5;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .ticket-header .meta-data {
    padding: 12px 0 0;
    font-size: 14px;
}

/* پیام‌ها */
.aso-tk .mihanticket .mihanticket-main-content,
.aso-tk .mihanticket .mihanticket-replies {
    gap: 12px;
    align-items: flex-start;
}

.aso-tk .mihanticket .mihanticket-list .user-data {
    flex: none;
    width: 64px;
    max-width: 64px;
    text-align: center;
}

.aso-tk .mihanticket .mihanticket-list .user-data .avatar {
    width: 44px;
    height: 44px;
    margin: 0 auto 4px;
    border-radius: 14px;
    box-shadow: none;
    object-fit: cover;
}

.aso-tk .mihanticket .mihanticket-list .user-data .name {
    font-size: 12px;
    line-height: 1.5;
    color: var(--aso-muted);
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .main-content-value,
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0 0 14px;
    padding: 16px 18px;
    border-radius: 18px 6px 18px 18px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--aso-ink);
    background: #f1f6ff;
    border: 1px solid #dbe6ff;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .main-content-value::after,
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item::before {
    display: none;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content p {
    margin: 0 0 6px;
    font-size: 15px;
}

/* پاسخ پشتیبانی */
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item.other {
    color: #fff;
    background: var(--aso-grad);
    border: 0;
    border-radius: 6px 18px 18px 18px;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item.own p,
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item.own span,
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item.own a {
    color: var(--aso-ink);
}

.aso-tk .mihanticket .mihanticket-list .date {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    opacity: .7;
}

.aso-tk .mihanticket .attachment_file a {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--aso-blue);
    background: var(--aso-surface);
}

.aso-tk .mihanticket .attachment_file a::before {
    content: "📎 ";
}

/* پاسخ تازه */
.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .new-reply {
    align-items: stretch;
    gap: 10px;
    margin-top: 6px;
    padding: 16px;
    border-radius: 18px;
    background: var(--aso-surface-alt);
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .new-reply .file_field {
    margin: 0;
}

.aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .new-reply .submit-reply {
    align-self: flex-start;
    min-width: 150px;
    margin: 0;
}

/* «بیشتر» و پیام پایان فهرست */
.aso-tk .mihanticket .load-more {
    margin-top: 14px;
}

.aso-tk .mihanticket .load-more span {
    width: auto;
    height: auto;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--aso-muted);
}

.aso-tk .mihanticket .load-more span.action {
    font-weight: 700;
    color: var(--aso-blue);
    background: var(--aso-grad-soft);
    box-shadow: none;
}

.aso-tk .mihanticket .mihanticket-list > .items .mihanticket-wait {
    font-size: 15px;
    line-height: 3;
    color: var(--aso-muted);
}

/* پیام‌های شناور (ثبت شد، خطا) */
.aso-tk .mihanticket .mihanticket-alerts-wrapper {
    left: 16px;
    bottom: 16px;
    width: min(360px, calc(100vw - 32px));
}

.aso-tk .mihanticket .mihanticket-alerts-wrapper .alert-item {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
}

.aso-tk .mihanticket .mihanticket-alerts-wrapper .alert-item.success {
    background: #10b981;
    box-shadow: 0 12px 28px -10px rgba(16, 185, 129, .7);
}

.aso-tk .mihanticket .mihanticket-alerts-wrapper .alert-item.error {
    background: #ef4444;
    box-shadow: 0 12px 28px -10px rgba(239, 68, 68, .7);
}

@media (max-width: 781px) {
    .aso-tk-body {
        padding: 16px 12px;
        border-radius: 20px;
    }

    .aso-tk .mihanticket .new-ticket .new-ticket-toolbar .open-new-ticket-form {
        width: 100%;
    }

    .aso-tk .mihanticket .new-ticket .form {
        padding: 16px 12px;
    }

    .aso-tk .mihanticket .mihanticket-list > .items > .item {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 16px;
    }

    .aso-tk .mihanticket .mihanticket-list > .items > .item .title {
        grid-column: 1 / -1;
        font-size: 15px;
    }

    .aso-tk .mihanticket .mihanticket-list .user-data {
        display: none;
    }

    .aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .main-content-value,
    .aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .replies .item {
        border-radius: 18px;
    }

    .aso-tk .mihanticket .mihanticket-list > .items > .item .inner-data .content .new-reply .submit-reply {
        align-self: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .aso-will-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   واکنش‌گرا
   ========================================================================== */

/* زیر ۱۰۸۰ پیکسل منو همبرگری می‌شود (پیش‌فرض وردپرس ۶۰۰ پیکسل است) */
@media (max-width: 1080px) {
    .aso-nav {
        flex: 1;
        justify-content: flex-end;
    }

    .aso-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block !important;
    }

    .aso-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }

    .aso-nav .is-menu-open .wp-block-navigation__responsive-container-close {
        display: grid !important;
    }

    .aso-site-header .aso-btn-login {
        display: none;
    }

    .aso-header-inner {
        gap: 12px;
    }

    /* ترتیب در موبایل و تبلت: لوگو … دکمه‌ی اصلی، آیکون حساب، همبرگری */
    .aso-site-header .wp-block-buttons {
        order: 1;
        margin-inline-start: auto;
    }

    .aso-site-header .aso-account-link {
        order: 2;
    }

    .aso-site-header .aso-nav {
        order: 3;
        flex: none;
    }

    .aso-mock {
        transform: none;
    }

    .aso-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .aso-bento > *,
    .aso-bento > .aso-span-3 {
        grid-column: span 1;
    }

    .aso-bento > .aso-span-4,
    .aso-bento > .aso-span-6 {
        grid-column: span 2;
    }

    .aso-numbers,
    .aso-support {
        grid-template-columns: repeat(2, 1fr);
    }

    .aso-privacy {
        grid-template-columns: 1fr;
    }

    /* پاورقی تبلت: معرفی در ردیف اول، سه ستون پیوند و نماد اعتماد در ردیف دوم */
    .aso-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
        gap: 36px 28px;
    }

    .aso-footer-about {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 14px 32px;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--aso-line-dark);
    }

    .aso-footer-about > * {
        margin: 0 !important;
    }

    .aso-footer-about p {
        flex: 1 1 280px;
        max-width: 460px;
    }

    .aso-docs {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .aso-docs-toc {
        position: static;
        max-height: 340px;
    }

    /* minmax(0, 1fr): منوی افقی زبانه‌ها داخل خودش اسکرول بخورد و ستون را پهن‌تر از صفحه نکند */
    .aso-acc {
        grid-template-columns: minmax(0, 1fr);
    }

    .aso-acc-side {
        position: static;
        min-width: 0;
    }

    .aso-acc-nav {
        display: flex;
        overflow-x: auto;
        gap: 6px;
        scrollbar-width: none;
    }

    .aso-acc-nav a {
        flex: none;
    }

    .aso-acc-nav .aso-acc-logout {
        margin-top: 0;
    }
}

@media (max-width: 781px) {
    .aso-hero {
        padding-top: 112px !important;
        padding-bottom: 96px !important;
    }

    .aso-hero .wp-block-buttons .wp-block-button {
        flex: 1;
    }

    .aso-hero .wp-block-button__link {
        width: 100%;
    }

    .aso-mock-body {
        grid-template-columns: 1fr;
    }

    .aso-mock-side {
        display: none;
    }

    .aso-mock-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .aso-float-cal {
        display: none;
    }

    .aso-float-msg {
        position: relative;
        inset: auto;
        max-width: none;
        margin-top: 14px;
        animation: none;
    }

    .aso-bento,
    .aso-steps,
    .aso-pricing {
        grid-template-columns: 1fr;
    }

    .aso-bento > *,
    .aso-bento > .aso-span-3,
    .aso-bento > .aso-span-4,
    .aso-bento > .aso-span-6 {
        grid-column: span 1;
    }

    .aso-numbers,
    .aso-support {
        gap: 10px;
    }

    .aso-number {
        padding: 18px 16px;
    }

    .aso-number-value {
        font-size: 26px;
    }

    .wp-block-group.is-style-aso-card,
    .wp-block-group.is-style-aso-card-dark,
    .aso-step,
    .aso-plan {
        padding: 24px;
    }

    /* پاورقی موبایل: معرفی وسط‌چین، سه ستون پیوند کنار هم، نماد اعتماد زیرشان */
    .aso-footer {
        padding-block: 44px 22px !important;
        padding-inline: 18px !important;
        font-size: 14px;
        text-align: center;
    }

    .aso-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 12px;
    }

    .aso-footer-about {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        padding-bottom: 26px;
    }

    .aso-footer-about p {
        flex: none;
        max-width: 340px;
    }

    .aso-footer-grid .wp-block-image img {
        height: 30px;
    }

    .aso-social {
        margin-top: 4px !important;
    }

    .aso-social-list {
        justify-content: center;
        gap: 8px;
    }

    .aso-social-list a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .aso-social-list svg {
        width: 19px;
        height: 19px;
    }

    .aso-footer-grid h4 {
        margin-bottom: 10px !important;
        font-size: 14px;
    }

    .aso-footer-grid li {
        margin-bottom: 8px;
        line-height: 1.7;
    }

    .aso-trust {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .aso-trust-slot {
        width: 84px;
        height: 96px;
    }

    .aso-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-top: 30px !important;
        padding-top: 20px;
        font-size: 13px;
        text-align: center;
    }

    .aso-auth {
        grid-template-columns: 1fr;
    }

    .aso-auth-side,
    .aso-auth-main {
        padding: 30px 22px;
    }

    .aso-auth-side ul {
        display: none;
    }

    .aso-acc-stats,
    .aso-acc-stats.has-4 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .aso-acc-stat {
        padding: 16px;
    }

    .aso-acc-stat b {
        font-size: 20px;
    }

    .aso-acc-grid {
        grid-template-columns: 1fr;
    }

    .aso-acc-welcome {
        padding: 24px 20px;
    }

    .aso-acc-welcome h2 {
        font-size: 21px;
    }

    .aso-lic-card {
        padding: 18px 16px;
    }

    .aso-lic-key {
        flex-wrap: wrap;
        padding: 10px;
    }

    .aso-lic-key code {
        width: 100%;
        font-size: 13px;
        text-align: center;
    }

    .aso-lic-copy {
        width: 100%;
    }

    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce-order {
        padding: 18px 14px;
    }

    .aso-account .woocommerce-orders-table thead {
        display: none;
    }

    .aso-account .woocommerce-orders-table tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--aso-line);
    }

    .aso-account .woocommerce-orders-table td {
        display: flex;
        justify-content: space-between;
        padding: 6px 4px;
        border: 0;
    }

    .aso-account .woocommerce-orders-table td::before {
        content: attr(data-title);
        font-weight: 700;
        color: var(--aso-muted);
    }

    .aso-acc-pane-body {
        padding: 18px;
        overflow-x: auto;
    }

    .aso-acc-orders li {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 600px) {
    .aso-site-header .wp-block-buttons {
        display: none;
    }

    .aso-site-header .aso-account-link {
        margin-inline-start: auto;
    }
}
